Kstars

kstarssplash.h
1/*
2 SPDX-FileCopyrightText: 2001 Heiko Evermann <heiko@evermann.de>
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{
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};
The KStars Splash Screen.
void setMessage(const QString &s)
Display the text argument in the Splash Screen's status label.
KStarsSplash(const QString &customMessage="")
Constructor.
Q_OBJECTQ_OBJECT
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:16:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.