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/fountain.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/fountain.h')
-rw-r--r-- | kscreensaver/kdesavers/fountain.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/kscreensaver/kdesavers/fountain.h b/kscreensaver/kdesavers/fountain.h index 1a31f99e..5835e973 100644 --- a/kscreensaver/kdesavers/fountain.h +++ b/kscreensaver/kdesavers/fountain.h @@ -16,7 +16,7 @@ #include <tqdialog.h> #include <tqgl.h> -#ifdef Q_WS_MACX +#ifdef TQ_WS_MACX #include <OpenGL/gl.h> #include <OpenGL/glu.h> #else @@ -34,9 +34,10 @@ #define MAX_PARTICLES 1000 -class Fountain : public QGLWidget +class Fountain : public TQGLWidget { Q_OBJECT + TQ_OBJECT class particles // Create A Structure For Particle { public: @@ -103,6 +104,7 @@ private: class KFountainSaver : public KScreenSaver { Q_OBJECT + TQ_OBJECT public: KFountainSaver( WId drawable ); virtual ~KFountainSaver(); @@ -120,6 +122,7 @@ private: class KFountainSetup : public SetupUi { Q_OBJECT + TQ_OBJECT public: KFountainSetup( TQWidget *parent = NULL, const char *name = NULL ); |