• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdeedu API Reference
  • KDE Home
  • Contact Us
 

kstars

  • sources
  • kde-4.12
  • kdeedu
  • kstars
  • kstars
kstarssplash.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  kstarssplash.cpp - description
3  -------------------
4  begin : Thu Jul 26 2001
5  copyright : (C) 2001 by Heiko Evermann
6  email : heiko@evermann.de
7  ***************************************************************************/
8 
9 /***************************************************************************
10  * *
11  * This program is free software; you can redistribute it and/or modify *
12  * it under the terms of the GNU General Public License as published by *
13  * the Free Software Foundation; either version 2 of the License, or *
14  * (at your option) any later version. *
15  * *
16  ***************************************************************************/
17 
18 #include "kstarssplash.h"
19 
20 #include <klocale.h>
21 #include <KStandardDirs>
22 
23 
24 KStarsSplash::KStarsSplash(const QString& customMessage )
25  : KSplashScreen(QPixmap() )
26 {
27  setPixmap(KStandardDirs::locate("appdata","kstars.png"));
28  setMessage( customMessage.isEmpty() ?
29  i18n( "Welcome to KStars. Please stand by while loading..." ) :
30  customMessage);
31 }
32 
33 KStarsSplash::~KStarsSplash() {
34 }
35 
36 void KStarsSplash::setMessage(const QString& message) {
37  showMessage( message, Qt::AlignLeft, Qt::lightGray);
38 }
39 
40 #include "kstarssplash.moc"
KStarsSplash::setMessage
void setMessage(const QString &s)
Display the text argument in the Splash Screen's status label.
Definition: kstarssplash.cpp:36
KStarsSplash::~KStarsSplash
~KStarsSplash()
Destructor.
Definition: kstarssplash.cpp:33
kstarssplash.h
KStarsSplash::KStarsSplash
KStarsSplash(const QString &customMessage="")
Constructor.
Definition: kstarssplash.cpp:24
KSplashScreen
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:36:20 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kstars

Skip menu "kstars"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdeedu API Reference

Skip menu "kdeedu API Reference"
  • Analitza
  •     lib
  • kalgebra
  • kalzium
  •   libscience
  • kanagram
  • kig
  •   lib
  • klettres
  • kstars
  • libkdeedu
  •   keduvocdocument
  • marble
  • parley
  • rocs
  •   App
  •   RocsCore
  •   VisualEditor
  •   stepcore

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal