• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

kstars

KStarsSplash Class Reference

The KStars Splash Screen. More...

#include <kstarssplash.h>

Inheritance diagram for KStarsSplash:

Inheritance graph
[legend]

List of all members.


Public Slots

void setMessage (QString s)

Signals

void closeWindow ()

Public Member Functions

 KStarsSplash (QWidget *parent, const char *name)
 ~KStarsSplash ()

Protected Member Functions

void closeEvent (QCloseEvent *e)
virtual void paintEvent (QPaintEvent *)

Detailed Description

The KStars Splash Screen.

The splash screen shows the KStars logo and progress messages while data files are parsed and objects are initialized. the KStars Splash Screen.

Author:
Heiko Evermann
Version:
1.0

Definition at line 33 of file kstarssplash.h.


Constructor & Destructor Documentation

KStarsSplash::KStarsSplash ( QWidget *  parent,
const char *  name 
)

Constructor.

Create widgets. Load KStars logo. Start load timer.

Definition at line 28 of file kstarssplash.cpp.

KStarsSplash::~KStarsSplash (  ) 

Destructor.

Definition at line 77 of file kstarssplash.cpp.


Member Function Documentation

void KStarsSplash::closeEvent ( QCloseEvent *  e  )  [protected]

If the user clicks on the "X" close-window button, then abort loading as soon as possible and shut down the program.

Definition at line 87 of file kstarssplash.cpp.

void KStarsSplash::closeWindow (  )  [signal]

void KStarsSplash::paintEvent ( QPaintEvent *   )  [protected, virtual]

Paint event to redraw the widgets.

This only gets called when the timer fires. It should also repaint if another window was on top of the splash screen, but this may be difficult to implement (it may be that the program is too busy loading data to notice that a redraw is required).

Definition at line 81 of file kstarssplash.cpp.

void KStarsSplash::setMessage ( QString  s  )  [slot]

Display the text argument in the Splash Screen's status label.

This is connected to KStarsData::progressText(QString)

Flush all event data. This is needed because events will buffered and repaint call will queued in event buffer. With flush all X11 events of this application will flushed.

Definition at line 92 of file kstarssplash.cpp.


The documentation for this class was generated from the following files:
  • kstarssplash.h
  • kstarssplash.cpp

kstars

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

API Reference

Skip menu "API Reference"
  • keduca
  • kstars
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal