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, 3 insertions, 0 deletions
diff --git a/noncore/apps/odict/dingwidget.h b/noncore/apps/odict/dingwidget.h index 74f40c9..d8466cb 100644 --- a/noncore/apps/odict/dingwidget.h +++ b/noncore/apps/odict/dingwidget.h | |||
@@ -9,39 +9,42 @@ | |||
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(); |
30 | void setQueryWord( QString ); | 30 | void setQueryWord( QString ); |
31 | void setDict( QString ); | 31 | void setDict( QString ); |
32 | void loadValues(); | 32 | void loadValues(); |
33 | |||
34 | QString lang1_name, | ||
35 | lang2_name; | ||
33 | 36 | ||
34 | private: | 37 | private: |
35 | BroswerContent parseInfo(); | 38 | BroswerContent parseInfo(); |
36 | 39 | ||
37 | BroswerContent s_strings; | 40 | BroswerContent s_strings; |
38 | bool isCompleteWord; | 41 | bool isCompleteWord; |
39 | bool isCaseSensitive; | 42 | bool isCaseSensitive; |
40 | 43 | ||
41 | QString dictName; | 44 | QString dictName; |
42 | 45 | ||
43 | QString search_word; | 46 | QString search_word; |
44 | QString queryword; | 47 | QString queryword; |
45 | QString methodname; | 48 | QString methodname; |
46 | QString trenner; | 49 | QString trenner; |
47 | }; | 50 | }; |