blob: bbef36a3fa31cc746931964e65faecea06fec71c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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
|