Changeset View
Changeset View
Standalone View
Standalone View
ksmserver/logout-greeter/shutdowndlg.h
- This file was moved from ksmserver/shutdowndlg.h.
Show All 19 Lines | |||||
20 | AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | 20 | AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | 21 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
22 | 22 | | |||
23 | ******************************************************************/ | 23 | ******************************************************************/ | ||
24 | 24 | | |||
25 | #ifndef SHUTDOWNDLG_H | 25 | #ifndef SHUTDOWNDLG_H | ||
26 | #define SHUTDOWNDLG_H | 26 | #define SHUTDOWNDLG_H | ||
27 | 27 | | |||
28 | #include <QQuickView> | 28 | #include <kquickaddons/quickviewsharedengine.h> | ||
29 | #include <QPushButton> | | |||
30 | #include <kworkspace.h> | 29 | #include <kworkspace.h> | ||
31 | 30 | | |||
32 | class QMenu; | | |||
33 | class QTimer; | | |||
34 | class QTimeLine; | | |||
35 | class QLabel; | | |||
36 | class LogoutEffect; | | |||
37 | | ||||
38 | namespace Plasma | | |||
39 | { | | |||
40 | class Svg; | | |||
41 | class FrameSvg; | | |||
42 | } | | |||
43 | | ||||
44 | namespace KWayland | 31 | namespace KWayland | ||
45 | { | 32 | { | ||
46 | namespace Client | 33 | namespace Client | ||
47 | { | 34 | { | ||
48 | class PlasmaShell; | 35 | class PlasmaShell; | ||
49 | class PlasmaShellSurface; | 36 | class PlasmaShellSurface; | ||
50 | } | 37 | } | ||
51 | } | 38 | } | ||
52 | 39 | | |||
53 | class QQuickView; | | |||
54 | | ||||
55 | // The confirmation dialog | 40 | // The confirmation dialog | ||
56 | class KSMShutdownDlg : public QQuickView | 41 | class KSMShutdownDlg : public KQuickAddons::QuickViewSharedEngine | ||
57 | { | 42 | { | ||
58 | Q_OBJECT | 43 | Q_OBJECT | ||
59 | 44 | | |||
60 | public: | 45 | public: | ||
61 | KSMShutdownDlg( QWindow* parent, bool maysd, bool choose, KWorkSpace::ShutdownType sdtype, KWayland::Client::PlasmaShell *plasmaShell = nullptr ); | 46 | KSMShutdownDlg( QWindow* parent, bool maysd, bool choose, KWorkSpace::ShutdownType sdtype, KWayland::Client::PlasmaShell *plasmaShell = nullptr ); | ||
62 | 47 | | |||
63 | void init(); | 48 | void init(); | ||
64 | bool result() const; | 49 | bool result() const; | ||
Show All 34 Lines |