/* SPDX-FileCopyrightText: 2010 Ivan Cukic SPDX-FileCopyrightText: 2013 Martin Klapetek SPDX-License-Identifier: GPL-2.0-or-later */ #pragma once #include #include #include class SplashWindow; class SplashApp : public QGuiApplication { Q_OBJECT Q_CLASSINFO("D-Bus Interface", "org.kde.KSplash") public: explicit SplashApp(int &argc, char **argv); ~SplashApp() override; public Q_SLOTS: Q_SCRIPTABLE void setStage(const QString &messgae); protected: void timerEvent(QTimerEvent *event) override; void setStage(int stage); private: void setupWaylandIntegration(); int m_stage; QList m_windows; bool m_testing; bool m_window; QStringList m_stages; QBasicTimer m_timer; QString m_theme; private Q_SLOTS: void adoptScreen(QScreen *); };