summaryrefslogtreecommitdiff
path: root/noncore/apps/odict/odict.cpp
Unidiff
Diffstat (limited to 'noncore/apps/odict/odict.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/odict/odict.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/noncore/apps/odict/odict.cpp b/noncore/apps/odict/odict.cpp
index 166f6b9..7de9169 100644
--- a/noncore/apps/odict/odict.cpp
+++ b/noncore/apps/odict/odict.cpp
@@ -34,2 +34,3 @@
34#include <qtextbrowser.h> 34#include <qtextbrowser.h>
35#include <qcombobox.h>
35 36
@@ -47,2 +48,3 @@ ODict::ODict() : QMainWindow()
47 query_le = new QLineEdit( hbox ); 48 query_le = new QLineEdit( hbox );
49 query_co = new QComboBox( hbox );
48 ok_button = new QPushButton( tr( "&Ok" ), hbox ); 50 ok_button = new QPushButton( tr( "&Ok" ), hbox );
@@ -64,2 +66,9 @@ void ODict::loadConfig()
64 completewords = cfg.readEntry( "completewords" ).toInt(); 66 completewords = cfg.readEntry( "completewords" ).toInt();
67
68 QStringList groupListCfg = cfg.groupList().grep( "Method_" );
69 for ( QStringList::Iterator it = groupListCfg.begin() ; it != groupListCfg.end() ; ++it )
70 {
71 cfg.setGroup( *it );
72 query_co->insertItem( cfg.readEntry( "Name" ) );
73 }
65} 74}