aboutsummaryrefslogtreecommitdiff
path: root/lumina-wm-INCOMPLETE/LScreenSaver.h
diff options
context:
space:
mode:
authorwi <william.os4y@gmail.com>2015-05-01 18:38:55 +0200
committerwi <william.os4y@gmail.com>2015-05-01 18:38:55 +0200
commit2b143927e0363fd41b138a6955f9e9363b71b443 (patch)
tree6366bcbd5842e42e52f1429f4e7232f678778f67 /lumina-wm-INCOMPLETE/LScreenSaver.h
parentuse the termnial application specified by the user as the default-terminal. (diff)
parentFix/Fix a couple important bugs before announcing 0.8.4-release: (diff)
downloadlumina-2b143927e0363fd41b138a6955f9e9363b71b443.tar.gz
lumina-2b143927e0363fd41b138a6955f9e9363b71b443.tar.bz2
lumina-2b143927e0363fd41b138a6955f9e9363b71b443.zip
Merge remote-tracking branch 'upstream/master' into fm-term
Diffstat (limited to 'lumina-wm-INCOMPLETE/LScreenSaver.h')
-rw-r--r--lumina-wm-INCOMPLETE/LScreenSaver.h43
1 files changed, 43 insertions, 0 deletions
diff --git a/lumina-wm-INCOMPLETE/LScreenSaver.h b/lumina-wm-INCOMPLETE/LScreenSaver.h
new file mode 100644
index 00000000..c2965ae6
--- /dev/null
+++ b/lumina-wm-INCOMPLETE/LScreenSaver.h
@@ -0,0 +1,43 @@
+//===========================================
+// Lumina-DE source code
+// Copyright (c) 2015, Ken Moore
+// Available under the 3-clause BSD license
+// See the LICENSE file for full details
+//===========================================
+#ifndef _LUMINA_DESKTOP_SCREEN_SAVER_H
+#define _LUMINA_DESKTOP_SCREEN_SAVER_H
+
+#include <QObject>
+#include <QStringList>
+#include <QTimer>
+#include <QSettings>
+
+class LScreenSaver : public QObject{
+ Q_OBJECT
+public:
+ LScreenSaver();
+ ~LScreenSaver();
+
+private:
+ QTimer *starttimer, *locktimer, *hidetimer;
+ QSettings *settings;
+ bool SSRunning, SSLocked;
+
+public slots:
+ void start();
+ void reloadSettings();
+ void newInputEvent();
+
+private slots:
+ void ShowScreenSaver();
+ void ShowLockScreen();
+ void HideScreenSaver();
+ void HideLockScreen();
+
+signals:
+ void StartingScreenSaver();
+ void ClosingScreenSaver();
+
+};
+
+#endif \ No newline at end of file
bgstack15