summaryrefslogtreecommitdiffabout
path: root/microkde/kutils
Side-by-side diff
Diffstat (limited to 'microkde/kutils') (more/less context) (ignore whitespace changes)
-rw-r--r--microkde/kutils/kcmultidialog.cpp13
-rw-r--r--microkde/kutils/kcmultidialog.h5
2 files changed, 7 insertions, 11 deletions
diff --git a/microkde/kutils/kcmultidialog.cpp b/microkde/kutils/kcmultidialog.cpp
index c2378fb..6c82e4f 100644
--- a/microkde/kutils/kcmultidialog.cpp
+++ b/microkde/kutils/kcmultidialog.cpp
@@ -36,3 +36,2 @@
#include "kcmultidialog.h"
-#include "kprefs.h"
//US #include "kcmultidialog.moc"
@@ -40,5 +39,5 @@
-KCMultiDialog::KCMultiDialog(KPrefs* prefs, const QString& baseGroup, QWidget *parent, const char *name, bool modal)
+KCMultiDialog::KCMultiDialog(const QString& baseGroup, QWidget *parent, const char *name, bool modal)
: KDialogBase(IconList, i18n("Configure"), Default |Cancel | Apply | Ok, Ok,
- parent, name, modal, true), mPrefs(prefs), d(0L)
+ parent, name, modal, true), d(0L)
{
@@ -77,3 +76,3 @@ void KCMultiDialog::slotDefault()
{
- (*it)->defaults(mPrefs);
+ (*it)->defaults();
clientChanged(true);
@@ -91,3 +90,3 @@ qDebug("KCMultiDialog::slotApply clicked");
for (; it.current(); ++it)
- (*it)->save(mPrefs);
+ (*it)->save();
clientChanged(false);
@@ -105,3 +104,3 @@ qDebug("KCMultiDialog::slotOk clicked");
for (; it.current(); ++it)
- (*it)->save(mPrefs);
+ (*it)->save();
accept();
@@ -164,3 +163,3 @@ void KCMultiDialog::addModule(KCModule* module ) //, const QString& modulename,
//US
- module->load(mPrefs);
+ module->load();
diff --git a/microkde/kutils/kcmultidialog.h b/microkde/kutils/kcmultidialog.h
index a42555f..1aa66b2 100644
--- a/microkde/kutils/kcmultidialog.h
+++ b/microkde/kutils/kcmultidialog.h
@@ -31,4 +31,2 @@
-class KPrefs;
-
/**
@@ -56,3 +54,3 @@ public:
**/
- KCMultiDialog(KPrefs* prefs, const QString& baseGroup = QString::fromLatin1("settings"),
+ KCMultiDialog(const QString& baseGroup = QString::fromLatin1("settings"),
QWidget *parent=0, const char *name=0,
@@ -141,3 +139,2 @@ private:
KJanusWidget* mMainWidget;
- KPrefs* mPrefs;