summaryrefslogtreecommitdiffstats
path: root/ktux/sprite.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 21:31:21 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-22 21:31:21 +0000
commita1bd60b34891ccc77056c190d7871bc4b14fe654 (patch)
tree713f2f72c8f08a18df12f5bbeef7f9b61b19d4f1 /ktux/sprite.h
parent8d92c3c2a4131996726cc7b625d3cd3caec296de (diff)
downloadtdetoys-a1bd60b34891ccc77056c190d7871bc4b14fe654.tar.gz
tdetoys-a1bd60b34891ccc77056c190d7871bc4b14fe654.zip
TQt4 port kdetoys
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdetoys@1238103 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ktux/sprite.h')
-rw-r--r--ktux/sprite.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/ktux/sprite.h b/ktux/sprite.h
index 2414d68..236fddd 100644
--- a/ktux/sprite.h
+++ b/ktux/sprite.h
@@ -20,6 +20,7 @@
class KSpriteSaver : public KScreenSaver
{
Q_OBJECT
+ TQ_OBJECT
public:
KSpriteSaver( WId id );
virtual ~KSpriteSaver();
@@ -38,19 +39,20 @@ protected:
virtual void timerEvent(TQTimerEvent *);
protected:
- QCanvas *mCanvas;
- QCanvasView *mView;
- QTimer mTimer;
+ TQCanvas *mCanvas;
+ TQCanvasView *mView;
+ TQTimer mTimer;
int mSpeed;
TQPtrList<SpriteGroup> mGroups;
TQMemArray<int> mTimerIds;
};
-class KSpriteSetup : public QDialog
+class KSpriteSetup : public TQDialog
{
Q_OBJECT
+ TQ_OBJECT
public:
- KSpriteSetup( TQWidget *parent = NULL, const char *name = NULL );
+ KSpriteSetup( TQWidget *tqparent = NULL, const char *name = NULL );
~KSpriteSetup();
protected: