1 /* 2 SPDX-FileCopyrightText: 2010 Ivan Cukic <ivan.cukic(at)kde.org> 3 4 SPDX-License-Identifier: GPL-2.0-or-later 5 */ 6 7 #pragma once 8 9 #include <KQuickAddons/QuickViewSharedEngine> 10 11 class QMouseEvent; 12 class QKeyEvent; 13 14 class SplashWindow : public KQuickAddons::QuickViewSharedEngine 15 { 16 public: 17 SplashWindow(bool testing, bool window, const QString &theme); 18 19 void setStage(int stage); 20 virtual void setGeometry(const QRect &rect); 21 22 protected: 23 void keyPressEvent(QKeyEvent *event) override; 24 void mousePressEvent(QMouseEvent *event) override; 25 26 private: 27 int m_stage; 28 const bool m_testing; 29 const bool m_window; 30 const QString m_theme; 31 }; 32