-rw-r--r-- | noncore/apps/odict/odict.cpp | 5 | ||||
-rw-r--r-- | noncore/apps/odict/odict.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/noncore/apps/odict/odict.cpp b/noncore/apps/odict/odict.cpp index 78c3f90..c4114f7 100644 --- a/noncore/apps/odict/odict.cpp +++ b/noncore/apps/odict/odict.cpp @@ -84,29 +84,24 @@ void ODict::loadConfig() void ODict::saveConfig() { Config cfg ( "odict" ); cfg.setGroup( "generalsettings" ); cfg.writeEntry( "errtol" , errorTol ); cfg.writeEntry( "casesens" , casesens ); cfg.writeEntry( "regexp" , regexp ); cfg.writeEntry( "completewords" , completewords ); } -void ODict::slotDisplayAbout() -{ - QMessageBox::about( this, tr( "About ODict" ), tr( "OPIE-Dictionary ODict \n (c) 2002, 2003 Carsten Niehaus \n cniehaus@handhelds.org \n Version 20030111" ) ); -} - void ODict::slotStartQuery() { QString querystring = query_le->text(); //X qDebug("opening dict >%s< for >%s<", activated_name.latin1(),querystring.latin1()); //X if (querystring.isEmpty()){ //X qWarning("empty querystring"); //X return; //X } //X if (!activated_name || activated_name.isEmpty()) //X QMessageBox::warning(this,tr("No Dictionary"),tr("Please choose a dictonary") ); //X else //X { diff --git a/noncore/apps/odict/odict.h b/noncore/apps/odict/odict.h index b20c165..3065feb 100644 --- a/noncore/apps/odict/odict.h +++ b/noncore/apps/odict/odict.h @@ -48,19 +48,18 @@ class ODict : public QMainWindow void setupMenus(); int errorTol; bool casesens, completewords, regexp; void loadConfig(); void saveConfig(); QString activated_name; private slots: - void slotDisplayAbout(); void slotStartQuery(); void slotSetErrorcount( int ); void slotSettings(); void slotSetParameter( int ); void slotMethodChanged( int ); }; |