summaryrefslogtreecommitdiffstats
path: root/korganizer/printing/calprintpluginbase.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/printing/calprintpluginbase.cpp')
-rw-r--r--korganizer/printing/calprintpluginbase.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/korganizer/printing/calprintpluginbase.cpp b/korganizer/printing/calprintpluginbase.cpp
index 3df996528..63eb25f83 100644
--- a/korganizer/printing/calprintpluginbase.cpp
+++ b/korganizer/printing/calprintpluginbase.cpp
@@ -46,7 +46,7 @@ inline int round(const double x)
static TQString cleanStr( const TQString &instr )
{
TQString ret = instr;
- return ret.tqreplace( '\n', ' ' );
+ return ret.replace( '\n', ' ' );
}
/******************************************************************
@@ -1602,7 +1602,7 @@ void CalPrintPluginBase::drawTodo( int &count, Todo *todo, TQPainter &p,
// The problem is that relations() does not apply filters, so
// we need to compare manually with the complete filtered list!
Todo* subtodo = dynamic_cast<Todo *>( *it );
- if (subtodo && todoList.tqcontains( subtodo ) ) {
+ if (subtodo && todoList.contains( subtodo ) ) {
drawTodo( count, subtodo, p, connectSubTodos, strikeoutCompleted,
desc, posPriority, posSummary, posDueDt, posPercentComplete,
level+1, x, y, width, pageHeight, todoList, &startpt );
@@ -1619,7 +1619,7 @@ void CalPrintPluginBase::drawTodo( int &count, Todo *todo, TQPainter &p,
// The problem is that relations() does not apply filters, so
// we need to compare manually with the complete filtered list!
Todo* subtodo = dynamic_cast<Todo *>( *it );
- if ( subtodo && todoList.tqcontains( subtodo ) ) {
+ if ( subtodo && todoList.contains( subtodo ) ) {
t.append( subtodo );
}
}