summaryrefslogtreecommitdiffstats
path: root/kscreensaver/kdesavers/lines.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:27:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:27:15 +0000
commitb5d38fd2e94066885d4620b0c35c48a2faa5aa44 (patch)
tree7e7e611e0e3ef23dc2efd327a7455bcf4d7c9b7f /kscreensaver/kdesavers/lines.h
parent019ebb9a949a97c898e5d563f0699a3ff49e6588 (diff)
downloadtdeartwork-b5d38fd2e94066885d4620b0c35c48a2faa5aa44.tar.gz
tdeartwork-b5d38fd2e94066885d4620b0c35c48a2faa5aa44.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeartwork@1157637 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kscreensaver/kdesavers/lines.h')
-rw-r--r--kscreensaver/kdesavers/lines.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/kscreensaver/kdesavers/lines.h b/kscreensaver/kdesavers/lines.h
index d3f1062c..c5e7f42a 100644
--- a/kscreensaver/kdesavers/lines.h
+++ b/kscreensaver/kdesavers/lines.h
@@ -8,8 +8,8 @@
#ifndef __LINES_H__
#define __LINES_H__
-#include <qtimer.h>
-#include <qptrlist.h>
+#include <tqtimer.h>
+#include <tqptrlist.h>
#include <kdialogbase.h>
#include <krandomsequence.h>
@@ -44,7 +44,7 @@ class kLinesSaver:public KScreenSaver{
void setLines(int len);
void setSpeed(int spd);
- void setColor(const QColor&, const QColor&, const QColor&);
+ void setColor(const TQColor&, const TQColor&, const TQColor&);
private:
void readSettings();
@@ -57,11 +57,11 @@ class kLinesSaver:public KScreenSaver{
protected:
KRandomSequence rnd;
- QTimer timer;
+ TQTimer timer;
unsigned numLines;
int colorContext, speed;
- QColor colors[64];
- QColor colstart, colmid, colend;
+ TQColor colors[64];
+ TQColor colstart, colmid, colend;
double colscale;
Lines* lines;
};
@@ -69,7 +69,7 @@ class kLinesSaver:public KScreenSaver{
class kLinesSetup : public KDialogBase{
Q_OBJECT
public:
- kLinesSetup(QWidget *parent=NULL, const char *name=NULL);
+ kLinesSetup(TQWidget *parent=NULL, const char *name=NULL);
~kLinesSetup();
protected:
@@ -78,18 +78,18 @@ class kLinesSetup : public KDialogBase{
private slots:
void slotLength(int);
void slotSpeed(int);
- void slotColstart(const QColor &);
- void slotColmid(const QColor &);
- void slotColend(const QColor &);
+ void slotColstart(const TQColor &);
+ void slotColmid(const TQColor &);
+ void slotColend(const TQColor &);
void slotOk();
void slotHelp();
private:
KColorButton *colorPush0, *colorPush1, *colorPush2;
- QWidget *preview;
+ TQWidget *preview;
kLinesSaver *saver;
int length, speed;
- QColor colstart, colmid, colend;
+ TQColor colstart, colmid, colend;
};
#endif