From 560378aaca1784ba19806a0414a32b20c744de39 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 04:12:51 +0000 Subject: Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1 NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kate/part/kateprinter.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'kate/part/kateprinter.cpp') diff --git a/kate/part/kateprinter.cpp b/kate/part/kateprinter.cpp index e0dbdc728..f7869afef 100644 --- a/kate/part/kateprinter.cpp +++ b/kate/part/kateprinter.cpp @@ -184,7 +184,7 @@ bool KatePrinter::print (KateDocument *doc) // This retrieves all tags, ued or not, but // none of theese operations should be expensive, // and searcing each tag in the format strings is avoided. - TQDateTime dt = TQDateTime::currentDateTime(); + TQDateTime dt = TQDateTime::tqcurrentDateTime(); TQMap tags; KUser u (KUser::UseRealUserID); @@ -221,7 +221,7 @@ bool KatePrinter::print (KateDocument *doc) while ( pos > -1 ) { rep = tags[reTags.cap( 1 )]; - headerTags.replace( (uint)pos, 2, rep ); + headerTags.tqreplace( (uint)pos, 2, rep ); pos += rep.length(); pos = reTags.search( headerTags, pos ); } @@ -248,7 +248,7 @@ bool KatePrinter::print (KateDocument *doc) while ( pos > -1 ) { rep = tags[reTags.cap( 1 )]; - footerTags.replace( (uint)pos, 2, rep ); + footerTags.tqreplace( (uint)pos, 2, rep ); pos += rep.length(); pos = reTags.search( footerTags, pos ); } @@ -339,7 +339,7 @@ bool KatePrinter::print (KateDocument *doc) // now that we know the vertical amount of space needed, // it is possible to calculate the total number of pages - // if needed, that is if any header/footer tag contains "%P". + // if needed, that is if any header/footer tag tqcontains "%P". if ( headerTagList.grep("%P").count() || footerTagList.grep("%P").count() ) { kdDebug(13020)<<"'%P' found! calculating number of pages..."<& opts ) #include "kateprinter.moc" #endif //!Q_WS_WIN -// kate: space-indent on; indent-width 2; replace-tabs on; +// kate: space-indent on; indent-width 2; tqreplace-tabs on; -- cgit v1.2.1