Diffstat (limited to 'noncore/apps/odict/configdlg.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/odict/configdlg.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/noncore/apps/odict/configdlg.cpp b/noncore/apps/odict/configdlg.cpp index eba7dec..1608486 100644 --- a/noncore/apps/odict/configdlg.cpp +++ b/noncore/apps/odict/configdlg.cpp @@ -67,22 +67,20 @@ ConfigDlg::ConfigDlg(QWidget *parent, const char *name, bool modal) : QDialog(pa } void ConfigDlg::writeEntries() { - qDebug( "richtig beendet" ); + //XXX wozu gibt es diese Methode? } void ConfigDlg::slotNewMethod() { SearchMethodDlg dlg( this, "SearchMethodDlg", true ); if ( dlg.exec() == QDialog::Accepted ) { - //if ( !dlg.nameLE->text() ) return; //XXX dlg.saveItem(); QListViewItem *item = new QListViewItem( list ); item->setText( 0 , dlg.nameLE->text() ); } - else qDebug( "SearchMethodDlg abgebrochen" ); } void ConfigDlg::slotChangeMethod() { @@ -90,16 +88,13 @@ void ConfigDlg::slotChangeMethod() { SearchMethodDlg dlg( this, "SearchMethodDlg", true, list->selectedItem()->text( 0 ) ); if ( dlg.exec() == QDialog::Accepted ) { - //if ( !dlg.nameLE->text() ) return; //XXX geht vielleich nicht dlg.saveItem(); QListViewItem *item = list->selectedItem(); item->setText( 0 , dlg.nameLE->text() ); } - else qDebug( "SearchMethodDlg abgebrochen" ); } - else qDebug( "kein item angewählt" ); } void ConfigDlg::slotDeleteMethod() { @@ -111,9 +106,8 @@ void ConfigDlg::slotDeleteMethod() //FIXME: this only removes the entries but not the group itself list->takeItem( list->selectedItem() ); } - else qDebug("no item selected"); } void ConfigDlg::loadSearchMethodNames() { |