diff options
Diffstat (limited to 'korganizer/printing')
-rw-r--r-- | korganizer/printing/calprintdefaultplugins.cpp | 2 | ||||
-rw-r--r-- | korganizer/printing/calprinter.cpp | 2 | ||||
-rw-r--r-- | korganizer/printing/calprintpluginbase.cpp | 6 | ||||
-rw-r--r-- | korganizer/printing/cellitem.cpp | 2 |
4 files changed, 6 insertions, 6 deletions
diff --git a/korganizer/printing/calprintdefaultplugins.cpp b/korganizer/printing/calprintdefaultplugins.cpp index 6fe3a5e39..1e162ecee 100644 --- a/korganizer/printing/calprintdefaultplugins.cpp +++ b/korganizer/printing/calprintdefaultplugins.cpp @@ -52,7 +52,7 @@ static TQString cleanString( const TQString &instr ) { TQString ret = instr; - return ret.tqreplace( '\n', ' ' ); + return ret.replace( '\n', ' ' ); } /************************************************************** diff --git a/korganizer/printing/calprinter.cpp b/korganizer/printing/calprinter.cpp index 54aacd18c..4097f1ed7 100644 --- a/korganizer/printing/calprinter.cpp +++ b/korganizer/printing/calprinter.cpp @@ -255,7 +255,7 @@ void CalPrintDialog::setOrientation( CalPrinter::ePrintOrientation orientation ) KOrg::PrintPlugin *CalPrintDialog::selectedPlugin() { int id = mTypeGroup->selectedId(); - if ( mPluginIDs.tqcontains( id ) ) { + if ( mPluginIDs.contains( id ) ) { return mPluginIDs[id]; } else { return 0; 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 ); } } diff --git a/korganizer/printing/cellitem.cpp b/korganizer/printing/cellitem.cpp index 4dfc882f3..9551ac8ae 100644 --- a/korganizer/printing/cellitem.cpp +++ b/korganizer/printing/cellitem.cpp @@ -65,7 +65,7 @@ TQPtrList<CellItem> CellItem::placeItem( TQPtrList<CellItem> cells, int i; for( i = 0; i < maxSubCells; ++i ) { kdDebug(5855) << " Trying subcell " << i << endl; - if ( !subCellDict.tqfind( i ) ) { + if ( !subCellDict.find( i ) ) { kdDebug(5855) << " Use subcell " << i << endl; placeItem->setSubCell( i ); break; |