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/rotation.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/rotation.h')
-rw-r--r-- | kscreensaver/kdesavers/rotation.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/kscreensaver/kdesavers/rotation.h b/kscreensaver/kdesavers/rotation.h index a1a73867..0144275d 100644 --- a/kscreensaver/kdesavers/rotation.h +++ b/kscreensaver/kdesavers/rotation.h @@ -13,9 +13,9 @@ // STL headers #include <valarray> // Qt headers -#include <qwidget.h> -#include <qtimer.h> -#include <qgl.h> +#include <tqwidget.h> +#include <tqtimer.h> +#include <tqgl.h> // GL headers #include <GL/glu.h> #include <GL/gl.h> @@ -78,7 +78,7 @@ class EulerOdeSolver : public RkOdeSolver<double> /** @brief GL widget class for the KRotation screen saver * - * Class implements QGLWidget to display the KRotation screen saver. */ + * Class implements TQGLWidget to display the KRotation screen saver. */ class RotationGLWidget : public QGLWidget { Q_OBJECT @@ -93,7 +93,7 @@ class RotationGLWidget : public QGLWidget * @param e3 z trace data * @param J 3 vector with momenta of inertia with respect to the 3 figure * axes. */ - RotationGLWidget(QWidget* parent, const char* name, + RotationGLWidget(TQWidget* parent, const char* name, const vec3<double>& omega, const std::deque<vec3<double> >& e1, const std::deque<vec3<double> >& e2, @@ -144,7 +144,7 @@ class RotationGLWidget : public QGLWidget GLfloat lightPhi; /** stores position where the mouse button was pressed down */ - QPoint mouse_press_pos; + TQPoint mouse_press_pos; /** Length of the rotating coordinate system axses */ GLfloat bodyAxsesLength; @@ -245,7 +245,7 @@ class KRotationSaver : public KScreenSaver void doTimeStep(); /** slot is called if setup dialog changes in size and the GL area should be * adjusted */ - void resizeGlArea(QResizeEvent* e); + void resizeGlArea(TQResizeEvent* e); private: /** Momentum of inertia along figure axes */ @@ -260,7 +260,7 @@ class KRotationSaver : public KScreenSaver /** Gl widget of simulation */ RotationGLWidget* glArea; /** Timer for the real time integration of the Euler equations */ - QTimer* timer; + TQTimer* timer; /** current rotation vector */ vec3<double> omega; @@ -301,7 +301,7 @@ class KRotationSetup : public KRotationSetupUi Q_OBJECT public: - KRotationSetup(QWidget* parent = NULL, const char* name = NULL); + KRotationSetup(TQWidget* parent = NULL, const char* name = NULL); ~KRotationSetup(); public slots: @@ -313,9 +313,9 @@ class KRotationSetup : public KRotationSetupUi void xTraceToggled(bool state); void yTraceToggled(bool state); void zTraceToggled(bool state); - void lengthEnteredSlot(const QString& s); - void LzEnteredSlot(const QString& s); - void thetaEnteredSlot(const QString& s); + void lengthEnteredSlot(const TQString& s); + void LzEnteredSlot(const TQString& s); + void thetaEnteredSlot(const TQString& s); private: /// the screen saver widget which is displayed in the preview area |