From a6edf7391e906592c9321686c046197c74dbbdf9 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sat, 19 Jan 2013 18:46:26 -0600 Subject: [PATCH] Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4 --- src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 293d63e..e0c0a92 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -39,8 +39,8 @@ int main(int argc, char **argv) KAboutData::License_GPL, "(C) 2005-2007 Alexander Nemish", 0, 0, "atlanter@gmail.com"); about.addAuthor("Alexander Nemish", 0, "atlanter@gmail.com"); - KCmdLineArgs::init(argc, argv, &about); - KCmdLineArgs::addCmdLineOptions(options); + TDECmdLineArgs::init(argc, argv, &about); + TDECmdLineArgs::addCmdLineOptions(options); KApplication app; // register ourselves as a dcop client @@ -54,7 +54,7 @@ int main(int argc, char **argv) else { // no session.. just start up normally - KCmdLineArgs *args = KCmdLineArgs::parsedArgs(); + TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs(); BookReader *widget = new BookReader; app.setMainWidget(widget->centralWidget()); if (args->count() == 1)