aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/core/lumina-desktop-unified/src-DE/SystemWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src-qt5/core/lumina-desktop-unified/src-DE/SystemWindow.h')
-rw-r--r--src-qt5/core/lumina-desktop-unified/src-DE/SystemWindow.h46
1 files changed, 46 insertions, 0 deletions
diff --git a/src-qt5/core/lumina-desktop-unified/src-DE/SystemWindow.h b/src-qt5/core/lumina-desktop-unified/src-DE/SystemWindow.h
new file mode 100644
index 00000000..bbef36a3
--- /dev/null
+++ b/src-qt5/core/lumina-desktop-unified/src-DE/SystemWindow.h
@@ -0,0 +1,46 @@
+#ifndef _LUMINA_DESKTOP_SYSTEM_WINDOW_H
+#define _LUMINA_DESKTOP_SYSTEM_WINDOW_H
+
+#include <QDialog>
+
+#include "ui_SystemWindow.h"
+
+
+
+
+namespace Ui{
+ class SystemWindow;
+};
+
+class SystemWindow : public QDialog{
+ Q_OBJECT
+public:
+ SystemWindow();
+ ~SystemWindow();
+
+public slots:
+ void updateWindow();
+
+private:
+ Ui::SystemWindow *ui;
+
+ //void closeAllWindows();
+ bool promptAboutUpdates(bool &skip); //main bool return: continue/cancel, skip: skip updates or not
+
+private slots:
+ void sysLogout();
+
+ void sysRestart();
+
+ void sysShutdown();
+
+ void sysSuspend();
+
+ void sysCancel(){
+ this->close();
+ }
+
+ void sysLock();
+};
+
+#endif
bgstack15