From e83acc761bfe83ccd80b8ef6ab1275ee5c26e14f Mon Sep 17 00:00:00 2001 From: cniehaus Date: Fri, 02 May 2003 22:10:18 +0000 Subject: 265 lines diff :) mostly markupstuff. But also one bug less --- (limited to 'noncore/apps/odict/configdlg.cpp') 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 @@ -68,7 +68,7 @@ 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() @@ -76,12 +76,10 @@ 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() @@ -91,14 +89,11 @@ 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() @@ -112,7 +107,6 @@ void ConfigDlg::slotDeleteMethod() list->takeItem( list->selectedItem() ); } - else qDebug("no item selected"); } void ConfigDlg::loadSearchMethodNames() -- cgit v0.9.0.2