summaryrefslogtreecommitdiffstats
path: root/libkcal/htmlexport.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libkcal/htmlexport.cpp')
-rw-r--r--libkcal/htmlexport.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/libkcal/htmlexport.cpp b/libkcal/htmlexport.cpp
index f5fde5d9d..387ba1730 100644
--- a/libkcal/htmlexport.cpp
+++ b/libkcal/htmlexport.cpp
@@ -332,18 +332,18 @@ void HtmlExport::createTodoList ( TQTextStream *ts )
Todo *subev = ev;
if ( ev->relatedTo() ) {
if ( ev->relatedTo()->type()=="Todo" ) {
- if ( rawTodoList.find( static_cast<Todo *>( ev->relatedTo() ) ) ==
+ if ( rawTodoList.tqfind( static_cast<Todo *>( ev->relatedTo() ) ) ==
rawTodoList.end() ) {
rawTodoList.append( static_cast<Todo *>( ev->relatedTo() ) );
}
}
}
- it = rawTodoList.find( subev );
+ it = rawTodoList.tqfind( subev );
++it;
}
// FIXME: Sort list by priorities. This is brute force and should be
- // tqreplaced by a real sorting algorithm.
+ // replaced 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
- // tqreplaced by a real sorting algorithm.
+ // replaced 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->tqfindByEmail(event->organizer().email());
+ addressList = add_book->findByEmail(event->organizer().email());
KABC::Addressee o = addressList.first();
if (!o.isEmpty() && addressList.size()<2) {
*ts << "<a href=\"mailto:" << event->organizer().email() << "\">";
@@ -598,7 +598,7 @@ TQString HtmlExport::breakString(const TQString &text)
int pos = 0;
TQString tmp;
for(int i=0;i<=number;i++) {
- pos = tmpText.find("\n");
+ pos = tmpText.tqfind("\n");
tmp = tmpText.left(pos);
tmpText = tmpText.right(tmpText.length() - pos - 1);
out += tmp + "<br />";