From a08aff328d4393031d5ba7d622c2b05705a89d73 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Wed, 04 Jul 2007 11:23:42 +0000 Subject: initial public commit of qt4 port --- (limited to 'kabc/vcard/Entity.cpp') diff --git a/kabc/vcard/Entity.cpp b/kabc/vcard/Entity.cpp index b7d09e0..e38fa11 100644 --- a/kabc/vcard/Entity.cpp +++ b/kabc/vcard/Entity.cpp @@ -22,6 +22,8 @@ */ #include +//Added by qt3to4: +#include using namespace VCARD; @@ -40,7 +42,7 @@ Entity::Entity(const Entity & e) // empty } -Entity::Entity(const QCString & s) +Entity::Entity(const Q3CString & s) : strRep_ (s), parsed_ (false), assembled_ (true) @@ -61,7 +63,7 @@ Entity::operator = (const Entity & e) } Entity & -Entity::operator = (const QCString & s) +Entity::operator = (const Q3CString & s) { strRep_ = s; parsed_ = false; @@ -83,13 +85,13 @@ Entity::operator != (Entity & e) } bool -Entity::operator == (const QCString & s) +Entity::operator == (const Q3CString & s) { return asString() == s; } bool -Entity::operator != (const QCString & s) +Entity::operator != (const Q3CString & s) { return !(*this == s); } @@ -99,7 +101,7 @@ Entity::~Entity() // empty } - QCString + Q3CString Entity::asString() { // vDebug("Entity::asString()"); -- cgit v0.9.0.2