-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 @@ -17,62 +17,64 @@ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #include <VCardParam.h> #include <VCardEntity.h> #include <VCardRToken.h> +//Added by qt3to4: +#include <Q3CString> using namespace VCARD; Param::Param() : Entity(), name_(""), value_("") { } 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_("") { } Param & Param::operator = (Param & x) { if (*this == x) return *this; Entity::operator = (x); name_ = x.name_; value_ = x.value_; return *this; } Param & -Param::operator = (const QCString & s) +Param::operator = (const Q3CString & s) { Entity::operator = (s); return *this; } bool Param::operator == (Param & x) { x.parse(); return false; } @@ -82,48 +84,48 @@ Param::~Param() void 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_; } |