-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 @@ -21,12 +21,14 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #include <VCardTextValue.h> #include <VCardValue.h> +//Added by qt3to4: +#include <Q3CString> using namespace VCARD; TextValue::TextValue() : Value() { @@ -34,13 +36,13 @@ TextValue::TextValue() TextValue::TextValue(const TextValue & x) : Value(x) { } -TextValue::TextValue(const QCString & s) +TextValue::TextValue(const Q3CString & s) : Value(s) { } TextValue & TextValue::operator = (TextValue & x) @@ -49,22 +51,22 @@ TextValue::operator = (TextValue & x) Value::operator = (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() { } |