Diffstat (limited to 'noncore/apps/odict/configdlg.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/odict/configdlg.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/noncore/apps/odict/configdlg.cpp b/noncore/apps/odict/configdlg.cpp index 2056457..0f33ee8 100644 --- a/noncore/apps/odict/configdlg.cpp +++ b/noncore/apps/odict/configdlg.cpp | |||
@@ -42,6 +42,7 @@ ConfigDlg::ConfigDlg(QWidget *parent, const char *name, bool modal) : QDialog(pa | |||
42 | 42 | ||
43 | /*searchmethods*/ | 43 | /*searchmethods*/ |
44 | search_tab = new QWidget( tab , "search_tab" ); | 44 | search_tab = new QWidget( tab , "search_tab" ); |
45 | loadSearchMethodNames(); | ||
45 | QVBoxLayout *vbox_layout_searchtab = new QVBoxLayout( search_tab, 4 , 4 ,"blah" ); | 46 | QVBoxLayout *vbox_layout_searchtab = new QVBoxLayout( search_tab, 4 , 4 ,"blah" ); |
46 | 47 | ||
47 | QHBox *hbox = new QHBox( search_tab ); | 48 | QHBox *hbox = new QHBox( search_tab ); |
@@ -103,3 +104,11 @@ void ConfigDlg::slotDeleteMethod() | |||
103 | list->takeItem( list->selectedItem() ); | 104 | list->takeItem( list->selectedItem() ); |
104 | else qDebug("no item selected"); | 105 | else qDebug("no item selected"); |
105 | } | 106 | } |
107 | |||
108 | void ConfigDlg::loadSearchMethodNames() | ||
109 | { | ||
110 | QListViewItem *item = new QListViewItem( list); | ||
111 | Config cfg( "odict" ); | ||
112 | //X cfg.setGroup( itemName ); | ||
113 | //X QString temp = cfg.readEntry( "Seperator" ); | ||
114 | } | ||