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/gravity.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/gravity.h')
-rw-r--r-- | kscreensaver/kdesavers/gravity.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/kscreensaver/kdesavers/gravity.h b/kscreensaver/kdesavers/gravity.h index 53d60a25..654d3e32 100644 --- a/kscreensaver/kdesavers/gravity.h +++ b/kscreensaver/kdesavers/gravity.h @@ -16,7 +16,7 @@ #include <tqdialog.h> #include <tqgl.h> -#ifdef Q_WS_MACX +#ifdef TQ_WS_MACX #include <OpenGL/glu.h> #include <OpenGL/gl.h> #else @@ -34,9 +34,10 @@ #define MAX_PARTICLES 100 -class Gravity : public QGLWidget +class Gravity : public TQGLWidget { Q_OBJECT + TQ_OBJECT class particles // Create A Structure For Particle { public: @@ -101,6 +102,7 @@ private: class KGravitySaver : public KScreenSaver { Q_OBJECT + TQ_OBJECT public: KGravitySaver( WId drawable ); virtual ~KGravitySaver(); @@ -118,6 +120,7 @@ private: class KGravitySetup : public SetupUi { Q_OBJECT + TQ_OBJECT public: KGravitySetup( TQWidget *parent = NULL, const char *name = NULL ); ~KGravitySetup(); |