Diffstat (limited to 'noncore/apps/odict/dingwidget.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/odict/dingwidget.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/apps/odict/dingwidget.cpp b/noncore/apps/odict/dingwidget.cpp index abb5e75..0707bfb 100644 --- a/noncore/apps/odict/dingwidget.cpp +++ b/noncore/apps/odict/dingwidget.cpp | |||
@@ -80,24 +80,26 @@ void DingWidget::setCompleteWord( bool cword ) | |||
80 | void DingWidget::setQueryWord( QString qword ) | 80 | void DingWidget::setQueryWord( QString qword ) |
81 | { | 81 | { |
82 | queryword = qword; | 82 | queryword = qword; |
83 | } | 83 | } |
84 | 84 | ||
85 | 85 | ||
86 | void DingWidget::loadValues() | 86 | void DingWidget::loadValues() |
87 | { | 87 | { |
88 | if ( !methodname ) return; | 88 | if ( !methodname ) return; |
89 | Config cfg( "odict" ); | 89 | Config cfg( "odict" ); |
90 | cfg.setGroup( "Method_" + methodname ); | 90 | cfg.setGroup( "Method_" + methodname ); |
91 | trenner = cfg.readEntry( "Seperator" ); | 91 | trenner = cfg.readEntry( "Seperator" ); |
92 | lang1_name = cfg.readEntry( "Lang1" ); | ||
93 | lang2_name = cfg.readEntry( "Lang2" ); | ||
92 | } | 94 | } |
93 | 95 | ||
94 | BroswerContent DingWidget::setText( QString word ) | 96 | BroswerContent DingWidget::setText( QString word ) |
95 | { | 97 | { |
96 | queryword = word; | 98 | queryword = word; |
97 | return parseInfo(); | 99 | return parseInfo(); |
98 | } | 100 | } |
99 | 101 | ||
100 | 102 | ||
101 | BroswerContent DingWidget::parseInfo() | 103 | BroswerContent DingWidget::parseInfo() |
102 | { | 104 | { |
103 | if ( isCompleteWord ) | 105 | if ( isCompleteWord ) |