-rw-r--r-- | kabc/vcard/OrgValue.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/kabc/vcard/OrgValue.cpp b/kabc/vcard/OrgValue.cpp index c3134c8..a6a32dd 100644 --- a/kabc/vcard/OrgValue.cpp +++ b/kabc/vcard/OrgValue.cpp @@ -23,12 +23,14 @@ #include <VCardRToken.h> #include <VCardOrgValue.h> #include <VCardValue.h> +//Added by qt3to4: +#include <Q3CString> using namespace VCARD; OrgValue::OrgValue() : Value() { @@ -36,13 +38,13 @@ OrgValue::OrgValue() OrgValue::OrgValue(const OrgValue & x) : Value(x) { } -OrgValue::OrgValue(const QCString & s) +OrgValue::OrgValue(const Q3CString & s) : Value(s) { } OrgValue & OrgValue::operator = (OrgValue & x) @@ -51,13 +53,13 @@ OrgValue::operator = (OrgValue & x) Value::operator = (x); return *this; } OrgValue & -OrgValue::operator = (const QCString & s) +OrgValue::operator = (const Q3CString & s) { Value::operator = (s); return *this; } bool @@ -79,13 +81,13 @@ OrgValue::_parse() void OrgValue::_assemble() { bool first(true); - QStrListIterator it(valueList_); + Q3StrListIterator it(valueList_); for (; it.current(); ++it) { if (!first) strRep_ += ';'; strRep_ += it.current(); first = false; } @@ -95,13 +97,13 @@ OrgValue::_assemble() OrgValue::numValues() { parse(); return valueList_.count(); } - QCString + Q3CString OrgValue::value(unsigned int i) { parse(); return valueList_.at(i); } |