summaryrefslogtreecommitdiffstats
path: root/libkcal/convertqtopia.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-13 00:46:47 +0000
commit67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (patch)
tree5f52a9eada2e9f3654fc327d7c14dfef570a6ecb /libkcal/convertqtopia.cpp
parent2ee4bf4fd5eff93b2fbef0ff8e8063edffc5da5c (diff)
downloadtdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.tar.gz
tdepim-67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7.zip
Initial conversion of kdepim to TQt
This will probably require some tweaking before it will build under Qt4, however Qt3 builds are OK. Any alterations this commit makes to kdepim behaviour under Qt3 are unintentional and should be fixed. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227832 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'libkcal/convertqtopia.cpp')
-rw-r--r--libkcal/convertqtopia.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/libkcal/convertqtopia.cpp b/libkcal/convertqtopia.cpp
index be02fd66f..0e4b4352c 100644
--- a/libkcal/convertqtopia.cpp
+++ b/libkcal/convertqtopia.cpp
@@ -39,7 +39,7 @@ using namespace KCal;
static const KCmdLineOptions options[] =
{
{"q", 0, 0 },
- {"qtopia2icalendar", I18N_NOOP("Convert Qtopia calendar file to iCalendar"), 0 },
+ {"qtopia2icalendar", I18N_NOOP("Convert TQtopia calendar file to iCalendar"), 0 },
{"i", 0, 0 },
{"icalendar2qtopia", I18N_NOOP("Convert iCalendar to iCalendar"), 0 },
{"o", 0, 0},
@@ -50,7 +50,7 @@ static const KCmdLineOptions options[] =
int main(int argc,char **argv)
{
- KAboutData aboutData("convertqtopia",I18N_NOOP("Qtopia calendar file converter"),"0.1");
+ KAboutData aboutData("convertqtopia",I18N_NOOP("TQtopia calendar file converter"),"0.1");
aboutData.addAuthor("Cornelius Schumacher", 0, "schumacher@kde.org");
KCmdLineArgs::init(argc,argv,&aboutData);
@@ -60,22 +60,22 @@ int main(int argc,char **argv)
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
- bool sourceQtopia = false;
+ bool sourceTQtopia = false;
bool sourceIcalendar = false;
if ( args->isSet( "qtopia2icalendar" ) ) {
- sourceQtopia = true;
+ sourceTQtopia = true;
}
if ( args->isSet( "icalendar2qtopia" ) ) {
sourceIcalendar = true;
}
- if ( sourceQtopia && sourceIcalendar ) {
+ if ( sourceTQtopia && sourceIcalendar ) {
KCmdLineArgs::usage(
i18n("Please specify only one of the conversion options.") );
}
- if ( !sourceQtopia && !sourceIcalendar ) {
+ if ( !sourceTQtopia && !sourceIcalendar ) {
KCmdLineArgs::usage(
i18n("You have to specify one conversion option.") );
}
@@ -92,10 +92,10 @@ int main(int argc,char **argv)
kdDebug(5800) << "Input File: '" << inputFile << "'" << endl;
kdDebug(5800) << "Output File: '" << outputFile << "'" << endl;
- if ( sourceQtopia ) {
+ if ( sourceTQtopia ) {
CalendarLocal cal;
- QtopiaFormat qtopiaFormat;
+ TQtopiaFormat qtopiaFormat;
qtopiaFormat.load( &cal, inputFile );
ICalFormat icalendarFormat;