summaryrefslogtreecommitdiffabout
path: root/kabc/vcard/Entity.cpp
Side-by-side diff
Diffstat (limited to 'kabc/vcard/Entity.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/vcard/Entity.cpp12
1 files changed, 7 insertions, 5 deletions
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
@@ -21,8 +21,10 @@
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
#include <VCardEntity.h>
+//Added by qt3to4:
+#include <Q3CString>
using namespace VCARD;
Entity::Entity()
@@ -39,9 +41,9 @@ Entity::Entity(const Entity & e)
{
// empty
}
-Entity::Entity(const QCString & s)
+Entity::Entity(const Q3CString & s)
: strRep_ (s),
parsed_ (false),
assembled_ (true)
{
@@ -60,9 +62,9 @@ Entity::operator = (const Entity & e)
return *this;
}
Entity &
-Entity::operator = (const QCString & s)
+Entity::operator = (const Q3CString & s)
{
strRep_ = s;
parsed_ = false;
assembled_ = true;
@@ -82,15 +84,15 @@ Entity::operator != (Entity & e)
return !(*this == 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);
}
@@ -98,9 +100,9 @@ Entity::~Entity()
{
// empty
}
- QCString
+ Q3CString
Entity::asString()
{
// vDebug("Entity::asString()");
assemble();