summaryrefslogtreecommitdiffstats
path: root/ksmiletris/gamewidget.h
diff options
context:
space:
mode:
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();