Back to index

kdeartwork  4.3.2
Public Slots | Public Member Functions | Private Attributes
KFountainSaver Class Reference

#include <fountain.h>

Collaboration diagram for KFountainSaver:
Collaboration graph
[legend]

List of all members.

Public Slots

void blank ()
void updateSize (int newSize)
void doStars (bool starState)

Public Member Functions

 KFountainSaver (WId drawable)
virtual ~KFountainSaver ()
void readSettings ()

Private Attributes

Fountainfountain
QTimer * timer

Detailed Description

Definition at line 103 of file fountain.h.


Constructor & Destructor Documentation

KFountainSaver::KFountainSaver ( WId  drawable)

Definition at line 161 of file fountain.cpp.

                                       : KScreenSaver( id )
{

       kDebug() << "Blank";

       timer = new QTimer( this );
        timer->setSingleShot( true );
        timer->start( 25 );
        {
            QPalette palette;
            palette.setColor( backgroundRole(), Qt::black );
            setPalette( palette );
        }
        update();
       fountain = new Fountain();
       embed(fountain);
       fountain->show();
       connect( timer, SIGNAL(timeout()), this, SLOT(blank()) );
       show();
}

Here is the call graph for this function:

Definition at line 182 of file fountain.cpp.

{

}

Member Function Documentation

void KFountainSaver::blank ( ) [slot]

Definition at line 194 of file fountain.cpp.

{
       // Play fountain

       fountain->updateGL();
    timer->setSingleShot(true);
       timer->start( 25);

}

Here is the caller graph for this function:

void KFountainSaver::doStars ( bool  starState) [slot]

Definition at line 473 of file fountain.cpp.

{
       fountain->setStars(starState);
}

Here is the call graph for this function:

Definition at line 188 of file fountain.cpp.

{
// Please remove me

}
void KFountainSaver::updateSize ( int  newSize) [slot]

Definition at line 469 of file fountain.cpp.

{
       fountain->setSize(newSize/100);
}

Here is the call graph for this function:


Member Data Documentation

Definition at line 116 of file fountain.h.

QTimer* KFountainSaver::timer [private]

Definition at line 117 of file fountain.h.


The documentation for this class was generated from the following files: