diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-14 05:14:51 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-14 05:14:51 +0000 |
commit | 1d077caf68127ab1a5518df84cc5592a1b47a965 (patch) | |
tree | 9729a338937930e9014ccbd70296f3313d6dc2cc /kscreensaver/kdesavers/polygon.h | |
parent | 771e57c60b52ff27c4d92cddc8e6bfc0b8dafd1a (diff) | |
download | tdeartwork-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.h | 6 |
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(); |