00001 #ifndef ADVANCEDDIALOG_H
00002 #define ADVANCEDDIALOG_H
00003
00004 #include <kdialogbase.h>
00005 #include <tqwidget.h>
00006 #include <kconfig.h>
00007 #include <tqlabel.h>
00008 #include <tqlayout.h>
00009 #include <tqwhatsthis.h>
00010 #include <tqgroupbox.h>
00011 #include <tqobject.h>
00012 #include <tqcheckbox.h>
00013 #include <tqslider.h>
00014
00015 #include "advanceddialogimpl.h"
00016
00017 class AdvancedDialog : public AdvancedDialogImpl
00018 {
00019 public:
00020 AdvancedDialog(TQWidget *parent = 0, const char *name = 0);
00021 ~AdvancedDialog();
00022 void setMode(TQComboBox *box, int i);
00023 int mode(TQComboBox *box);
00024 };
00025
00026
00027
00028 class KScreenSaverAdvancedDialog : public KDialogBase
00029 {
00030 Q_OBJECT
00031 public:
00032 KScreenSaverAdvancedDialog(TQWidget *parent, const char* name = 0);
00033
00034 public slots:
00035 void slotOk();
00036
00037 protected slots:
00038 void slotPriorityChanged(int val);
00039 void slotChangeBottomRightCorner(int);
00040 void slotChangeBottomLeftCorner(int);
00041 void slotChangeTopRightCorner(int);
00042 void slotChangeTopLeftCorner(int);
00043
00044 private:
00045 void readSettings();
00046
00047 TQCheckBox *m_topLeftCorner;
00048 TQCheckBox *m_bottomLeftCorner;
00049 TQCheckBox *m_topRightCorner;
00050 TQCheckBox *m_bottomRightCorner;
00051 TQSlider *mPrioritySlider;
00052
00053 bool mChanged;
00054 int mPriority;
00055 AdvancedDialog *dialog;
00056
00057 };
00058
00059
00060 #endif
00061