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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/noncore/apps/opie-gutenbrowser/SearchDialog.cpp b/noncore/apps/opie-gutenbrowser/SearchDialog.cpp
index d989304..055ffee 100644
--- a/noncore/apps/opie-gutenbrowser/SearchDialog.cpp
+++ b/noncore/apps/opie-gutenbrowser/SearchDialog.cpp
@@ -21,26 +21,26 @@
/*This is just a single text entry dialog */
SearchDialog::SearchDialog( QWidget* parent, const char* name, bool modal, WFlags fl )
: QDialog( parent, name, modal, fl )
{
if ( !name )
setName( "SearchDialog" );
Config cfg("Gutenbrowser");
cfg.setGroup("General");
QString lastSearch=cfg.readEntry("LastSearch","");
#warning FIXME
// FIXME
- resize( 220,100);
-
+ resize( 220,110);
+
QGridLayout *layout = new QGridLayout( this );
layout->setSpacing( 2);
layout->setMargin( 2);
QString local_library = (QDir::homeDirPath ()) +"/Applications/gutenbrowser/";
TextLabel1 = new QLabel( this, "TextLabel1" );
layout->addMultiCellWidget( TextLabel1, 0, 0, 0, 1);
label1Str= "<P>Enter text to search etext for </P>" ;
TextLabel1->setText( tr( label1Str) );
SearchLineEdit = new QLineEdit( this, "SearchLineEdit" );
@@ -89,46 +89,46 @@ bool SearchDialog::get_direction() {
bool SearchDialog::case_sensitive() {
return true;
}
bool SearchDialog::forward_search() {
return true;
}
void SearchDialog::byeBye()
{
searchString = get_text();
-// odebug << "Search string is "+searchString << oendl;
+// 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();
-// odebug << "Search string is "+searchString << oendl;
+// 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)
{