From 4aed2c8219774f5d797760606b8489a92ddc5163 Mon Sep 17 00:00:00 2001 From: toma Date: Wed, 25 Nov 2009 17:56:58 +0000 Subject: Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features. BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kcontrol/screensaver/advanceddialog.h | 61 +++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 kcontrol/screensaver/advanceddialog.h (limited to 'kcontrol/screensaver/advanceddialog.h') diff --git a/kcontrol/screensaver/advanceddialog.h b/kcontrol/screensaver/advanceddialog.h new file mode 100644 index 000000000..813c9fc82 --- /dev/null +++ b/kcontrol/screensaver/advanceddialog.h @@ -0,0 +1,61 @@ +#ifndef ADVANCEDDIALOG_H +#define ADVANCEDDIALOG_H + +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "advanceddialogimpl.h" + +class AdvancedDialog : public AdvancedDialogImpl +{ +public: + AdvancedDialog(QWidget *parent = 0, const char *name = 0); + ~AdvancedDialog(); + void setMode(QComboBox *box, int i); + int mode(QComboBox *box); +}; + +/* =================================================================================================== */ + +class KScreenSaverAdvancedDialog : public KDialogBase +{ + Q_OBJECT +public: + KScreenSaverAdvancedDialog(QWidget *parent, const char* name = 0); + +public slots: + void slotOk(); + +protected slots: + void slotPriorityChanged(int val); + void slotChangeBottomRightCorner(int); + void slotChangeBottomLeftCorner(int); + void slotChangeTopRightCorner(int); + void slotChangeTopLeftCorner(int); + +private: + void readSettings(); + + QCheckBox *m_topLeftCorner; + QCheckBox *m_bottomLeftCorner; + QCheckBox *m_topRightCorner; + QCheckBox *m_bottomRightCorner; + QSlider *mPrioritySlider; + + bool mChanged; + int mPriority; + AdvancedDialog *dialog; + +}; + + +#endif + -- cgit v1.2.1