summaryrefslogtreecommitdiff
path: root/noncore/apps/odict/configdlg.cpp
authorcniehaus <cniehaus>2003-05-02 22:10:18 (UTC)
committer cniehaus <cniehaus>2003-05-02 22:10:18 (UTC)
commite83acc761bfe83ccd80b8ef6ab1275ee5c26e14f (patch) (side-by-side diff)
tree6211385225d342dc9062615f080d5764d7251beb /noncore/apps/odict/configdlg.cpp
parentadefcec2af37482266dbbd0e56b7e57f483c0540 (diff)
downloadopie-e83acc761bfe83ccd80b8ef6ab1275ee5c26e14f.zip
opie-e83acc761bfe83ccd80b8ef6ab1275ee5c26e14f.tar.gz
opie-e83acc761bfe83ccd80b8ef6ab1275ee5c26e14f.tar.bz2
265 lines diff :) mostly markupstuff. But also one bug less
Diffstat (limited to 'noncore/apps/odict/configdlg.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/odict/configdlg.cpp8
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()
{