author | cniehaus <cniehaus> | 2003-03-23 16:05:26 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2003-03-23 16:05:26 (UTC) |
commit | d2a2f5ee260e80a166b070872cefdd35e0b0b3cd (patch) (unidiff) | |
tree | 37b422856b9be9586ee7882739d6fb7c11153a34 | |
parent | 9c539b9626f0a3ffca47e9b1247cb727539b46c6 (diff) | |
download | opie-d2a2f5ee260e80a166b070872cefdd35e0b0b3cd.zip opie-d2a2f5ee260e80a166b070872cefdd35e0b0b3cd.tar.gz opie-d2a2f5ee260e80a166b070872cefdd35e0b0b3cd.tar.bz2 |
remove the aboutbox
-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() | |||
84 | 84 | ||
85 | 85 | ||
86 | void ODict::saveConfig() | 86 | void ODict::saveConfig() |
87 | { | 87 | { |
88 | Config cfg ( "odict" ); | 88 | Config cfg ( "odict" ); |
89 | cfg.setGroup( "generalsettings" ); | 89 | cfg.setGroup( "generalsettings" ); |
90 | cfg.writeEntry( "errtol" , errorTol ); | 90 | cfg.writeEntry( "errtol" , errorTol ); |
91 | cfg.writeEntry( "casesens" , casesens ); | 91 | cfg.writeEntry( "casesens" , casesens ); |
92 | cfg.writeEntry( "regexp" , regexp ); | 92 | cfg.writeEntry( "regexp" , regexp ); |
93 | cfg.writeEntry( "completewords" , completewords ); | 93 | cfg.writeEntry( "completewords" , completewords ); |
94 | } | 94 | } |
95 | 95 | ||
96 | void ODict::slotDisplayAbout() | ||
97 | { | ||
98 | QMessageBox::about( this, tr( "About ODict" ), tr( "OPIE-Dictionary ODict \n (c) 2002, 2003 Carsten Niehaus \n cniehaus@handhelds.org \n Version 20030111" ) ); | ||
99 | } | ||
100 | |||
101 | void ODict::slotStartQuery() | 96 | void ODict::slotStartQuery() |
102 | { | 97 | { |
103 | QString querystring = query_le->text(); | 98 | QString querystring = query_le->text(); |
104 | //X qDebug("opening dict >%s< for >%s<", activated_name.latin1(),querystring.latin1()); | 99 | //X qDebug("opening dict >%s< for >%s<", activated_name.latin1(),querystring.latin1()); |
105 | //X if (querystring.isEmpty()){ | 100 | //X if (querystring.isEmpty()){ |
106 | //X qWarning("empty querystring"); | 101 | //X qWarning("empty querystring"); |
107 | //X return; | 102 | //X return; |
108 | //X } | 103 | //X } |
109 | //X if (!activated_name || activated_name.isEmpty()) | 104 | //X if (!activated_name || activated_name.isEmpty()) |
110 | //X QMessageBox::warning(this,tr("No Dictionary"),tr("Please choose a dictonary") ); | 105 | //X QMessageBox::warning(this,tr("No Dictionary"),tr("Please choose a dictonary") ); |
111 | //X else | 106 | //X else |
112 | //X { | 107 | //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 | |||
48 | 48 | ||
49 | void setupMenus(); | 49 | void setupMenus(); |
50 | 50 | ||
51 | int errorTol; | 51 | int errorTol; |
52 | bool casesens, completewords, regexp; | 52 | bool casesens, completewords, regexp; |
53 | 53 | ||
54 | void loadConfig(); | 54 | void loadConfig(); |
55 | void saveConfig(); | 55 | void saveConfig(); |
56 | 56 | ||
57 | QString activated_name; | 57 | QString activated_name; |
58 | 58 | ||
59 | private slots: | 59 | private slots: |
60 | void slotDisplayAbout(); | ||
61 | void slotStartQuery(); | 60 | void slotStartQuery(); |
62 | void slotSetErrorcount( int ); | 61 | void slotSetErrorcount( int ); |
63 | void slotSettings(); | 62 | void slotSettings(); |
64 | void slotSetParameter( int ); | 63 | void slotSetParameter( int ); |
65 | void slotMethodChanged( int ); | 64 | void slotMethodChanged( int ); |
66 | }; | 65 | }; |