Back to index

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

#include <Flux.h>

Collaboration diagram for KFluxScreenSaver:
Collaboration graph
[legend]

List of all members.

Public Slots

void setMode (int)
 Any invalid mode will select one at random.

Public Member Functions

 KFluxScreenSaver (WId id)
virtual ~KFluxScreenSaver ()
int mode () const

Private Member Functions

void readSettings ()

Private Attributes

FluxWidget_flux
int _mode

Detailed Description

Definition at line 109 of file Flux.h.


Constructor & Destructor Documentation

Definition at line 809 of file Flux.cpp.

                                           : KScreenSaver( id )
{
    _flux = new FluxWidget;

    readSettings();

    embed( _flux );
    _flux->show();
    show();
}

Here is the call graph for this function:

Definition at line 821 of file Flux.cpp.

{
}

Member Function Documentation

int KFluxScreenSaver::mode ( ) const [inline]

Definition at line 118 of file Flux.h.

{ return _mode; }

Here is the caller graph for this function:

void KFluxScreenSaver::readSettings ( ) [private]

Definition at line 837 of file Flux.cpp.

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

    _mode = config.readEntry( "Mode", (int)FluxWidget::Regular );
    _flux->setDefaults( filterRandom(_mode) );
}

Here is the call graph for this function:

Here is the caller graph for this function:

void KFluxScreenSaver::setMode ( int  id) [slot]

Any invalid mode will select one at random.

Definition at line 849 of file Flux.cpp.

Here is the call graph for this function:


Member Data Documentation

Definition at line 128 of file Flux.h.

int KFluxScreenSaver::_mode [private]

Definition at line 129 of file Flux.h.


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