summaryrefslogtreecommitdiff
path: root/noncore/apps/odict/odict.h
Unidiff
Diffstat (limited to 'noncore/apps/odict/odict.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/odict/odict.h4
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
12class QVBox; 12class QVBox;
13class QPopupMenu; 13class QPopupMenu;
14class QMenuBar; 14class QMenuBar;
15class QHBox; 15class QHBox;
16class QPushButton; 16class QPushButton;
17class QLineEdit; 17class QLineEdit;
18class QAction; 18class QAction;
19class QVBoxLayout; 19class QVBoxLayout;
20class QActionGroup; 20class QActionGroup;
21class DingWidget; 21class DingWidget;
22class QTextBrowser; 22class QTextBrowser;
23class QComboBox; 23class QComboBox;
24class DingWidget;
24 25
25class ODict : public QMainWindow 26class 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};