From 618dec7bf4371c2085048cc1f95a93220bc8a233 Mon Sep 17 00:00:00 2001 From: ulf69 Date: Tue, 21 Sep 2004 19:54:39 +0000 Subject: modified configdialog to work properly with global configwidget from (libkdepim) --- (limited to 'kaddressbook/kcmconfigs/kabconfigwidget.h') diff --git a/kaddressbook/kcmconfigs/kabconfigwidget.h b/kaddressbook/kcmconfigs/kabconfigwidget.h index 6cd4223..1e71fd1 100644 --- a/kaddressbook/kcmconfigs/kabconfigwidget.h +++ b/kaddressbook/kcmconfigs/kabconfigwidget.h @@ -24,7 +24,7 @@ #ifndef KABCONFIGWIDGET_H #define KABCONFIGWIDGET_H -#include +#include class QCheckBox; class QListViewItem; @@ -36,22 +36,18 @@ class KABPrefs; class AddresseeWidget; -class KABConfigWidget : public QWidget +class KABConfigWidget : public KPrefsWidget { Q_OBJECT public: - KABConfigWidget( QWidget *parent, const char *name = 0 ); + KABConfigWidget(KABPrefs *prefs, QWidget *parent, const char *name = 0 ); - void restoreSettings(KABPrefs* prefs); - void saveSettings(KABPrefs* prefs); - void defaults(KABPrefs* prefs); - - signals: - void changed( bool ); - - public slots: - void modified(); + protected: + /** Implement this to read custom configuration widgets. */ + virtual void usrReadConfig(); + /** Implement this to write custom configuration widgets. */ + virtual void usrWriteConfig(); -- cgit v0.9.0.2