DisplayIntro Class Reference

The view object which shows the graphics of the welcome screen animation. More...

#include <displayintro.h>

Inheritance diagram for DisplayIntro:

Inheritance graph
[legend]
Collaboration diagram for DisplayIntro:

Collaboration graph
[legend]
List of all members.

Public Types

enum  IntroState { IntroMoveIn, IntroCollapse, IntroExplode }
 Animation states of the intro animation. More...

Public Member Functions

 DisplayIntro (int advancePeriod, QGraphicsScene *scene, ThemeManager *theme, QObject *parent=0)
 Constructor for the intro display.
 ~DisplayIntro ()
 Destructor of the display.
void start ()
 Start the animation.
virtual void changeTheme ()
 Theme change method.

Protected Slots

void advance ()
 Animation routine, called by a timer.

Detailed Description

The view object which shows the graphics of the welcome screen animation.

Definition at line 40 of file displayintro.h.


Member Enumeration Documentation

enum DisplayIntro::IntroState
 

Animation states of the intro animation.

Enumerator:
IntroMoveIn 
IntroCollapse 
IntroExplode 

Definition at line 59 of file displayintro.h.


Constructor & Destructor Documentation

DisplayIntro::DisplayIntro int  advancePeriod,
QGraphicsScene *  scene,
ThemeManager theme,
QObject *  parent = 0
 

Constructor for the intro display.

Parameters:
advancePeriod The canvas advance period
scene The graphics scene
theme The theme manager
parent The parent window

Definition at line 41 of file displayintro.cpp.

DisplayIntro::~DisplayIntro  ) 
 

Destructor of the display.

Definition at line 78 of file displayintro.cpp.


Member Function Documentation

void DisplayIntro::advance  )  [protected, slot]
 

Animation routine, called by a timer.

Definition at line 109 of file displayintro.cpp.

References IntroCollapse, IntroMoveIn, IntroSprite::number(), start(), and IntroSprite::startIntro().

void DisplayIntro::changeTheme  )  [virtual]
 

Theme change method.

The object has to completely redraw

Implements Themable.

Definition at line 89 of file displayintro.cpp.

void DisplayIntro::start  ) 
 

Start the animation.

Definition at line 96 of file displayintro.cpp.

References IntroMoveIn.

Referenced by advance(), and KWin4View::KWin4View().


The documentation for this class was generated from the following files:
Generated on Sun Mar 4 10:56:43 2007 for KWin4 by  doxygen 1.4.6