summaryrefslogtreecommitdiffstats
path: root/kgoldrunner
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:19:04 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-20 00:19:04 -0600
commit2e384e286e5ec2f884ceab9a360f90f544554066 (patch)
tree44e1defd7efd7f8f09d446992685d167ec546e5f /kgoldrunner
parent4ffd16a310c74db19a5ba0c297234470f01cd7b3 (diff)
downloadtdegames-2e384e286e5ec2f884ceab9a360f90f544554066.tar.gz
tdegames-2e384e286e5ec2f884ceab9a360f90f544554066.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'kgoldrunner')
-rw-r--r--kgoldrunner/src/kgoldrunner.cpp2
-rw-r--r--kgoldrunner/src/main.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kgoldrunner/src/kgoldrunner.cpp b/kgoldrunner/src/kgoldrunner.cpp
index 54726d8f..9497a7ef 100644
--- a/kgoldrunner/src/kgoldrunner.cpp
+++ b/kgoldrunner/src/kgoldrunner.cpp
@@ -100,7 +100,7 @@ KGoldrunner::KGoldrunner()
#ifdef QT3
// Base size of playing-area and widgets on the monitor resolution.
- int dw = KApplication::desktop()->width();
+ int dw = TDEApplication::desktop()->width();
if (dw > 800) { // More than 800x600.
view->changeSize (+1); // Scale 1.25:1.
}
diff --git a/kgoldrunner/src/main.cpp b/kgoldrunner/src/main.cpp
index f7058c20..5c6c0b9d 100644
--- a/kgoldrunner/src/main.cpp
+++ b/kgoldrunner/src/main.cpp
@@ -28,7 +28,7 @@ int main (int argc, char **argv)
TDECmdLineArgs::init (argc, argv, &about);
- KApplication app;
+ TDEApplication app;
// Register as a DCOP client.
app.dcopClient()->registerAs (app.name(), false);