summaryrefslogtreecommitdiffstats
path: root/tdescreensaver/xsavers/space.h
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-26 13:16:15 -0600
committerTimothy Pearson <[email protected]>2013-01-26 13:16:15 -0600
commit7e09b5c2efae58399621a938de26b9675b8ba621 (patch)
treede2c9535e1f4c48ae91910492d298eba1d593fd5 /tdescreensaver/xsavers/space.h
parent159f7e147ac33c924b3ce9050c8f03cbc54916ee (diff)
downloadtdeartwork-7e09b5c2efae58399621a938de26b9675b8ba621.tar.gz
tdeartwork-7e09b5c2efae58399621a938de26b9675b8ba621.zip
Rename a number of libraries and executables to avoid conflicts with KDE4
Diffstat (limited to 'tdescreensaver/xsavers/space.h')
-rw-r--r--tdescreensaver/xsavers/space.h64
1 files changed, 64 insertions, 0 deletions
diff --git a/tdescreensaver/xsavers/space.h b/tdescreensaver/xsavers/space.h
new file mode 100644
index 00000000..2b0cc1ef
--- /dev/null
+++ b/tdescreensaver/xsavers/space.h
@@ -0,0 +1,64 @@
+
+#ifndef __SPACE_H__
+#define __SPACE_H__
+
+#include <tqtimer.h>
+#include <tqptrlist.h>
+#include <kdialogbase.h>
+#include <tqlineedit.h>
+#include "saver.h"
+
+class kSpaceSaver : public kScreenSaver
+{
+ Q_OBJECT
+
+public:
+ kSpaceSaver( Drawable drawable );
+ virtual ~kSpaceSaver();
+
+ void setSpeed( int spd );
+ void setWarp( int l );
+ void setPoints( int p );
+
+protected:
+ void readSettings();
+
+protected slots:
+ void slotTimeout();
+
+protected:
+ TQTimer timer;
+ int colorContext;
+
+ int counter;
+ int speed;
+ int maxLevels;
+ int numPoints;
+};
+
+class kSpaceSetup : public KDialogBase
+{
+ Q_OBJECT
+
+public:
+ kSpaceSetup( TQWidget *parent = NULL, const char *name = NULL );
+
+protected:
+ void readSettings();
+
+private slots:
+ void slotSpeed( int );
+ void slotWarp( int );
+ void slotOk();
+ void slotHelp();
+
+private:
+ TQWidget *preview;
+ kSpaceSaver *saver;
+
+ int speed;
+ int warpinterval;
+};
+
+#endif
+