summaryrefslogtreecommitdiffstats
path: root/kscreensaver/kdesavers/polygon.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-14 05:14:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-14 05:14:51 +0000
commit1d077caf68127ab1a5518df84cc5592a1b47a965 (patch)
tree9729a338937930e9014ccbd70296f3313d6dc2cc /kscreensaver/kdesavers/polygon.h
parent771e57c60b52ff27c4d92cddc8e6bfc0b8dafd1a (diff)
downloadtdeartwork-1d077caf68127ab1a5518df84cc5592a1b47a965.tar.gz
tdeartwork-1d077caf68127ab1a5518df84cc5592a1b47a965.zip
TQt4 port kdeartwork
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeartwork@1246991 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kscreensaver/kdesavers/polygon.h')
-rw-r--r--kscreensaver/kdesavers/polygon.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/kscreensaver/kdesavers/polygon.h b/kscreensaver/kdesavers/polygon.h
index fed640c1..563d3b39 100644
--- a/kscreensaver/kdesavers/polygon.h
+++ b/kscreensaver/kdesavers/polygon.h
@@ -18,6 +18,7 @@
class kPolygonSaver : public KScreenSaver
{
Q_OBJECT
+ TQ_OBJECT
public:
kPolygonSaver( WId id );
virtual ~kPolygonSaver();
@@ -37,12 +38,12 @@ protected slots:
void slotTimeout();
protected:
- QTimer timer;
+ TQTimer timer;
unsigned numLines;
int numVertices;
int colorContext;
int speed;
- QColor colors[64];
+ TQColor colors[64];
int currentColor;
TQPtrList<TQPointArray> polygons;
TQMemArray<TQPoint> directions;
@@ -52,6 +53,7 @@ protected:
class kPolygonSetup : public KDialogBase
{
Q_OBJECT
+ TQ_OBJECT
public:
kPolygonSetup( TQWidget *parent = 0, const char *name = 0 );
~kPolygonSetup();