author | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
commit | a08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (side-by-side diff) | |
tree | 8ee90d686081c52e7c69b5ce946e9b1a7d690001 /kabc/vcard/OrgValue.cpp | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-p1.zip kdepimpi-p1.tar.gz kdepimpi-p1.tar.bz2 |
initial public commit of qt4 portp1
-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); } |