diff options
Diffstat (limited to 'lumina-wm-INCOMPLETE/LScreenSaver.h')
-rw-r--r-- | lumina-wm-INCOMPLETE/LScreenSaver.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/lumina-wm-INCOMPLETE/LScreenSaver.h b/lumina-wm-INCOMPLETE/LScreenSaver.h index a0595a7c..82950156 100644 --- a/lumina-wm-INCOMPLETE/LScreenSaver.h +++ b/lumina-wm-INCOMPLETE/LScreenSaver.h @@ -7,12 +7,10 @@ #ifndef _LUMINA_DESKTOP_SCREEN_SAVER_H #define _LUMINA_DESKTOP_SCREEN_SAVER_H -#include <QWidget> -#include <QStringList> -#include <QTimer> -#include <QSettings> +#include "GlobalDefines.h" #include "SSBaseWidget.h" +#include "LLockScreen.h" class LScreenSaver : public QWidget{ Q_OBJECT @@ -21,18 +19,22 @@ public: ~LScreenSaver(); bool isLocked(); - + private: QTimer *starttimer, *locktimer, *hidetimer; QSettings *settings; QList<SSBaseWidget*> BASES; - + LLockScreen *LOCKER; + bool SSRunning, SSLocked; + void UpdateTimers(); + public slots: void start(); void reloadSettings(); void newInputEvent(); + void LockScreenNow(); private slots: void ShowScreenSaver(); @@ -40,6 +42,9 @@ private slots: void HideScreenSaver(); void HideLockScreen(); + void LockScreen(); + void SSFinished(); + signals: void StartingScreenSaver(); void ClosingScreenSaver(); |