KDEUI
configdialog.h
Go to the documentation of this file.00001
00021 #ifndef SONNET_CONFIGDIALOG_H
00022 #define SONNET_CONFIGDIALOG_H
00023
00024 #include <kdialog.h>
00025 #include <kconfig.h>
00026
00027 namespace Sonnet
00028 {
00030 class KDEUI_EXPORT ConfigDialog : public KDialog
00031 {
00032 Q_OBJECT
00033 public:
00034 ConfigDialog(KConfig *config,
00035 QWidget *parent);
00036 ~ConfigDialog();
00037
00046 void setLanguage( const QString &language );
00047
00048 protected Q_SLOTS:
00049 virtual void slotOk();
00050 virtual void slotApply();
00051
00052 Q_SIGNALS:
00053
00061 void languageChanged( const QString &language );
00062
00063 private:
00064 void init(KConfig *config);
00065 private:
00066 class Private;
00067 friend class Private;
00068 Private *const d;
00069 Q_DISABLE_COPY(ConfigDialog)
00070 Q_PRIVATE_SLOT(d, void slotConfigChanged())
00071 };
00072 }
00073
00074 #endif