From f4fae92b6768541e2952173c3d4b09040f95bf7e Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 16 Feb 2011 20:17:18 +0000 Subject: Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkcal/htmlexport.cpp | 56 +++++++++++++++++++++++++------------------------- 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'libkcal/htmlexport.cpp') diff --git a/libkcal/htmlexport.cpp b/libkcal/htmlexport.cpp index c945b88f..f5fde5d9 100644 --- a/libkcal/htmlexport.cpp +++ b/libkcal/htmlexport.cpp @@ -172,14 +172,14 @@ void HtmlExport::createMonthView(TQTextStream *ts) *ts << " "; *ts << "
" << TQString::number(start.day()); - if (mHolidayMap.contains(start)) { + if (mHolidayMap.tqcontains(start)) { *ts << " " << mHolidayMap[start] << ""; } @@ -343,7 +343,7 @@ void HtmlExport::createTodoList ( TQTextStream *ts ) } // FIXME: Sort list by priorities. This is brute force and should be - // replaced by a real sorting algorithm. + // tqreplaced by a real sorting algorithm. Todo::List todoList; for ( int i = 1; i <= 9; ++i ) { for( it = rawTodoList.begin(); it != rawTodoList.end(); ++it ) { @@ -403,7 +403,7 @@ void HtmlExport::createTodoList ( TQTextStream *ts ) Todo::List sortedList; // FIXME: Sort list by priorities. This is brute force and should be - // replaced by a real sorting algorithm. + // tqreplaced by a real sorting algorithm. for ( int i = 1; i <= 9; ++i ) { Incidence::List::ConstIterator it2; for( it2 = relations.begin(); it2 != relations.end(); ++it2 ) { @@ -559,7 +559,7 @@ void HtmlExport::formatAttendees( TQTextStream *ts, Incidence *event ) #ifndef KORG_NOKABC KABC::AddressBook *add_book = KABC::StdAddressBook::self( true ); KABC::Addressee::List addressList; - addressList = add_book->findByEmail(event->organizer().email()); + addressList = add_book->tqfindByEmail(event->organizer().email()); KABC::Addressee o = addressList.first(); if (!o.isEmpty() && addressList.size()<2) { *ts << "organizer().email() << "\">"; @@ -589,7 +589,7 @@ void HtmlExport::formatAttendees( TQTextStream *ts, Incidence *event ) TQString HtmlExport::breakString(const TQString &text) { - int number = text.contains("\n"); + int number = text.tqcontains("\n"); if(number < 0) { return text; } else { @@ -640,28 +640,28 @@ void HtmlExport::createFooter( TQTextStream *ts ) TQString HtmlExport::cleanChars(const TQString &text) { TQString txt = text; - txt = txt.replace( "&", "&" ); - txt = txt.replace( "<", "<" ); - txt = txt.replace( ">", ">" ); - txt = txt.replace( "\"", """ ); - txt = txt.replace( TQString::fromUtf8("ä"), "ä" ); - txt = txt.replace( TQString::fromUtf8("á"), "á" ); - txt = txt.replace( TQString::fromUtf8("à"), "à" ); - txt = txt.replace( TQString::fromUtf8("â"), "â" ); - txt = txt.replace( TQString::fromUtf8("Ä"), "Ä" ); - txt = txt.replace( TQString::fromUtf8("ó"), "ó" ); - txt = txt.replace( TQString::fromUtf8("ô"), "ô" ); - txt = txt.replace( TQString::fromUtf8("ö"), "ö" ); - txt = txt.replace( TQString::fromUtf8("Ö"), "Ö" ); - txt = txt.replace( TQString::fromUtf8("ü"), "ü" ); - txt = txt.replace( TQString::fromUtf8("Ü"), "Ü" ); - txt = txt.replace( TQString::fromUtf8("ß"), "ß" ); - txt = txt.replace( TQString::fromUtf8("€"), "€" ); - txt = txt.replace( TQString::fromUtf8("é"), "é" ); - txt = txt.replace( TQString::fromUtf8("ë"), "ë" ); - txt = txt.replace( TQString::fromUtf8("è"), "è" ); - txt = txt.replace( TQString::fromUtf8("ñ"), "ñ" ); - txt = txt.replace( TQString::fromUtf8("ç"), "ç" ); + txt = txt.tqreplace( "&", "&" ); + txt = txt.tqreplace( "<", "<" ); + txt = txt.tqreplace( ">", ">" ); + txt = txt.tqreplace( "\"", """ ); + txt = txt.tqreplace( TQString::fromUtf8("ä"), "ä" ); + txt = txt.tqreplace( TQString::fromUtf8("á"), "á" ); + txt = txt.tqreplace( TQString::fromUtf8("à"), "à" ); + txt = txt.tqreplace( TQString::fromUtf8("â"), "â" ); + txt = txt.tqreplace( TQString::fromUtf8("Ä"), "Ä" ); + txt = txt.tqreplace( TQString::fromUtf8("ó"), "ó" ); + txt = txt.tqreplace( TQString::fromUtf8("ô"), "ô" ); + txt = txt.tqreplace( TQString::fromUtf8("ö"), "ö" ); + txt = txt.tqreplace( TQString::fromUtf8("Ö"), "Ö" ); + txt = txt.tqreplace( TQString::fromUtf8("ü"), "ü" ); + txt = txt.tqreplace( TQString::fromUtf8("Ü"), "Ü" ); + txt = txt.tqreplace( TQString::fromUtf8("ß"), "ß" ); + txt = txt.tqreplace( TQString::fromUtf8("€"), "€" ); + txt = txt.tqreplace( TQString::fromUtf8("é"), "é" ); + txt = txt.tqreplace( TQString::fromUtf8("ë"), "ë" ); + txt = txt.tqreplace( TQString::fromUtf8("è"), "è" ); + txt = txt.tqreplace( TQString::fromUtf8("ñ"), "ñ" ); + txt = txt.tqreplace( TQString::fromUtf8("ç"), "ç" ); return txt; } -- cgit v1.2.3