Back to index

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

#include <wave.h>

Collaboration diagram for KWaveSaver:
Collaboration graph
[legend]

List of all members.

Public Slots

void blank ()

Public Member Functions

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

Private Attributes

Wavewave
QTimer * timer

Detailed Description

Definition at line 62 of file wave.h.


Constructor & Destructor Documentation

KWaveSaver::KWaveSaver ( WId  drawable)

Definition at line 127 of file wave.cpp.

                               : KScreenSaver( id )
{
       kDebug() << "Blank";
       readSettings();

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

Here is the call graph for this function:

KWaveSaver::~KWaveSaver ( ) [virtual]

Definition at line 147 of file wave.cpp.

{

}

Member Function Documentation

void KWaveSaver::blank ( ) [slot]

Definition at line 160 of file wave.cpp.

{
       // Play wave

       wave->updateGL();
       timer->start( 100 );

}

Here is the caller graph for this function:

Definition at line 153 of file wave.cpp.

{
       KConfigGroup config(KGlobal::config(), "Settings");

//     color = group.configColorEntry( "Color", &black );
}

Here is the caller graph for this function:


Member Data Documentation

QTimer* KWaveSaver::timer [private]

Definition at line 74 of file wave.h.

Wave* KWaveSaver::wave [private]

Definition at line 73 of file wave.h.


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