Changeset View
Changeset View
Standalone View
Standalone View
ksplash/ksplashqml/splashapp.h
Show All 18 Lines | |||||
19 | */ | 19 | */ | ||
20 | 20 | | |||
21 | #ifndef SPLASH_APP_H_ | 21 | #ifndef SPLASH_APP_H_ | ||
22 | #define SPLASH_APP_H_ | 22 | #define SPLASH_APP_H_ | ||
23 | 23 | | |||
24 | #include <QObject> | 24 | #include <QObject> | ||
25 | #include <QGuiApplication> | 25 | #include <QGuiApplication> | ||
26 | #include <QBasicTimer> | 26 | #include <QBasicTimer> | ||
27 | #include <QDateTime> | | |||
28 | 27 | | |||
29 | class SplashWindow; | 28 | class SplashWindow; | ||
30 | 29 | | |||
31 | namespace KWayland | 30 | namespace KWayland | ||
32 | { | 31 | { | ||
33 | namespace Client | 32 | namespace Client | ||
34 | { | 33 | { | ||
35 | class PlasmaShell; | 34 | class PlasmaShell; | ||
Show All 24 Lines | |||||
60 | private: | 59 | private: | ||
61 | void setupWaylandIntegration(); | 60 | void setupWaylandIntegration(); | ||
62 | int m_stage; | 61 | int m_stage; | ||
63 | QList<SplashWindow *> m_windows; | 62 | QList<SplashWindow *> m_windows; | ||
64 | bool m_testing; | 63 | bool m_testing; | ||
65 | bool m_window; | 64 | bool m_window; | ||
66 | QStringList m_stages; | 65 | QStringList m_stages; | ||
67 | QBasicTimer m_timer; | 66 | QBasicTimer m_timer; | ||
68 | QDateTime m_startTime; | | |||
69 | 67 | | |||
70 | KWayland::Client::PlasmaShell *m_waylandPlasmaShell = nullptr; | 68 | KWayland::Client::PlasmaShell *m_waylandPlasmaShell = nullptr; | ||
71 | 69 | | |||
72 | private Q_SLOTS: | 70 | private Q_SLOTS: | ||
73 | void adoptScreen(QScreen*); | 71 | void adoptScreen(QScreen*); | ||
74 | }; | 72 | }; | ||
75 | 73 | | |||
76 | #endif // SPLASH_APP_H_ | 74 | #endif // SPLASH_APP_H_ |