Kstars

kstarssplash.h
1 /*
2  SPDX-FileCopyrightText: 2001 Heiko Evermann <[email protected]>
3 
4  SPDX-License-Identifier: GPL-2.0-or-later
5 */
6 
7 #pragma once
8 
9 #include <QSplashScreen>
10 
11 /**
12  * @class KStarsSplash
13  * The KStars Splash Screen. The splash screen shows the KStars logo and
14  * progress messages while data files are parsed and objects are initialized.
15  *
16  * @short the KStars Splash Screen.
17  * @author Heiko Evermann
18  * @version 1.0
19  */
21 {
22  Q_OBJECT
23 
24  public:
25  /**
26  * Constructor. Create widgets. Load KStars logo. Start load timer.
27  * A non-empty customMessage will replace "Welcome to KStars [...]".
28  */
29  explicit KStarsSplash(const QString &customMessage = "");
30 
31  virtual ~KStarsSplash() override = default;
32 
33  public slots:
34  /**
35  * Display the text argument in the Splash Screen's status label.
36  * This is connected to KStarsData::progressText(QString)
37  */
38  void setMessage(const QString &s);
39 };
Q_OBJECTQ_OBJECT
the KStars Splash Screen.
Definition: kstarssplash.h:20
void setMessage(const QString &s)
Display the text argument in the Splash Screen's status label.
KStarsSplash(const QString &customMessage="")
Constructor.
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Sun Aug 14 2022 04:13:57 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.