summaryrefslogtreecommitdiffabout
path: root/kabc/vcard/TextValue.cpp
Side-by-side diff
Diffstat (limited to 'kabc/vcard/TextValue.cpp') (more/less context) (show whitespace changes)
-rw-r--r--kabc/vcard/TextValue.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/kabc/vcard/TextValue.cpp b/kabc/vcard/TextValue.cpp
index 09934fa..d0d2996 100644
--- a/kabc/vcard/TextValue.cpp
+++ b/kabc/vcard/TextValue.cpp
@@ -23,8 +23,10 @@
#include <VCardTextValue.h>
#include <VCardValue.h>
+//Added by qt3to4:
+#include <Q3CString>
using namespace VCARD;
TextValue::TextValue()
@@ -36,9 +38,9 @@ TextValue::TextValue(const TextValue & x)
: Value(x)
{
}
-TextValue::TextValue(const QCString & s)
+TextValue::TextValue(const Q3CString & s)
: Value(s)
{
}
@@ -51,18 +53,18 @@ TextValue::operator = (TextValue & x)
return *this;
}
TextValue &
-TextValue::operator = (const QCString & s)
+TextValue::operator = (const Q3CString & s)
{
Value::operator = (s);
return *this;
}
bool
TextValue::operator == (TextValue & x)
{
- return strRep_ = x.strRep_;
+ return strRep_ == x.strRep_;
}
TextValue::~TextValue()
{