Switch to side-by-side view
--- a/src/qtgui/ssearch_w.cpp +++ b/src/qtgui/ssearch_w.cpp @@ -191,9 +191,15 @@ RefCntr<Rcl::SearchData> rsdata(sdata); emit startSearch(rsdata); } + void SSearch::setSearchString(const QString& txt) { queryText->setEditText(txt); +} + +bool SSearch::hasSearchString() +{ + return !queryText->lineEdit()->text().isEmpty(); } void SSearch::setAnyTermMode()