summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:33 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:33 -0600
commit0e5bdd6a8bd27439624c8b4e9a3cf748ddc3e37a (patch)
treebaa1fb0e280f39a545e7affdbc2425f98dcad901
parent2c2b3075b1ec80e552956a1b1dad9ef74365cd97 (diff)
downloadtellico-0e5bdd6a8bd27439624c8b4e9a3cf748ddc3e37a.tar.gz
tellico-0e5bdd6a8bd27439624c8b4e9a3cf748ddc3e37a.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 d7fb677..e04e414 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -52,8 +52,8 @@ int main(int argc, char* argv[]) {
aboutData.addCredit("Valentin Lavrinenko", I18N_NOOP("Author of rtf2html library"),
0, 0);
- KCmdLineArgs::init(argc, argv, &aboutData);
- KCmdLineArgs::addCmdLineOptions(options);
+ TDECmdLineArgs::init(argc, argv, &aboutData);
+ TDECmdLineArgs::addCmdLineOptions(options);
KApplication app;
@@ -64,7 +64,7 @@ int main(int argc, char* argv[]) {
tellico->show();
tellico->slotShowTipOfDay(false);
- KCmdLineArgs* args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs* args = TDECmdLineArgs::parsedArgs();
if(args->count() > 0) {
if(args->isSet("bibtex")) {
tellico->importFile(Tellico::Import::Bibtex, args->url(0), Tellico::Import::Replace);