diff options
Diffstat (limited to 'libkcal/htmlexport.cpp')
-rw-r--r-- | libkcal/htmlexport.cpp | 56 |
1 files changed, 28 insertions, 28 deletions
diff --git a/libkcal/htmlexport.cpp b/libkcal/htmlexport.cpp index c945b88f0..f5fde5d9d 100644 --- a/libkcal/htmlexport.cpp +++ b/libkcal/htmlexport.cpp @@ -172,14 +172,14 @@ void HtmlExport::createMonthView(TQTextStream *ts) *ts << " <td valign=\"top\"><table border=\"0\">"; *ts << "<tr><td "; - if (mHolidayMap.contains(start) || start.dayOfWeek() == 7) { + if (mHolidayMap.tqcontains(start) || start.dayOfWeek() == 7) { *ts << "class=\"dateholiday\""; } else { *ts << "class=\"date\""; } *ts << ">" << TQString::number(start.day()); - if (mHolidayMap.contains(start)) { + if (mHolidayMap.tqcontains(start)) { *ts << " <em>" << mHolidayMap[start] << "</em>"; } @@ -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 << "<a href=\"mailto:" << event->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; } |