summaryrefslogtreecommitdiffstats
path: root/ktuberling
diff options
context:
space:
mode:
authorTimothy Pearson <[email protected]>2013-01-20 00:19:04 -0600
committerTimothy Pearson <[email protected]>2013-01-20 00:19:04 -0600
commit2e384e286e5ec2f884ceab9a360f90f544554066 (patch)
tree44e1defd7efd7f8f09d446992685d167ec546e5f /ktuberling
parent4ffd16a310c74db19a5ba0c297234470f01cd7b3 (diff)
downloadtdegames-2e384e286e5ec2f884ceab9a360f90f544554066.tar.gz
tdegames-2e384e286e5ec2f884ceab9a360f90f544554066.zip
Rename KApplication to TDEApplication to avoid conflicts with KDE4
Diffstat (limited to 'ktuberling')
-rw-r--r--ktuberling/main.cpp2
-rw-r--r--ktuberling/toplevel.cpp4
2 files changed, 3 insertions, 3 deletions
diff --git a/ktuberling/main.cpp b/ktuberling/main.cpp
index 482902e5..fd8fc1de 100644
--- a/ktuberling/main.cpp
+++ b/ktuberling/main.cpp
@@ -39,7 +39,7 @@ int main(int argc, char *argv[])
TDECmdLineArgs::init(argc, argv, &aboutData);
TDECmdLineArgs::addCmdLineOptions(options);
- KApplication app;
+ TDEApplication app;
KGlobal::locale()->insertCatalogue("libtdegames");
KImageIO::registerFormats();
diff --git a/ktuberling/toplevel.cpp b/ktuberling/toplevel.cpp
index 8f480dc3..cec08987 100644
--- a/ktuberling/toplevel.cpp
+++ b/ktuberling/toplevel.cpp
@@ -215,7 +215,7 @@ void TopLevel::readOptions()
KConfig *config;
TQString option;
- config = KApplication::kApplication()->config();
+ config = TDEApplication::kApplication()->config();
config->setGroup("General");
option = config->readEntry("Sound", "on");
@@ -238,7 +238,7 @@ void TopLevel::writeOptions()
{
KConfig *config;
- config = KApplication::kApplication()->config();
+ config = TDEApplication::kApplication()->config();
config->setGroup("General");
config->writeEntry("Sound", soundEnabled? "on": "off");