summaryrefslogtreecommitdiff
path: root/noncore/apps/opie-gutenbrowser/SearchDialog.cpp
Side-by-side diff
Diffstat (limited to 'noncore/apps/opie-gutenbrowser/SearchDialog.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/opie-gutenbrowser/SearchDialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/opie-gutenbrowser/SearchDialog.cpp b/noncore/apps/opie-gutenbrowser/SearchDialog.cpp
index 4ddb3f0..d989304 100644
--- a/noncore/apps/opie-gutenbrowser/SearchDialog.cpp
+++ b/noncore/apps/opie-gutenbrowser/SearchDialog.cpp
@@ -77,60 +77,60 @@ SearchDialog::SearchDialog( QWidget* parent, const char* name, bool modal, WFla
SearchDialog::~SearchDialog()
{
}
QString SearchDialog::get_text() {
return SearchLineEdit->text();
}
bool SearchDialog::get_direction() {
return false; //search forward
}
bool SearchDialog::case_sensitive() {
return true;
}
bool SearchDialog::forward_search() {
return true;
}
void SearchDialog::byeBye()
{
searchString = get_text();
-// qDebug("Search string is "+searchString);
+// odebug << "Search string is "+searchString << oendl;
Config cfg("Gutenbrowser");
cfg.setGroup("General");
cfg.writeEntry("LastSearch",searchString);
QString thisName=name();
if( thisName.find("Library Search", 0, TRUE) != -1) {
// searchString = SearchLineEdit->text();
accept();
} else {
buttonOk->setDown(TRUE);
emit search_signal();
buttonOk->setDown(FALSE);
}
}
void SearchDialog::closed()
{
searchString = get_text();
-// qDebug("Search string is "+searchString);
+// odebug << "Search string is "+searchString << oendl;
Config cfg("Gutenbrowser");
cfg.setGroup("General");
cfg.writeEntry("LastSearch",searchString);
emit search_done_signal();
//this->reject();
this->hide();
}
void SearchDialog::setLabel(QString labelText)
{
TextLabel1->setText( tr( label1Str+labelText) );
}