summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:26 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:26 -0600
commita6edf7391e906592c9321686c046197c74dbbdf9 (patch)
tree3a5b15cdd53d9c473481fa8fa122ffd398d83708
parent826865dd84a28132b78cddc5b00ad89ad9cc463e (diff)
downloadkbookreader-a6edf739.tar.gz
kbookreader-a6edf739.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
-rw-r--r--src/main.cpp6
1 files 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)