Back to index

kdeartwork  4.3.2
Defines | Functions | Variables
space.cpp File Reference
#include <qslider.h>
#include <qlayout.h>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <kglobal.h>
#include <kconfig.h>
#include <krandomsequence.h>
#include <kdebug.h>
#include "xlock.h"
#include "helpers.h"
#include <config-xsavers.h>
#include <qpushbutton.h>
#include <qcheckbox.h>
#include <qlabel.h>
#include <qcolor.h>
#include <kmessagebox.h>
#include "space.moc"

Go to the source code of this file.

Defines

#define LONG64
#define MINSPEED   1
#define MAXSPEED   100
#define DEFSPEED   50
#define MINWARP   1
#define MAXWARP   30
#define DEFWARP   2
#define WARPFACTOR   100

Functions

void startScreenSaver (Drawable d)
void stopScreenSaver ()
int setupScreenSaver ()

Variables

static kSpaceSaversaver = NULL

Define Documentation

#define DEFSPEED   50

Definition at line 459 of file space.cpp.

#define DEFWARP   2

Definition at line 462 of file space.cpp.

#define LONG64

Definition at line 49 of file space.cpp.

#define MAXSPEED   100

Definition at line 458 of file space.cpp.

#define MAXWARP   30

Definition at line 461 of file space.cpp.

#define MINSPEED   1

Definition at line 457 of file space.cpp.

#define MINWARP   1

Definition at line 460 of file space.cpp.

#define WARPFACTOR   100

Definition at line 463 of file space.cpp.


Function Documentation

Definition at line 493 of file space.cpp.

{
       kSpaceSetup dlg;

       return dlg.exec();
}
void startScreenSaver ( Drawable  d)

Definition at line 479 of file space.cpp.

{
       if ( saver )
              return;
       saver = new kSpaceSaver( d );
}
void stopScreenSaver ( )

Definition at line 486 of file space.cpp.

{
       if ( saver )
              delete saver;
       saver = NULL;
}

Variable Documentation

kSpaceSaver* saver = NULL [static]

Definition at line 477 of file space.cpp.