author | tille <tille> | 2003-01-09 13:56:54 (UTC) |
---|---|---|
committer | tille <tille> | 2003-01-09 13:56:54 (UTC) |
commit | da7a12b48efb1ff37d1316d77f52123778a403a4 (patch) (unidiff) | |
tree | 9122c888663a54e78c830410851289ceed0ea676 /noncore/apps/odict/odict.h | |
parent | b83656c4faa3556a753b7b8642aef1264e8404f3 (diff) | |
download | opie-da7a12b48efb1ff37d1316d77f52123778a403a4.zip opie-da7a12b48efb1ff37d1316d77f52123778a403a4.tar.gz opie-da7a12b48efb1ff37d1316d77f52123778a403a4.tar.bz2 |
commit for carsten
-rw-r--r-- | noncore/apps/odict/odict.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/odict/odict.h b/noncore/apps/odict/odict.h index 5096c5e..b20c165 100644 --- a/noncore/apps/odict/odict.h +++ b/noncore/apps/odict/odict.h | |||
@@ -1,66 +1,66 @@ | |||
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 QVBox; | 12 | class QVBox; |
13 | class QPopupMenu; | 13 | class QPopupMenu; |
14 | class QMenuBar; | 14 | class QMenuBar; |
15 | class QHBox; | 15 | class QHBox; |
16 | class QPushButton; | 16 | class QPushButton; |
17 | class QLineEdit; | 17 | class QLineEdit; |
18 | class QAction; | 18 | class QAction; |
19 | class QVBoxLayout; | 19 | class QVBoxLayout; |
20 | class QActionGroup; | 20 | class QActionGroup; |
21 | class DingWidget; | 21 | class DingWidget; |
22 | class QTextBrowser; | 22 | class QTextBrowser; |
23 | class QComboBox; | 23 | class QComboBox; |
24 | class DingWidget; | ||
24 | 25 | ||
25 | class ODict : public QMainWindow | 26 | class ODict : public QMainWindow |
26 | { | 27 | { |
27 | Q_OBJECT | 28 | Q_OBJECT |
28 | 29 | ||
29 | public: | 30 | public: |
30 | ODict(); | 31 | ODict(); |
31 | QVBox *vbox; | 32 | QVBox *vbox; |
32 | QTextBrowser *browser_top, | 33 | QTextBrowser *browser_top, |
33 | *browser_bottom; | 34 | *browser_bottom; |
35 | DingWidget *ding; | ||
34 | 36 | ||
35 | private: | 37 | private: |
36 | QPopupMenu *help, *settings, *parameter, *error_tol_menu; | 38 | QPopupMenu *help, *settings, *parameter, *error_tol_menu; |
37 | QMenuBar *menu; | 39 | QMenuBar *menu; |
38 | QHBox *hbox; | 40 | QHBox *hbox; |
39 | QLineEdit *query_le; | 41 | QLineEdit *query_le; |
40 | QComboBox *query_co; | 42 | QComboBox *query_co; |
41 | QPushButton *ok_button; | 43 | QPushButton *ok_button; |
42 | 44 | ||
43 | QVBoxLayout *vbox_layout; | 45 | QVBoxLayout *vbox_layout; |
44 | 46 | ||
45 | QAction *setting_a, *setting_b; | 47 | QAction *setting_a, *setting_b; |
46 | |||
47 | DingWidget *ding; | ||
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(); | 60 | void slotDisplayAbout(); |
61 | void slotStartQuery(); | 61 | void slotStartQuery(); |
62 | void slotSetErrorcount( int ); | 62 | void slotSetErrorcount( int ); |
63 | void slotSettings(); | 63 | void slotSettings(); |
64 | void slotSetParameter( int ); | 64 | void slotSetParameter( int ); |
65 | void slotMethodChanged( int ); | 65 | void slotMethodChanged( int ); |
66 | }; | 66 | }; |