Diffstat (limited to 'noncore/apps/odict/dingwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/odict/dingwidget.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/noncore/apps/odict/dingwidget.h b/noncore/apps/odict/dingwidget.h index dbb55e2..9163a43 100644 --- a/noncore/apps/odict/dingwidget.h +++ b/noncore/apps/odict/dingwidget.h | |||
@@ -3,48 +3,47 @@ | |||
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 <qstringlist.h> | 10 | #include <qstringlist.h> |
11 | #include <qstring.h> | 11 | #include <qstring.h> |
12 | 12 | ||
13 | struct BroswerContent | 13 | struct BroswerContent |
14 | { | 14 | { |
15 | QString top; | 15 | QString top; |
16 | QString bottom; | 16 | QString bottom; |
17 | }; | 17 | }; |
18 | 18 | ||
19 | class DingWidget | 19 | class DingWidget |
20 | { | 20 | { |
21 | public: | 21 | public: |
22 | DingWidget(); | 22 | DingWidget(); |
23 | 23 | ||
24 | BroswerContent setText( QString ); | 24 | BroswerContent setText( QString ); |
25 | QStringList lines; | 25 | QStringList lines; |
26 | void setCaseSensitive( bool ); | 26 | void setCaseSensitive( bool ); |
27 | void setCompleteWord( bool ); | ||
28 | void loadDict( QString ); | 27 | void loadDict( QString ); |
29 | QString loadedDict() const; | 28 | QString loadedDict() const; |
30 | void setQueryWord( QString ); | 29 | void setQueryWord( QString ); |
31 | void setDict( QString ); | 30 | void setDict( QString ); |
32 | void loadValues(); | 31 | void loadValues(); |
33 | 32 | ||
34 | QString lang1_name, | 33 | QString lang1_name, |
35 | lang2_name; | 34 | lang2_name; |
36 | 35 | ||
37 | bool isCaseSensitive; | 36 | bool isCaseSensitive; |
37 | |||
38 | private: | 38 | private: |
39 | BroswerContent parseInfo(); | 39 | BroswerContent parseInfo(); |
40 | 40 | ||
41 | BroswerContent s_strings; | 41 | BroswerContent s_strings; |
42 | bool isCompleteWord; | ||
43 | 42 | ||
44 | QString dictName; | 43 | QString dictName; |
45 | 44 | ||
46 | QString search_word; | 45 | QString search_word; |
47 | QString queryword; | 46 | QString queryword; |
48 | QString methodname; | 47 | QString methodname; |
49 | QString trenner; | 48 | QString trenner; |
50 | }; | 49 | }; |