summaryrefslogtreecommitdiffabout
path: root/kabc/vcard/ContentLine.cpp
Side-by-side diff
Diffstat (limited to 'kabc/vcard/ContentLine.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/vcard/ContentLine.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/kabc/vcard/ContentLine.cpp b/kabc/vcard/ContentLine.cpp
index 0a2f97d..1d4886c 100644
--- a/kabc/vcard/ContentLine.cpp
+++ b/kabc/vcard/ContentLine.cpp
@@ -23,4 +23,4 @@
-#include <qcstring.h>
-#include <qstrlist.h>
+#include <q3cstring.h>
+#include <q3strlist.h>
#include <qregexp.h>
@@ -100,3 +100,3 @@ ContentLine::ContentLine(const ContentLine & x)
-ContentLine::ContentLine(const QCString & s)
+ContentLine::ContentLine(const Q3CString & s)
: Entity(s),
@@ -131,3 +131,3 @@ ContentLine::operator = (ContentLine & x)
ContentLine &
-ContentLine::operator = (const QCString & s)
+ContentLine::operator = (const Q3CString & s)
{
@@ -144,3 +144,3 @@ ContentLine::operator == (ContentLine & x)
- QPtrListIterator<Param> it(x.paramList());
+ Q3PtrListIterator<Param> it(x.paramList());
@@ -165,7 +165,7 @@ ContentLine::_parse()
// NLR
- strRep_ = strRep_.replace( QRegExp( "\\r" ), "" );
+ strRep_ = strRep_.replace( "\\r" , "" );
// Unqote newlines
- strRep_ = strRep_.replace( QRegExp( "\\\\n" ), "\n" );
+ strRep_ = strRep_.replace( "\\\\n", "\n" );
//NLR
- strRep_ = strRep_.replace( QRegExp( "\\\\r" ), "\r" );
+ strRep_ = strRep_.replace( "\\\\r" , "\r" );
@@ -178,4 +178,4 @@ ContentLine::_parse()
- QCString firstPart(strRep_.left(split));
- QCString valuePart(strRep_.mid(split + 1));
+ Q3CString firstPart(strRep_.left(split));
+ Q3CString valuePart(strRep_.mid(split + 1));
@@ -194,3 +194,3 @@ ContentLine::_parse()
- QStrList l;
+ Q3StrList l;
@@ -216,3 +216,3 @@ ContentLine::_parse()
- QStrListIterator it(l);
+ Q3StrListIterator it(l);
@@ -220,3 +220,3 @@ ContentLine::_parse()
- QCString str = *it;
+ Q3CString str = *it;
@@ -228,9 +228,9 @@ ContentLine::_parse()
- QCString paraName = str.left(split);
- QCString paraValue = str.mid(split + 1);
+ Q3CString paraName = str.left(split);
+ Q3CString paraValue = str.mid(split + 1);
- QStrList paraValues;
+ Q3StrList paraValues;
RTokenise(paraValue, ",", paraValues);
- QStrListIterator it2( paraValues );
+ Q3StrListIterator it2( paraValues );
@@ -311,3 +311,3 @@ ContentLine::_assemble()
- QCString line;
+ Q3CString line;