From 2e384e286e5ec2f884ceab9a360f90f544554066 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 20 Jan 2013 00:19:04 -0600 Subject: Rename KApplication to TDEApplication to avoid conflicts with KDE4 --- ktuberling/main.cpp | 2 +- ktuberling/toplevel.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'ktuberling') 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"); -- cgit v1.2.1