diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 04:58:26 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-11 04:58:26 +0000 |
commit | 838baf3f99ec5ab81b063eb5449a3381d860f377 (patch) | |
tree | dd31abcfde08ca92e4623b8f50b3d762a87c997a /klines/ballpainter.cpp | |
parent | 2bf598bafa22fac4126fc8842df6b0119aadc0e9 (diff) | |
download | tdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.tar.gz tdegames-838baf3f99ec5ab81b063eb5449a3381d860f377.zip |
TQt4 port kdegames
This enables compilation under both Qt3 and Qt4
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegames@1236074 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'klines/ballpainter.cpp')
-rw-r--r-- | klines/ballpainter.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/klines/ballpainter.cpp b/klines/ballpainter.cpp index 76156f11..131b81f8 100644 --- a/klines/ballpainter.cpp +++ b/klines/ballpainter.cpp @@ -67,7 +67,7 @@ void BallPainter::createPix() locate( "appdata", "fire.jpg" )); if (balls->isNull() ||backgroundPix->isNull() || fire->isNull() ) { KMessageBox::error(0, i18n("Unable to find graphics. Check your installation."), i18n("Error")); - qApp->exit(1); + tqApp->exit(1); return; // Error } @@ -82,12 +82,12 @@ void BallPainter::createPix() if (Prefs::numberedBalls() && (t == NORMALBALL)) { if ((c == 2) || (c == 3) || (c == 6)) - p.setPen(Qt::black); + p.setPen(TQt::black); else - p.setPen(Qt::white); + p.setPen(TQt::white); TQString tmp; tmp.setNum(c+1); - p.drawText(TQRect(0,0,CELLSIZE,CELLSIZE), Qt::AlignCenter, tmp); + p.drawText(TQRect(0,0,CELLSIZE,CELLSIZE), TQt::AlignCenter, tmp); } } |