author | cniehaus <cniehaus> | 2003-01-03 23:21:47 (UTC) |
---|---|---|
committer | cniehaus <cniehaus> | 2003-01-03 23:21:47 (UTC) |
commit | 004a8ac1b25530801f68d4a041b4355ecc60c9eb (patch) (unidiff) | |
tree | d850779620bf96977c68721ff1964762860df802 /noncore/apps/odict/odict.cpp | |
parent | 28b06247aaa55f80d91be1f8591e2cc30bac29d3 (diff) | |
download | opie-004a8ac1b25530801f68d4a041b4355ecc60c9eb.zip opie-004a8ac1b25530801f68d4a041b4355ecc60c9eb.tar.gz opie-004a8ac1b25530801f68d4a041b4355ecc60c9eb.tar.bz2 |
update tille
-rw-r--r-- | noncore/apps/odict/odict.cpp | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/noncore/apps/odict/odict.cpp b/noncore/apps/odict/odict.cpp index 7de9169..2857c65 100644 --- a/noncore/apps/odict/odict.cpp +++ b/noncore/apps/odict/odict.cpp | |||
@@ -41,2 +41,4 @@ ODict::ODict() : QMainWindow() | |||
41 | { | 41 | { |
42 | |||
43 | activated_name = QString::null; | ||
42 | vbox = new QVBox( this ); | 44 | vbox = new QVBox( this ); |
@@ -49,2 +51,3 @@ ODict::ODict() : QMainWindow() | |||
49 | query_co = new QComboBox( hbox ); | 51 | query_co = new QComboBox( hbox ); |
52 | connect( query_co , SIGNAL( activated(int) ), this, SLOT( slotMethodChanged(int) ) ); | ||
50 | ok_button = new QPushButton( tr( "&Ok" ), hbox ); | 53 | ok_button = new QPushButton( tr( "&Ok" ), hbox ); |
@@ -94,3 +97,3 @@ void ODict::slotStartQuery() | |||
94 | QString querystring = query_le->text(); | 97 | QString querystring = query_le->text(); |
95 | DingWidget *ding = new DingWidget( vbox , querystring , browser_top, browser_bottom); | 98 | DingWidget *ding = new DingWidget( vbox , querystring , browser_top, browser_bottom, activated_name); |
96 | } | 99 | } |
@@ -138,2 +141,7 @@ void ODict::slotSetParameter( int count ) | |||
138 | 141 | ||
142 | void ODict::slotMethodChanged( int methodnumber ) | ||
143 | { | ||
144 | activated_name = query_co->currentText(); | ||
145 | } | ||
146 | |||
139 | void ODict::setupMenus() | 147 | void ODict::setupMenus() |