Diffstat (limited to 'noncore/apps/odict/dingwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/odict/dingwidget.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/noncore/apps/odict/dingwidget.h b/noncore/apps/odict/dingwidget.h index d8466cb..dbb55e2 100644 --- a/noncore/apps/odict/dingwidget.h +++ b/noncore/apps/odict/dingwidget.h | |||
@@ -1,50 +1,50 @@ | |||
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 <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 ); | 27 | void setCompleteWord( bool ); |
28 | void loadDict( QString ); | 28 | void loadDict( QString ); |
29 | QString loadedDict(); | 29 | QString loadedDict() const; |
30 | void setQueryWord( QString ); | 30 | void setQueryWord( QString ); |
31 | void setDict( QString ); | 31 | void setDict( QString ); |
32 | void loadValues(); | 32 | void loadValues(); |
33 | 33 | ||
34 | QString lang1_name, | 34 | QString lang1_name, |
35 | lang2_name; | 35 | lang2_name; |
36 | 36 | ||
37 | bool isCaseSensitive; | ||
37 | private: | 38 | private: |
38 | BroswerContent parseInfo(); | 39 | BroswerContent parseInfo(); |
39 | 40 | ||
40 | BroswerContent s_strings; | 41 | BroswerContent s_strings; |
41 | bool isCompleteWord; | 42 | bool isCompleteWord; |
42 | bool isCaseSensitive; | ||
43 | 43 | ||
44 | QString dictName; | 44 | QString dictName; |
45 | 45 | ||
46 | QString search_word; | 46 | QString search_word; |
47 | QString queryword; | 47 | QString queryword; |
48 | QString methodname; | 48 | QString methodname; |
49 | QString trenner; | 49 | QString trenner; |
50 | }; | 50 | }; |