summaryrefslogtreecommitdiffstats
path: root/ktux/sprite.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:49:52 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:49:52 +0000
commitcfc42a28c327b96c6a2afee92af3bac1a479eb8a (patch)
treee3219edf5f827eaa4db3feb509a17846a1a5a752 /ktux/sprite.h
parenta73fc4d7e66fe0824313aa4e9a650c4cddef6e9f (diff)
downloadtdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.tar.gz
tdetoys-cfc42a28c327b96c6a2afee92af3bac1a479eb8a.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1157650 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ktux/sprite.h')
-rw-r--r--ktux/sprite.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/ktux/sprite.h b/ktux/sprite.h
index d93e285..2414d68 100644
--- a/ktux/sprite.h
+++ b/ktux/sprite.h
@@ -1,6 +1,6 @@
//-----------------------------------------------------------------------------
//
-// ksprite - QCanvas based screensaver
+// ksprite - TQCanvas based screensaver
//
// Copyright (c) Martin R. Jones 1996
//
@@ -8,11 +8,11 @@
#ifndef __SPRITE_H__
#define __SPRITE_H__
-#include <qtimer.h>
-#include <qpushbutton.h>
-#include <qptrlist.h>
-#include <qstrlist.h>
-#include <qcanvas.h>
+#include <tqtimer.h>
+#include <tqpushbutton.h>
+#include <tqptrlist.h>
+#include <tqstrlist.h>
+#include <tqcanvas.h>
#include <kscreensaver.h>
#include "spriteanim.h"
@@ -35,22 +35,22 @@ protected slots:
void slotTimeout();
protected:
- virtual void timerEvent(QTimerEvent *);
+ virtual void timerEvent(TQTimerEvent *);
protected:
QCanvas *mCanvas;
QCanvasView *mView;
QTimer mTimer;
int mSpeed;
- QPtrList<SpriteGroup> mGroups;
- QMemArray<int> mTimerIds;
+ TQPtrList<SpriteGroup> mGroups;
+ TQMemArray<int> mTimerIds;
};
class KSpriteSetup : public QDialog
{
Q_OBJECT
public:
- KSpriteSetup( QWidget *parent = NULL, const char *name = NULL );
+ KSpriteSetup( TQWidget *parent = NULL, const char *name = NULL );
~KSpriteSetup();
protected:
@@ -63,7 +63,7 @@ private slots:
private:
int speed;
- QWidget *preview;
+ TQWidget *preview;
KSpriteSaver *saver;
};