Back to index

kdeartwork  4.3.2
Classes | Defines | Functions | Variables
blob.cpp File Reference
#include <stdlib.h>
#include <time.h>
#include <limits.h>
#include <math.h>
#include <qcolor.h>
#include <qcolormap.h>
#include <qlabel.h>
#include <QListWidget>
#include <qlayout.h>
#include <qpainter.h>
#include <qpixmap.h>
#include <qimage.h>
#include <QVBoxLayout>
#include <QHBoxLayout>
#include <kapplication.h>
#include <kconfig.h>
#include <kmessagebox.h>
#include <knuminput.h>
#include <klocale.h>
#include <kglobal.h>
#include <krandomsequence.h>
#include "blob.moc"
#include "blob.h"

Go to the source code of this file.

Classes

class  KBlobSaverInterface

Defines

#define SMALLRAND(a)   (int)(rnd->getLong(a)+1)

Functions

int main (int argc, char *argv[])
void initAlg ()

Variables

static KRandomSequence * rnd = 0
QString alg_str [5]

Define Documentation

#define SMALLRAND (   a)    (int)(rnd->getLong(a)+1)

Definition at line 46 of file blob.cpp.


Function Documentation

void initAlg ( )

Definition at line 79 of file blob.cpp.

{
    alg_str[0] = i18n("Random Linear");
    alg_str[1] = i18n("Horizontal Sine");
    alg_str[2] = i18n("Circular Bounce");
    alg_str[3] = i18n("Polar Coordinates");
    alg_str[4] = i18n("Random");
}

Here is the caller graph for this function:

int main ( int  argc,
char *  argv[] 
)

Definition at line 70 of file blob.cpp.

{
    KBlobSaverInterface kss;
    return kScreenSaverMain( argc, argv, kss );
}

Variable Documentation

QString alg_str[5]

Definition at line 78 of file blob.cpp.

KRandomSequence* rnd = 0 [static]

Definition at line 76 of file blob.cpp.