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.h5
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
12class QLabel;
12class QVBox; 13class QVBox;
13class QPopupMenu; 14class QPopupMenu;
14class QMenuBar; 15class QMenuBar;
15class QHBox; 16class QHBox;
16class QPushButton; 17class QPushButton;
17class QLineEdit; 18class QLineEdit;
18class QAction; 19class QAction;
19class QVBoxLayout; 20class QVBoxLayout;
20class QActionGroup; 21class QActionGroup;
21class DingWidget; 22class DingWidget;
22class QTextBrowser; 23class QTextBrowser;
23class QComboBox; 24class 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};