summaryrefslogtreecommitdiffabout
path: root/kabc/vcard/AdrParam.cpp
Side-by-side diff
Diffstat (limited to 'kabc/vcard/AdrParam.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/vcard/AdrParam.cpp10
1 files changed, 6 insertions, 4 deletions
diff --git a/kabc/vcard/AdrParam.cpp b/kabc/vcard/AdrParam.cpp
index fa46499..33d358c 100644
--- a/kabc/vcard/AdrParam.cpp
+++ b/kabc/vcard/AdrParam.cpp
@@ -21,12 +21,14 @@
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include <VCardRToken.h>
#include <VCardAdrParam.h>
#include <VCardParam.h>
+//Added by qt3to4:
+#include <Q3CString>
using namespace VCARD;
AdrParam::AdrParam()
: Param()
{
@@ -35,13 +37,13 @@ AdrParam::AdrParam()
AdrParam::AdrParam(const AdrParam & x)
: Param(x),
adrTypeList_ (x.adrTypeList_)
{
}
-AdrParam::AdrParam(const QCString & s)
+AdrParam::AdrParam(const Q3CString & s)
: Param(s)
{
}
AdrParam &
AdrParam::operator = (AdrParam & x)
@@ -53,13 +55,13 @@ AdrParam::operator = (AdrParam & x)
Param::operator = (x);
return *this;
}
AdrParam &
-AdrParam::operator = (const QCString & s)
+AdrParam::operator = (const Q3CString & s)
{
Param::operator = (s);
adrTypeList_.clear();
textParam_.truncate(0);
@@ -74,13 +76,13 @@ AdrParam::operator == (AdrParam & x)
if (!x.textParam().isEmpty())
return (x.textParam_ == textParam_);
if (x.adrTypeList().count() != adrTypeList_.count())
return false;
- QStrListIterator it(x.adrTypeList_);
+ Q3StrListIterator it(x.adrTypeList_);
for (; it.current(); ++it)
if (!adrTypeList_.find(it.current()))
return false;
return true;
@@ -111,13 +113,13 @@ AdrParam::_assemble()
{
if (!textParam_.isEmpty()) {
strRep_ = textParam_;
return;
}
- QStrListIterator it(adrTypeList_);
+ Q3StrListIterator it(adrTypeList_);
for (; it.current(); ++it) {
strRep_ += it.current();
if (it.current() != adrTypeList_.last())