summaryrefslogtreecommitdiffabout
path: root/kabc/vcard/VCardv.cpp
Side-by-side diff
Diffstat (limited to 'kabc/vcard/VCardv.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/vcard/VCardv.cpp33
1 files changed, 17 insertions, 16 deletions
diff --git a/kabc/vcard/VCardv.cpp b/kabc/vcard/VCardv.cpp
index bad2ef1..5dd675d 100644
--- a/kabc/vcard/VCardv.cpp
+++ b/kabc/vcard/VCardv.cpp
@@ -23,7 +23,7 @@
-#include <qcstring.h>
-#include <qstrlist.h>
+#include <q3cstring.h>
+#include <q3strlist.h>
#include <qstringlist.h>
#include <qstring.h>
-#include <qvaluelist.h>
+#include <q3valuelist.h>
@@ -50,3 +50,3 @@ VCard::VCard(const VCard & x)
- QPtrListIterator<ContentLine> it(x.contentLineList_);
+ Q3PtrListIterator<ContentLine> it(x.contentLineList_);
for (; it.current(); ++it) {
@@ -58,3 +58,3 @@ VCard::VCard(const VCard & x)
-VCard::VCard(const QCString & s)
+VCard::VCard(const Q3CString & s)
: Entity(s)
@@ -70,3 +70,3 @@ VCard::operator = (VCard & x)
group_ = x.group();
- QPtrListIterator<ContentLine> it(x.contentLineList_);
+ Q3PtrListIterator<ContentLine> it(x.contentLineList_);
for (; it.current(); ++it) {
@@ -81,3 +81,3 @@ VCard::operator = (VCard & x)
VCard &
-VCard::operator = (const QCString & s)
+VCard::operator = (const Q3CString & s)
{
@@ -103,3 +103,3 @@ VCard::_parse()
QStringList l;
- QStrList sl;
+ Q3StrList sl;
@@ -111,3 +111,4 @@ VCard::_parse()
}
- l = QStringList::fromStrList( sl );
+ for(Q3StrList::iterator i=sl.begin();i!=sl.end();++i)
+ l.push_back(*i);
// Get the first line
@@ -182,3 +183,3 @@ VCard::_parse()
for (; it2 != refolded.end(); ++it2) {
- ContentLine * cl = new ContentLine(QCString((*it2).latin1()));
+ ContentLine * cl = new ContentLine(Q3CString((*it2).latin1()));
cl->parse();
@@ -230,3 +231,3 @@ VCard::_assemble()
- QPtrListIterator<ContentLine> it(contentLineList_);
+ Q3PtrListIterator<ContentLine> it(contentLineList_);
@@ -246,3 +247,3 @@ VCard::has(EntityType t)
bool
-VCard::has(const QCString & s)
+VCard::has(const Q3CString & s)
{
@@ -261,3 +262,3 @@ VCard::add(const ContentLine & cl)
void
-VCard::add(const QCString & s)
+VCard::add(const Q3CString & s)
{
@@ -272,3 +273,3 @@ VCard::contentLine(EntityType t)
parse();
- QPtrListIterator<ContentLine> it(contentLineList_);
+ Q3PtrListIterator<ContentLine> it(contentLineList_);
@@ -282,6 +283,6 @@ VCard::contentLine(EntityType t)
ContentLine *
-VCard::contentLine(const QCString & s)
+VCard::contentLine(const Q3CString & s)
{
parse();
- QPtrListIterator<ContentLine> it(contentLineList_);
+ Q3PtrListIterator<ContentLine> it(contentLineList_);