summaryrefslogtreecommitdiffstats
path: root/kscreensaver/kdesavers/pendulum.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-14 05:14:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-14 05:14:51 +0000
commit1d077caf68127ab1a5518df84cc5592a1b47a965 (patch)
tree9729a338937930e9014ccbd70296f3313d6dc2cc /kscreensaver/kdesavers/pendulum.h
parent771e57c60b52ff27c4d92cddc8e6bfc0b8dafd1a (diff)
downloadtdeartwork-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/pendulum.h')
-rw-r--r--kscreensaver/kdesavers/pendulum.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/kscreensaver/kdesavers/pendulum.h b/kscreensaver/kdesavers/pendulum.h
index 3c26a1ef..af933de9 100644
--- a/kscreensaver/kdesavers/pendulum.h
+++ b/kscreensaver/kdesavers/pendulum.h
@@ -15,7 +15,7 @@
// STL headers
#include <valarray>
-// Qt headers
+// TQt headers
#include <tqwidget.h>
#include <tqtimer.h>
#include <tqgl.h>
@@ -79,14 +79,15 @@ class PendulumOdeSolver : public RkOdeSolver<double>
/** @brief GL widget class for the KPendulum screen saver
*
* Class implements TQGLWidget to display the KPendulum screen saver. */
-class PendulumGLWidget : public QGLWidget
+class PendulumGLWidget : public TQGLWidget
{
Q_OBJECT
+ TQ_OBJECT
public:
/** @brief Constructor of KPendulum's GL widget
- * @param parent parent widget, passed to QGLWidget's constructor
- * @param name name of widget, passed to QGLWidget's constructor */
+ * @param parent parent widget, passed to TQGLWidget's constructor
+ * @param name name of widget, passed to TQGLWidget's constructor */
PendulumGLWidget(TQWidget* parent=0, const char* name=0);
/** @brief Destructor of KPendulum's GL widget */
~PendulumGLWidget(void);
@@ -184,6 +185,7 @@ class PendulumGLWidget : public QGLWidget
class KPendulumSaver : public KScreenSaver
{
Q_OBJECT
+ TQ_OBJECT
public:
/** @brief Constructor of the KPendulum screen saver object
@@ -332,6 +334,7 @@ class KPendulumSaver : public KScreenSaver
class KPendulumSetup : public KPendulumSetupUi
{
Q_OBJECT
+ TQ_OBJECT
public:
/** @brief Constructor for the KPendulum screen saver setup dialog