summaryrefslogtreecommitdiffstats
path: root/libkcal/convertqtopia.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:47 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-19 18:46:47 -0600
commit32b66c9ae78f439199a6d281cc33218e57c5106d (patch)
treee92cf1651596c736188317c75eeb1ce5662d57bd /libkcal/convertqtopia.cpp
parentd29a9ff5829fa930c466b98cb93a4cbdd24b1fa2 (diff)
downloadtdepim-32b66c9ae78f439199a6d281cc33218e57c5106d.tar.gz
tdepim-32b66c9ae78f439199a6d281cc33218e57c5106d.zip
Rename KCmdLineArgs to TDECmdLineArgs to avoid conflicts with KDE4
Diffstat (limited to 'libkcal/convertqtopia.cpp')
-rw-r--r--libkcal/convertqtopia.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libkcal/convertqtopia.cpp b/libkcal/convertqtopia.cpp
index 0e4b4352c..b1af7f8c2 100644
--- a/libkcal/convertqtopia.cpp
+++ b/libkcal/convertqtopia.cpp
@@ -53,12 +53,12 @@ int main(int argc,char **argv)
KAboutData aboutData("convertqtopia",I18N_NOOP("TQtopia calendar file converter"),"0.1");
aboutData.addAuthor("Cornelius Schumacher", 0, "schumacher@kde.org");
- KCmdLineArgs::init(argc,argv,&aboutData);
- KCmdLineArgs::addCmdLineOptions( options );
+ TDECmdLineArgs::init(argc,argv,&aboutData);
+ TDECmdLineArgs::addCmdLineOptions( options );
KApplication app;
- KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
+ TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
bool sourceTQtopia = false;
bool sourceIcalendar = false;
@@ -72,16 +72,16 @@ int main(int argc,char **argv)
}
if ( sourceTQtopia && sourceIcalendar ) {
- KCmdLineArgs::usage(
+ TDECmdLineArgs::usage(
i18n("Please specify only one of the conversion options.") );
}
if ( !sourceTQtopia && !sourceIcalendar ) {
- KCmdLineArgs::usage(
+ TDECmdLineArgs::usage(
i18n("You have to specify one conversion option.") );
}
if ( args->count() != 1 ) {
- KCmdLineArgs::usage( i18n("Error: No input file.") );
+ TDECmdLineArgs::usage( i18n("Error: No input file.") );
}
TQString inputFile = args->arg( 0 );