summaryrefslogtreecommitdiffstats
path: root/ksmiletris/npiecewidget.cpp
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/npiecewidget.cpp
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/npiecewidget.cpp')
-rw-r--r--ksmiletris/npiecewidget.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/ksmiletris/npiecewidget.cpp b/ksmiletris/npiecewidget.cpp
index 5df68f8e..9e87a9a0 100644
--- a/ksmiletris/npiecewidget.cpp
+++ b/ksmiletris/npiecewidget.cpp
@@ -23,29 +23,29 @@ this software.
#include "config.h"
-#include <qframe.h>
-#include <qpainter.h>
-#include <qpixmap.h>
+#include <tqframe.h>
+#include <tqpainter.h>
+#include <tqpixmap.h>
#include "ksmiletris.h"
#include "npiecewidget.h"
-NextPieceWidget::NextPieceWidget(QPixmap *s, bool *game, bool *pause,
- QWidget *parent, const char *name)
- : QFrame(parent, name)
+NextPieceWidget::NextPieceWidget(TQPixmap *s, bool *game, bool *pause,
+ TQWidget *parent, const char *name)
+ : TQFrame(parent, name)
{
in_game = game;
in_pause = pause;
sprites = s;
- setFrameStyle(QFrame::Box | QFrame::Raised);
+ setFrameStyle(TQFrame::Box | TQFrame::Raised);
setLineWidth(2);
setMidLineWidth(1);
resize(2 * sprite_width + 10, 2 * sprite_height + 10);
}
-void NextPieceWidget::drawContents(QPainter *p)
+void NextPieceWidget::drawContents(TQPainter *p)
{
- QRect r = contentsRect();
+ TQRect r = contentsRect();
if (!*in_game) {
p->fillRect(r, black);