From 67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 13 Apr 2011 00:46:47 +0000 Subject: 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 --- libkcal/convertqtopia.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'libkcal/convertqtopia.cpp') 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; -- cgit v1.2.1