00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef _NDMANAGERPREF_H_
00022 #define _NDMANAGERPREF_H_
00023
00024 #include <kdialogbase.h>
00025 #include <qframe.h>
00026
00027 class ndManagerPrefPageOne;
00028 class ndManagerPrefPageTwo;
00029
00030 class ndManagerPreferences : public KDialogBase
00031 {
00032 Q_OBJECT
00033 public:
00034 ndManagerPreferences(QWidget* parent,const char* name=0, WFlags f=0);
00035
00037 void updateDialog();
00038
00040 void updateConfiguration();
00041
00043 inline bool isApplyEnable(){return applyEnable;};
00044
00045 public slots:
00047 void slotDefault();
00049 void slotApply();
00051 void enableApply();
00052
00053 signals:
00055 void settingsChanged();
00056
00057 private:
00058 ndManagerPrefPageOne* m_pageOne;
00059 ndManagerPrefPageTwo* m_pageTwo;
00060 bool applyEnable;
00061 };
00062
00063 class ndManagerPrefPageOne : public QFrame
00064 {
00065 Q_OBJECT
00066 public:
00067 ndManagerPrefPageOne(QWidget *parent = 0);
00068 };
00069
00070 class ndManagerPrefPageTwo : public QFrame
00071 {
00072 Q_OBJECT
00073 public:
00074 ndManagerPrefPageTwo(QWidget *parent = 0);
00075 };
00076
00077 #endif // _NDMANAGERPREF_H_