Back to index

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

#include <Euphoria.h>

Collaboration diagram for KEuphoriaScreenSaver:
Collaboration graph
[legend]

List of all members.

Public Slots

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

Public Member Functions

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

Private Member Functions

void readSettings ()

Private Attributes

EuphoriaWidget_effect
int _mode

Detailed Description

Definition at line 123 of file Euphoria.h.


Constructor & Destructor Documentation

Definition at line 926 of file Euphoria.cpp.

                                                   : KScreenSaver( id )
{
    _effect = new EuphoriaWidget;

    readSettings();

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

Here is the call graph for this function:

Definition at line 937 of file Euphoria.cpp.

{
}

Member Function Documentation

int KEuphoriaScreenSaver::mode ( ) const [inline]

Definition at line 132 of file Euphoria.h.

{ return _mode; }

Here is the caller graph for this function:

Definition at line 953 of file Euphoria.cpp.

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

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Any invalid mode will select one at random.

Definition at line 965 of file Euphoria.cpp.

Here is the call graph for this function:


Member Data Documentation

Definition at line 142 of file Euphoria.h.

Definition at line 143 of file Euphoria.h.


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