diff options
Diffstat (limited to 'kscreensaver/xsavers/swarm.h')
-rw-r--r-- | kscreensaver/xsavers/swarm.h | 67 |
1 files changed, 0 insertions, 67 deletions
diff --git a/kscreensaver/xsavers/swarm.h b/kscreensaver/xsavers/swarm.h deleted file mode 100644 index d8cca36c..00000000 --- a/kscreensaver/xsavers/swarm.h +++ /dev/null @@ -1,67 +0,0 @@ -//----------------------------------------------------------------------------- -// -// kswarm - port of "swarm" from xlock -// - -#ifndef __SWARM_H__ -#define __SWARM_H__ - -#include <tqtimer.h> - -#include <kdialogbase.h> -#include "saver.h" - - -class kSwarmSaver : public kScreenSaver -{ - Q_OBJECT - -public: - kSwarmSaver( Drawable drawable ); - virtual ~kSwarmSaver(); - - void setSpeed( int spd ); - void setLevels( int l ); - -protected: - void readSettings(); - -protected slots: - void slotTimeout(); - -protected: - KRandomSequence rnd; - TQTimer timer; - int colorContext; - - int speed; - int maxLevels; -}; - -class kSwarmSetup : public KDialogBase -{ - Q_OBJECT - -public: - kSwarmSetup( TQWidget *parent = NULL, const char *name = NULL ); - -protected: - void readSettings(); - -private slots: - void slotSpeed( int ); - void slotLevels( int ); - - void slotOk(); - void slotHelp(); - -private: - TQWidget *preview; - kSwarmSaver *saver; - - int speed; - int maxLevels; -}; - -#endif - |