summaryrefslogtreecommitdiffstats
path: root/kmines/dialogs.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-11 04:58:26 +0000
commit838baf3f99ec5ab81b063eb5449a3381d860f377 (patch)
treedd31abcfde08ca92e4623b8f50b3d762a87c997a /kmines/dialogs.cpp
parent2bf598bafa22fac4126fc8842df6b0119aadc0e9 (diff)
downloadtdegames-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 'kmines/dialogs.cpp')
-rw-r--r--kmines/dialogs.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kmines/dialogs.cpp b/kmines/dialogs.cpp
index ad956c30..a81c8d91 100644
--- a/kmines/dialogs.cpp
+++ b/kmines/dialogs.cpp
@@ -61,8 +61,8 @@ void Smiley::setMood(Mood mood)
}
//-----------------------------------------------------------------------------
-DigitalClock::DigitalClock(TQWidget *parent)
-: KGameLCDClock(parent, "digital_clock")
+DigitalClock::DigitalClock(TQWidget *tqparent)
+: KGameLCDClock(tqparent, "digital_clock")
{
setFrameStyle(Panel | Sunken);
setDefaultBackgroundColor(black);
@@ -165,7 +165,7 @@ void CustomConfig::updateNbMines()
Level l(_width->value(), _height->value(), _mines->value());
_mines->setRange(1, Level::maxNbMines(l.width(), l.height()));
_mines->setLabel(i18n("Mines (%1%):")
- .arg( (100*l.nbMines()) / (l.width() * l.height()) ));
+ .tqarg( (100*l.nbMines()) / (l.width() * l.height()) ));
_gameType->setCurrentItem(l.type());
_block = false;
}
@@ -249,7 +249,7 @@ GameConfig::GameConfig()
void GameConfig::magicModified(bool on)
{
if ( !_magicDialogEnabled || !on ) return;
- KMessageBox::information(this, i18n("When the \"magic\" reveal is on, you lose the ability to enter the highscores."), TQString::null, "magic_reveal_warning");
+ KMessageBox::information(this, i18n("When the \"magic\" reveal is on, you lose the ability to enter the highscores."), TQString(), "magic_reveal_warning");
}
//-----------------------------------------------------------------------------