Changeset View
Changeset View
Standalone View
Standalone View
kcms/ksmserver/kcmsmserver.h
Show All 17 Lines | |||||
18 | * You should have received a copy of the GNU General Public License | 18 | * You should have received a copy of the GNU General Public License | ||
19 | * along with this program; if not, write to the Free Software | 19 | * along with this program; if not, write to the Free Software | ||
20 | */ | 20 | */ | ||
21 | #ifndef __kcmsmserver_h__ | 21 | #ifndef __kcmsmserver_h__ | ||
22 | #define __kcmsmserver_h__ | 22 | #define __kcmsmserver_h__ | ||
23 | 23 | | |||
24 | #include <kcmodule.h> | 24 | #include <kcmodule.h> | ||
25 | 25 | | |||
26 | class SMServerConfigImpl; | 26 | class QAction; | ||
27 | 27 | | |||
28 | class SMServerConfigImpl; | ||||
28 | 29 | | |||
29 | class SMServerConfig : public KCModule | 30 | class SMServerConfig : public KCModule | ||
30 | { | 31 | { | ||
31 | Q_OBJECT | 32 | Q_OBJECT | ||
32 | 33 | | |||
33 | public: | 34 | public: | ||
34 | explicit SMServerConfig( QWidget *parent=nullptr, const QVariantList &list=QVariantList() ); | 35 | explicit SMServerConfig( QWidget *parent=nullptr, const QVariantList &list=QVariantList() ); | ||
35 | 36 | | |||
36 | void load() override; | 37 | void load() override; | ||
37 | void save() override; | 38 | void save() override; | ||
38 | void defaults() override; | 39 | void defaults() override; | ||
39 | 40 | | |||
40 | private: | 41 | private: | ||
42 | void initFirmwareSetup(); | ||||
43 | void checkFirmwareSetupRequested(); | ||||
41 | SMServerConfigImpl* dialog; | 44 | SMServerConfigImpl* dialog; | ||
45 | | ||||
46 | QAction *m_rebootNowAction = nullptr; | ||||
sitter: `= nullptr` | |||||
47 | bool m_isUefi = false; | ||||
42 | }; | 48 | }; | ||
43 | 49 | | |||
44 | #endif | 50 | #endif |
= nullptr