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 --- kabc/vcard/ContentLine.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kabc/vcard/ContentLine.cpp') diff --git a/kabc/vcard/ContentLine.cpp b/kabc/vcard/ContentLine.cpp index 52bcdf4f5..a301a0244 100644 --- a/kabc/vcard/ContentLine.cpp +++ b/kabc/vcard/ContentLine.cpp @@ -122,7 +122,7 @@ ContentLine::operator == (ContentLine & x) TQPtrListIterator it(x.paramList()); - if (!paramList_.find(it.current())) + if (!paramList_.tqfind(it.current())) return false; return true; @@ -140,9 +140,9 @@ ContentLine::_parse() vDebug("parse"); // Unqote newlines - strRep_ = strRep_.replace( TQRegExp( "\\\\n" ), "\n" ); + strRep_ = strRep_.tqreplace( TQRegExp( "\\\\n" ), "\n" ); - int split = strRep_.find(':'); + int split = strRep_.tqfind(':'); if (split == -1) { // invalid content line vDebug("No ':'"); @@ -152,7 +152,7 @@ ContentLine::_parse() TQCString firstPart(strRep_.left(split)); TQCString valuePart(strRep_.mid(split + 1)); - split = firstPart.find('.'); + split = firstPart.tqfind('.'); if (split != -1) { group_ = firstPart.left(split); @@ -193,7 +193,7 @@ ContentLine::_parse() TQCString str = *it; - split = str.find("="); + split = str.tqfind("="); if (split < 0 ) { vDebug("No '=' in parameter."); continue; @@ -275,7 +275,7 @@ ContentLine::_assemble() } // Quote newlines - line = line.replace( TQRegExp( "\n" ), "\\n" ); + line = line.tqreplace( TQRegExp( "\n" ), "\\n" ); // Fold lines longer than 72 chars const int maxLen = 72; -- cgit v1.2.1