summaryrefslogtreecommitdiffstats
path: root/ksmiletris/gamewidget.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-07-31 19:42:31 +0000
commit576eb4299a00bc053db35414406f46372a0f70f2 (patch)
tree4c030922d533821db464af566188e7d40cc8848c /ksmiletris/gamewidget.h
parent0718336b6017d1a4fc1d626544180a5a2a29ddec (diff)
downloadtdegames-576eb4299a00bc053db35414406f46372a0f70f2.tar.gz
tdegames-576eb4299a00bc053db35414406f46372a0f70f2.zip
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ksmiletris/gamewidget.h')
-rw-r--r--ksmiletris/gamewidget.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/ksmiletris/gamewidget.h b/ksmiletris/gamewidget.h
index 49901650..ca826395 100644
--- a/ksmiletris/gamewidget.h
+++ b/ksmiletris/gamewidget.h
@@ -24,7 +24,7 @@ this software.
#ifndef GAMEWIDGET_H
#define GAMEWIDGET_H
-#include <qwidget.h>
+#include <tqwidget.h>
#include <krandomsequence.h>
#include "ksmiletris.h"
@@ -34,7 +34,7 @@ class MirrorWidget;
class NextPieceWidget;
class QTimer;
-class GameWidget : public QWidget {
+class GameWidget : public TQWidget {
Q_OBJECT
signals:
@@ -47,7 +47,7 @@ public:
int num_level;
int num_points;
- GameWidget(QWidget *parent=0, const char *name=0);
+ GameWidget(TQWidget *parent=0, const char *name=0);
~GameWidget();
void setPieces(PiecesType type);
@@ -65,7 +65,7 @@ public:
void repaintChilds();
private:
- QPixmap *sprites;
+ TQPixmap *sprites;
ScreenWidget *screen;
MirrorWidget *mirror;
NextPieceWidget *next;
@@ -77,15 +77,15 @@ private:
Sprite bg_sprite;
int timer_interval;
bool fast_mode;
- QTimer *timer;
+ TQTimer *timer;
KRandomSequence random;
int num_pieces_level;
void playSound(Sound s);
void loadSprites();
- void loadSprite(Sprite spr, const QString & path);
- void loadMaskedSprite(Sprite spr, const QString & path1, const QString & path2);
+ void loadSprite(Sprite spr, const TQString & path);
+ void loadMaskedSprite(Sprite spr, const TQString & path1, const TQString & path2);
void newBlock();
void putPiece();
void getPiece();