-rw-r--r-- | noncore/apps/odict/odict.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/noncore/apps/odict/odict.h b/noncore/apps/odict/odict.h index 3065feb..b9a0778 100644 --- a/noncore/apps/odict/odict.h +++ b/noncore/apps/odict/odict.h | |||
@@ -1,23 +1,24 @@ | |||
1 | /*************************************************************************** | 1 | /*************************************************************************** |
2 | * * | 2 | * * |
3 | * This program is free software; you can redistribute it and/or modify * | 3 | * This program is free software; you can redistribute it and/or modify * |
4 | * it under the terms of the GNU General Public License as published by * | 4 | * it under the terms of the GNU General Public License as published by * |
5 | * the Free Software Foundation; either version 2 of the License, or * | 5 | * the Free Software Foundation; either version 2 of the License, or * |
6 | * ( at your option ) any later version. * | 6 | * ( at your option ) any later version. * |
7 | * * | 7 | * * |
8 | **************************************************************************/ | 8 | **************************************************************************/ |
9 | 9 | ||
10 | #include <qmainwindow.h> | 10 | #include <qmainwindow.h> |
11 | 11 | ||
12 | class QLabel; | ||
12 | class QVBox; | 13 | class QVBox; |
13 | class QPopupMenu; | 14 | class QPopupMenu; |
14 | class QMenuBar; | 15 | class QMenuBar; |
15 | class QHBox; | 16 | class QHBox; |
16 | class QPushButton; | 17 | class QPushButton; |
17 | class QLineEdit; | 18 | class QLineEdit; |
18 | class QAction; | 19 | class QAction; |
19 | class QVBoxLayout; | 20 | class QVBoxLayout; |
20 | class QActionGroup; | 21 | class QActionGroup; |
21 | class DingWidget; | 22 | class DingWidget; |
22 | class QTextBrowser; | 23 | class QTextBrowser; |
23 | class QComboBox; | 24 | class QComboBox; |
@@ -46,20 +47,22 @@ class ODict : public QMainWindow | |||
46 | 47 | ||
47 | QAction *setting_a, *setting_b; | 48 | QAction *setting_a, *setting_b; |
48 | 49 | ||
49 | void setupMenus(); | 50 | void setupMenus(); |
50 | 51 | ||
51 | int errorTol; | 52 | int errorTol; |
52 | bool casesens, completewords, regexp; | 53 | bool casesens, completewords, regexp; |
53 | 54 | ||
54 | void loadConfig(); | 55 | void loadConfig(); |
55 | void saveConfig(); | 56 | void saveConfig(); |
56 | 57 | ||
57 | QString activated_name; | 58 | QString activated_name; |
59 | QLabel *bottom_name, | ||
60 | *top_name; | ||
58 | 61 | ||
59 | private slots: | 62 | private slots: |
60 | void slotStartQuery(); | 63 | void slotStartQuery(); |
61 | void slotSetErrorcount( int ); | 64 | void slotSetErrorcount( int ); |
62 | void slotSettings(); | 65 | void slotSettings(); |
63 | void slotSetParameter( int ); | 66 | void slotSetParameter( int ); |
64 | void slotMethodChanged( int ); | 67 | void slotMethodChanged( const QString& ); |
65 | }; | 68 | }; |