summaryrefslogtreecommitdiffabout
path: root/kabc/vcard/TextListValue.cpp
Side-by-side diff
Diffstat (limited to 'kabc/vcard/TextListValue.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/vcard/TextListValue.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/kabc/vcard/TextListValue.cpp b/kabc/vcard/TextListValue.cpp
index c4ac1e3..919f4f7 100644
--- a/kabc/vcard/TextListValue.cpp
+++ b/kabc/vcard/TextListValue.cpp
@@ -23,12 +23,14 @@
#include <VCardRToken.h>
#include <VCardTextListValue.h>
#include <VCardValue.h>
+//Added by qt3to4:
+#include <Q3CString>
using namespace VCARD;
TextListValue::TextListValue()
: Value()
{
@@ -36,13 +38,13 @@ TextListValue::TextListValue()
TextListValue::TextListValue(const TextListValue & x)
: Value(x)
{
}
-TextListValue::TextListValue(const QCString & s)
+TextListValue::TextListValue(const Q3CString & s)
: Value(s)
{
}
TextListValue &
TextListValue::operator = (TextListValue & x)
@@ -51,13 +53,13 @@ TextListValue::operator = (TextListValue & x)
Value::operator = (x);
return *this;
}
TextListValue &
-TextListValue::operator = (const QCString & s)
+TextListValue::operator = (const Q3CString & s)
{
Value::operator = (s);
return *this;
}
bool
@@ -79,13 +81,13 @@ TextListValue::_parse()
void
TextListValue::_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 @@ TextListValue::_assemble()
TextListValue::numValues()
{
parse();
return valueList_.count();
}
- QCString
+ Q3CString
TextListValue::value(unsigned int i)
{
parse();
return valueList_.at(i);
}