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
@@ -21,45 +21,47 @@
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include <VCardRToken.h>
#include <VCardTextListValue.h>
#include <VCardValue.h>
+//Added by qt3to4:
+#include <Q3CString>
using namespace VCARD;
TextListValue::TextListValue()
: Value()
{
}
TextListValue::TextListValue(const TextListValue & x)
: Value(x)
{
}
-TextListValue::TextListValue(const QCString & s)
+TextListValue::TextListValue(const Q3CString & s)
: Value(s)
{
}
TextListValue &
TextListValue::operator = (TextListValue & x)
{
if (*this == x) return *this;
Value::operator = (x);
return *this;
}
TextListValue &
-TextListValue::operator = (const QCString & s)
+TextListValue::operator = (const Q3CString & s)
{
Value::operator = (s);
return *this;
}
bool
TextListValue::operator == (TextListValue & x)
{
@@ -77,31 +79,31 @@ TextListValue::_parse()
RTokenise(strRep_, ";", valueList_);
}
void
TextListValue::_assemble()
{
bool first(true);
- QStrListIterator it(valueList_);
+ Q3StrListIterator it(valueList_);
for (; it.current(); ++it) {
if (!first) strRep_ += ';';
strRep_ += it.current();
first = false;
}
}
unsigned int
TextListValue::numValues()
{
parse();
return valueList_.count();
}
- QCString
+ Q3CString
TextListValue::value(unsigned int i)
{
parse();
return valueList_.at(i);
}