summaryrefslogtreecommitdiffstats
path: root/kscreensaver/kdesavers/lines.h
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:16:15 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-26 13:16:15 -0600
commit7e09b5c2efae58399621a938de26b9675b8ba621 (patch)
treede2c9535e1f4c48ae91910492d298eba1d593fd5 /kscreensaver/kdesavers/lines.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 'kscreensaver/kdesavers/lines.h')
-rw-r--r--kscreensaver/kdesavers/lines.h98
1 files changed, 0 insertions, 98 deletions
diff --git a/kscreensaver/kdesavers/lines.h b/kscreensaver/kdesavers/lines.h
deleted file mode 100644
index 7dd11200..00000000
--- a/kscreensaver/kdesavers/lines.h
+++ /dev/null
@@ -1,98 +0,0 @@
-//-----------------------------------------------------------------------------
-//
-// klines 0.1.1 - Basic screen saver for KDE
-// by Dirk Staneker 1997
-// based on kpolygon 0.3 by Martin R. Jones 1996
-//
-
-#ifndef __LINES_H__
-#define __LINES_H__
-
-#include <tqtimer.h>
-#include <tqptrlist.h>
-
-#include <kdialogbase.h>
-#include <krandomsequence.h>
-#include <kscreensaver.h>
-
-class KColorButton;
-
-class Lines{
- private:
- struct Ln{
- Ln* next;
- int x1, y1, x2, y2;
- };
- Ln *start, *end, *akt;
- int offx1, offy1, offx2, offy2;
- uint numLn;
- public:
- Lines(int);
- ~Lines();
- inline void reset();
- inline void getKoord(int&, int&, int&, int&);
- inline void setKoord(const int&, const int&, const int&, const int&);
- inline void next(void);
- void turn(const int&, const int&);
-};
-
-class kLinesSaver:public KScreenSaver{
- Q_OBJECT
-
- public:
- kLinesSaver( WId id );
- virtual ~kLinesSaver();
-
- void setLines(int len);
- void setSpeed(int spd);
- void setColor(const TQColor&, const TQColor&, const TQColor&);
-
- private:
- void readSettings();
- void blank();
- void initialiseLines();
- void initialiseColor();
-
- protected slots:
- void slotTimeout();
-
- protected:
- KRandomSequence rnd;
- TQTimer timer;
- unsigned numLines;
- int colorContext, speed;
- TQColor colors[64];
- TQColor colstart, colmid, colend;
- double colscale;
- Lines* lines;
-};
-
-class kLinesSetup : public KDialogBase{
- Q_OBJECT
-
- public:
- kLinesSetup(TQWidget *parent=NULL, const char *name=NULL);
- ~kLinesSetup();
-
- protected:
- void readSettings();
-
- private slots:
- void slotLength(int);
- void slotSpeed(int);
- void slotColstart(const TQColor &);
- void slotColmid(const TQColor &);
- void slotColend(const TQColor &);
- void slotOk();
- void slotHelp();
-
- private:
- KColorButton *colorPush0, *colorPush1, *colorPush2;
- TQWidget *preview;
- kLinesSaver *saver;
- int length, speed;
- TQColor colstart, colmid, colend;
-};
-
-#endif
-