summaryrefslogtreecommitdiffstats
path: root/kblackbox
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:45:16 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-24 13:45:16 -0600
commitf3141fbf4b9ff6dd0f37e08aa552ab71e8f391c7 (patch)
treeb312fd7d5b7a34b88941b2fc50661431637b78b4 /kblackbox
parent23a5c62758c4898e3afc1b8bb4c3ae78f4b526ac (diff)
downloadtdegames-f3141fbf4b9ff6dd0f37e08aa552ab71e8f391c7.tar.gz
tdegames-f3141fbf4b9ff6dd0f37e08aa552ab71e8f391c7.zip
Rename KGlobal, KProcess, and KClipboard to avoid conflicts with KDE4
Diffstat (limited to 'kblackbox')
-rw-r--r--kblackbox/kbbgame.cpp6
-rw-r--r--kblackbox/main.cpp2
2 files changed, 4 insertions, 4 deletions
diff --git a/kblackbox/kbbgame.cpp b/kblackbox/kbbgame.cpp
index dbaf2bc7..4855058f 100644
--- a/kblackbox/kbbgame.cpp
+++ b/kblackbox/kbbgame.cpp
@@ -326,12 +326,12 @@ void KBBGame::gameFinished()
"I guess you need more practice.");
KMessageBox::information(this,
- s.arg(KGlobal::locale()->formatNumber(score, 0)));
+ s.arg(TDEGlobal::locale()->formatNumber(score, 0)));
} else {
s = i18n( "You should place %1 balls!\n"
"You have placed %2.")
- .arg(KGlobal::locale()->formatNumber(balls, 0))
- .arg(KGlobal::locale()->formatNumber(ballsPlaced, 0));
+ .arg(TDEGlobal::locale()->formatNumber(balls, 0))
+ .arg(TDEGlobal::locale()->formatNumber(ballsPlaced, 0));
KMessageBox::sorry(this, s);
}
diff --git a/kblackbox/main.cpp b/kblackbox/main.cpp
index 1a0180eb..7fd684b2 100644
--- a/kblackbox/main.cpp
+++ b/kblackbox/main.cpp
@@ -33,7 +33,7 @@ int main( int argc, char **argv )
TDECmdLineArgs::init( argc, argv, &aboutData );
TDEApplication a;
- KGlobal::locale()->insertCatalogue("libtdegames");
+ TDEGlobal::locale()->insertCatalogue("libtdegames");
if (a.isRestored())
RESTORE(KBBGame)