Changeset View
Changeset View
Standalone View
Standalone View
logout-greeter/shutdowndlg.h
Show All 37 Lines | |||||
38 | } | 38 | } | ||
39 | 39 | | |||
40 | // The confirmation dialog | 40 | // The confirmation dialog | ||
41 | class KSMShutdownDlg : public KQuickAddons::QuickViewSharedEngine | 41 | class KSMShutdownDlg : public KQuickAddons::QuickViewSharedEngine | ||
42 | { | 42 | { | ||
43 | Q_OBJECT | 43 | Q_OBJECT | ||
44 | 44 | | |||
45 | public: | 45 | public: | ||
46 | KSMShutdownDlg( QWindow* parent, bool maysd, bool choose, KWorkSpace::ShutdownType sdtype, KWayland::Client::PlasmaShell *plasmaShell = nullptr ); | 46 | KSMShutdownDlg( QWindow* parent, bool maysd, KWorkSpace::ShutdownType sdtype, KWayland::Client::PlasmaShell *plasmaShell = nullptr ); | ||
47 | 47 | | |||
48 | void init(); | 48 | void init(); | ||
49 | bool result() const; | 49 | bool result() const; | ||
50 | 50 | | |||
51 | KWorkSpace::ShutdownType shutdownType() const { | 51 | KWorkSpace::ShutdownType shutdownType() const { | ||
52 | return m_shutdownType; | 52 | return m_shutdownType; | ||
53 | } | 53 | } | ||
54 | 54 | | |||
Show All 29 Lines |