-rw-r--r-- | kabc/vcard/TextValue.cpp | 8 |
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 @@ -24,6 +24,8 @@ #include <VCardTextValue.h> #include <VCardValue.h> +//Added by qt3to4: +#include <Q3CString> using namespace VCARD; @@ -37,7 +39,7 @@ TextValue::TextValue(const TextValue & x) { } -TextValue::TextValue(const QCString & s) +TextValue::TextValue(const Q3CString & s) : Value(s) { } @@ -52,7 +54,7 @@ TextValue::operator = (TextValue & x) } TextValue & -TextValue::operator = (const QCString & s) +TextValue::operator = (const Q3CString & s) { Value::operator = (s); return *this; @@ -61,7 +63,7 @@ TextValue::operator = (const QCString & s) bool TextValue::operator == (TextValue & x) { - return strRep_ = x.strRep_; + return strRep_ == x.strRep_; } TextValue::~TextValue() |