summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/odict/odict.cpp5
-rw-r--r--noncore/apps/odict/odict.h1
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
@@ -80,37 +80,32 @@ void ODict::loadConfig()
query_co->insertItem( cfg.readEntry( "Name" ) );
}
slotMethodChanged(1 ); //FIXME: this line should not contain a integer
}
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 {
ding->setCaseSensitive( casesens );
ding->setCompleteWord( completewords );
ding->setDict( activated_name );
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
@@ -44,23 +44,22 @@ class ODict : public QMainWindow
QVBoxLayout *vbox_layout;
QAction *setting_a, *setting_b;
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 );
};