summaryrefslogtreecommitdiffabout
path: root/microkde
Unidiff
Diffstat (limited to 'microkde') (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kutils/kcmultidialog.cpp7
-rw-r--r--microkde/kutils/kcmultidialog.h2
2 files changed, 7 insertions, 2 deletions
diff --git a/microkde/kutils/kcmultidialog.cpp b/microkde/kutils/kcmultidialog.cpp
index 6c82e4f..e7aa9d1 100644
--- a/microkde/kutils/kcmultidialog.cpp
+++ b/microkde/kutils/kcmultidialog.cpp
@@ -81,7 +81,10 @@ void KCMultiDialog::slotDefault()
81 } 81 }
82 82
83} 83}
84 84void KCMultiDialog::accept()
85{
86 slotOk();
87}
85void KCMultiDialog::slotApply() 88void KCMultiDialog::slotApply()
86{ 89{
87qDebug("KCMultiDialog::slotApply clicked"); 90qDebug("KCMultiDialog::slotApply clicked");
@@ -103,7 +106,7 @@ qDebug("KCMultiDialog::slotOk clicked");
103 QPtrListIterator<KCModule> it(modules); 106 QPtrListIterator<KCModule> it(modules);
104 for (; it.current(); ++it) 107 for (; it.current(); ++it)
105 (*it)->save(); 108 (*it)->save();
106 accept(); 109 QDialog::accept();
107 110
108 emit okClicked(); 111 emit okClicked();
109} 112}
diff --git a/microkde/kutils/kcmultidialog.h b/microkde/kutils/kcmultidialog.h
index 1aa66b2..768faea 100644
--- a/microkde/kutils/kcmultidialog.h
+++ b/microkde/kutils/kcmultidialog.h
@@ -112,6 +112,8 @@ protected slots:
112 **/ 112 **/
113 virtual void slotHelp(); 113 virtual void slotHelp();
114 114
115 void accept();
116
115private slots: 117private slots:
116 118
117 void slotAboutToShow(QWidget *); 119 void slotAboutToShow(QWidget *);