diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:27:15 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:27:15 +0000 |
commit | b5d38fd2e94066885d4620b0c35c48a2faa5aa44 (patch) | |
tree | 7e7e611e0e3ef23dc2efd327a7455bcf4d7c9b7f /kscreensaver/kdesavers/gravity.h | |
parent | 019ebb9a949a97c898e5d563f0699a3ff49e6588 (diff) | |
download | tdeartwork-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/gravity.h')
-rw-r--r-- | kscreensaver/kdesavers/gravity.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/kscreensaver/kdesavers/gravity.h b/kscreensaver/kdesavers/gravity.h index 2cd7080f..53d60a25 100644 --- a/kscreensaver/kdesavers/gravity.h +++ b/kscreensaver/kdesavers/gravity.h @@ -14,8 +14,8 @@ #ifndef __GRAVITY_H__ #define __GRAVITY_H__ -#include <qdialog.h> -#include <qgl.h> +#include <tqdialog.h> +#include <tqgl.h> #ifdef Q_WS_MACX #include <OpenGL/glu.h> #include <OpenGL/gl.h> @@ -24,12 +24,12 @@ #include <GL/gl.h> #endif #include <kscreensaver.h> -#include <qtimer.h> -#include <qimage.h> +#include <tqtimer.h> +#include <tqimage.h> #include "gravitycfg.h" #include <kinstance.h> -#include <qfile.h> -#include <qtextstream.h> +#include <tqfile.h> +#include <tqtextstream.h> #define MAX_PARTICLES 100 @@ -58,7 +58,7 @@ Q_OBJECT }; public: - Gravity( QWidget * parent=0, const char * name=0 ); + Gravity( TQWidget * parent=0, const char * name=0 ); ~Gravity(); void setSize( float newSize ); void setStars( bool doStars ); @@ -91,7 +91,7 @@ private: GLuint col; // Current Color Selection GLuint delay; // Rainbow Effect Delay GLuint texture[1]; - QImage tex; + TQImage tex; float index; float transIndex; GLfloat scale; @@ -112,14 +112,14 @@ public slots: // void loadTextures(bool textures); private: Gravity *gravity; - QTimer *timer; + TQTimer *timer; }; class KGravitySetup : public SetupUi { Q_OBJECT public: - KGravitySetup( QWidget *parent = NULL, const char *name = NULL ); + KGravitySetup( TQWidget *parent = NULL, const char *name = NULL ); ~KGravitySetup(); protected: |