From 576eb4299a00bc053db35414406f46372a0f70f2 Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:42:31 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1157643 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksmiletris/mirrorwidget.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'ksmiletris/mirrorwidget.cpp') diff --git a/ksmiletris/mirrorwidget.cpp b/ksmiletris/mirrorwidget.cpp index 43ae0175..8a7447eb 100644 --- a/ksmiletris/mirrorwidget.cpp +++ b/ksmiletris/mirrorwidget.cpp @@ -23,29 +23,29 @@ this software. #include "config.h" -#include -#include -#include +#include +#include +#include #include "ksmiletris.h" #include "mirrorwidget.h" -MirrorWidget::MirrorWidget(QPixmap *s, bool *game, bool *pause, - QWidget *parent, const char *name) - : QFrame(parent, name) +MirrorWidget::MirrorWidget(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(scr_width * sprite_width + 10, sprite_height + 10); } -void MirrorWidget::drawContents(QPainter *p) +void MirrorWidget::drawContents(TQPainter *p) { - QRect r = contentsRect(); + TQRect r = contentsRect(); if (!*in_game) { p->fillRect(r, black); -- cgit v1.2.1