-rw-r--r-- | kabc/vcard/Param.cpp | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/kabc/vcard/Param.cpp b/kabc/vcard/Param.cpp index c513613..bd6b299 100644 --- a/kabc/vcard/Param.cpp +++ b/kabc/vcard/Param.cpp @@ -23,12 +23,14 @@ #include <VCardParam.h> #include <VCardEntity.h> #include <VCardRToken.h> +//Added by qt3to4: +#include <Q3CString> using namespace VCARD; Param::Param() : Entity(), name_(""), @@ -40,13 +42,13 @@ Param::Param(const Param & x) : Entity(x), name_(x.name_), value_(x.value_) { } -Param::Param(const QCString & s) +Param::Param(const Q3CString & s) : Entity(s), name_(""), value_("") { } @@ -60,13 +62,13 @@ Param::operator = (Param & x) value_ = x.value_; return *this; } Param & -Param::operator = (const QCString & s) +Param::operator = (const Q3CString & s) { Entity::operator = (s); return *this; } bool @@ -88,42 +90,42 @@ Param::_parse() void Param::_assemble() { strRep_ = name_ + "=" + value_; } -Param::Param(const QCString &name, const QCString &value) +Param::Param(const Q3CString &name, const Q3CString &value) : Entity(), name_(name), value_(value) { parsed_ = true; assembled_ = false; } void -Param::setName(const QCString & name) +Param::setName(const Q3CString & name) { name_ = name; assembled_ = false; } void -Param::setValue(const QCString & value) +Param::setValue(const Q3CString & value) { value_ = value; assembled_ = false; } - QCString + Q3CString Param::name() { return name_; } - QCString + Q3CString Param::value() { return value_; } |