00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef __KPCONFIG_H
00024 #define __KPCONFIG_H
00025
00026 #include <kdialogbase.h>
00027
00028 class TQCheckBox;
00029 class TQButtonGroup;
00030
00031 class KPagerConfigDialog : public KDialogBase
00032 {
00033 Q_OBJECT
00034
00035 public:
00036 KPagerConfigDialog(TQWidget *parent);
00037
00038 public slots:
00039 void setShowName(bool show);
00040 void setShowNumber(bool show);
00041 void setShowBackground(bool show);
00042 void setShowWindows(bool show);
00043
00044 void setWindowDrawMode(int mode);
00045 void setLayout(int layout);
00046
00047 void enableWindowDragging(bool);
00048
00049 void loadConfiguration();
00050 void slotOk();
00051 public:
00052 static void initConfiguration(void);
00053 static bool m_showName;
00054 static bool m_showNumber;
00055 static bool m_showBackground;
00056 static bool m_showWindows;
00057 static int m_windowDrawMode;
00058 static int m_layoutType;
00059 static bool m_windowDragging;
00060
00061 protected:
00062 TQCheckBox *m_chkShowName;
00063 TQCheckBox *m_chkShowNumber;
00064 TQCheckBox *m_chkShowBackground;
00065 TQCheckBox *m_chkShowWindows;
00066 TQButtonGroup *m_grpWindowDrawMode;
00067 TQButtonGroup *m_grpLayoutType;
00068 TQCheckBox* m_chkWindowDragging;
00069 bool m_tmpShowName;
00070 bool m_tmpShowNumber;
00071 bool m_tmpShowBackground;
00072 bool m_tmpShowWindows;
00073 int m_tmpWindowDrawMode;
00074 int m_tmpLayoutType;
00075 bool m_tmpWindowDragging;
00076 };
00077
00078 #endif