kpresenter

KPrPageEffects Class Reference

List of all members.

Detailed Description

Definition at line 35 of file KPrPageEffects.h.


Public Member Functions

 KPrPageEffects (QPaintDevice *dst, const QPixmap &pageTo, PageEffect effect, EffectSpeed speed)
 ~KPrPageEffects ()
bool doEffect ()
void finish ()

Protected Member Functions

bool effectNone () const
bool effectCloseHorizontal () const
bool effectCloseVertical () const
bool effectCloseFromAllDirections () const
bool effectOpenHorizontal () const
bool effectOpenVertical () const
bool effectOpenFromAllDirections () const
bool effectInterlockingHorizontal1 () const
bool effectInterlockingHorizontal2 () const
bool effectInterlockingVertical1 () const
bool effectInterlockingVertical2 () const
bool effectSurround1 () const
bool effectFlyAway1 ()
bool effectBlindsHorizontal () const
bool effectBlindsVertical () const
bool effectBoxIn () const
bool effectBoxOut () const
bool effectCheckboardAcross () const
bool effectCheckboardDown () const
bool effectCoverDown () const
bool effectUncoverDown () const
bool effectCoverUp () const
bool effectUncoverUp ()
bool effectCoverLeft () const
bool effectUncoverLeft ()
bool effectCoverRight () const
bool effectUncoverRight ()
bool effectCoverLeftUp () const
bool effectUncoverLeftUp ()
bool effectCoverLeftDown () const
bool effectUncoverLeftDown ()
bool effectCoverRightUp () const
bool effectUncoverRightUp ()
bool effectCoverRightDown () const
bool effectUncoverRightDown ()
bool effectDissolve ()
bool effectStripesLeftUp () const
bool effectStripesLeftDown () const
bool effectStripesRightUp () const
bool effectStripesRigthDown () const
bool effectMelting ()

Protected Attributes

QPaintDevice * m_dst
const QPixmap m_pageTo
QPixmap m_pageFrom
PageEffect m_effect
PageEffect m_randomEffect
EffectSpeed m_speed
QValueList< int > m_list
int m_effectStep
int m_stepWidth
int m_stepHeight
int m_width
int m_height
bool m_finished

Constructor & Destructor Documentation

KPrPageEffects::KPrPageEffects ( QPaintDevice *  dst,
const QPixmap &  pageTo,
PageEffect  effect,
EffectSpeed  speed 
)

Class for displaying page effects.

This class takes a paint device and a pixmap and according to the effect it changes the paint device to contain the pixmap.

dst The paint device to which the output will be directed. It has to show the current pixmap. pageTo The pixmap which will be shown when the effect is finished. effect The effect which sould be used. speed The speed which should be used.

Definition at line 35 of file KPrPageEffects.cpp.


Member Function Documentation

bool KPrPageEffects::doEffect (  ) 

doEffect handles the next step of the page effect.

Returns true if the effect is finished.

Definition at line 56 of file KPrPageEffects.cpp.

void KPrPageEffects::finish (  ) 

Ends the page effect by displaying the m_pageTo.

Definition at line 196 of file KPrPageEffects.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys