summaryrefslogtreecommitdiffstats
path: root/libkcal/htmlexport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/htmlexport.cpp')
-rw-r--r--libkcal/htmlexport.cpp56
1 files changed, 28 insertions, 28 deletions
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 << " <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( "&", "&amp;" );
- txt = txt.replace( "<", "&lt;" );
- txt = txt.replace( ">", "&gt;" );
- txt = txt.replace( "\"", "&quot;" );
- txt = txt.replace( TQString::fromUtf8("ä"), "&auml;" );
- txt = txt.replace( TQString::fromUtf8("á"), "&aacute;" );
- txt = txt.replace( TQString::fromUtf8("à"), "&agrave;" );
- txt = txt.replace( TQString::fromUtf8("â"), "&acirc;" );
- txt = txt.replace( TQString::fromUtf8("Ä"), "&Auml;" );
- txt = txt.replace( TQString::fromUtf8("ó"), "&oacute;" );
- txt = txt.replace( TQString::fromUtf8("ô"), "&ocirc;" );
- txt = txt.replace( TQString::fromUtf8("ö"), "&ouml;" );
- txt = txt.replace( TQString::fromUtf8("Ö"), "&Ouml;" );
- txt = txt.replace( TQString::fromUtf8("ü"), "&uuml;" );
- txt = txt.replace( TQString::fromUtf8("Ü"), "&Uuml;" );
- txt = txt.replace( TQString::fromUtf8("ß"), "&szlig;" );
- txt = txt.replace( TQString::fromUtf8("€"), "&euro;" );
- txt = txt.replace( TQString::fromUtf8("é"), "&eacute;" );
- txt = txt.replace( TQString::fromUtf8("ë"), "&euml;" );
- txt = txt.replace( TQString::fromUtf8("è"), "&egrave;" );
- txt = txt.replace( TQString::fromUtf8("ñ"), "&ntilde;" );
- txt = txt.replace( TQString::fromUtf8("ç"), "&ccedil;" );
+ txt = txt.tqreplace( "&", "&amp;" );
+ txt = txt.tqreplace( "<", "&lt;" );
+ txt = txt.tqreplace( ">", "&gt;" );
+ txt = txt.tqreplace( "\"", "&quot;" );
+ txt = txt.tqreplace( TQString::fromUtf8("ä"), "&auml;" );
+ txt = txt.tqreplace( TQString::fromUtf8("á"), "&aacute;" );
+ txt = txt.tqreplace( TQString::fromUtf8("à"), "&agrave;" );
+ txt = txt.tqreplace( TQString::fromUtf8("â"), "&acirc;" );
+ txt = txt.tqreplace( TQString::fromUtf8("Ä"), "&Auml;" );
+ txt = txt.tqreplace( TQString::fromUtf8("ó"), "&oacute;" );
+ txt = txt.tqreplace( TQString::fromUtf8("ô"), "&ocirc;" );
+ txt = txt.tqreplace( TQString::fromUtf8("ö"), "&ouml;" );
+ txt = txt.tqreplace( TQString::fromUtf8("Ö"), "&Ouml;" );
+ txt = txt.tqreplace( TQString::fromUtf8("ü"), "&uuml;" );
+ txt = txt.tqreplace( TQString::fromUtf8("Ü"), "&Uuml;" );
+ txt = txt.tqreplace( TQString::fromUtf8("ß"), "&szlig;" );
+ txt = txt.tqreplace( TQString::fromUtf8("€"), "&euro;" );
+ txt = txt.tqreplace( TQString::fromUtf8("é"), "&eacute;" );
+ txt = txt.tqreplace( TQString::fromUtf8("ë"), "&euml;" );
+ txt = txt.tqreplace( TQString::fromUtf8("è"), "&egrave;" );
+ txt = txt.tqreplace( TQString::fromUtf8("ñ"), "&ntilde;" );
+ txt = txt.tqreplace( TQString::fromUtf8("ç"), "&ccedil;" );
return txt;
}