summaryrefslogtreecommitdiffabout
path: root/kabc/vcard/Param.cpp
Side-by-side diff
Diffstat (limited to 'kabc/vcard/Param.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--kabc/vcard/Param.cpp16
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
@@ -21,16 +21,18 @@
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_("")
{
@@ -38,17 +40,17 @@ Param::Param()
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)
@@ -58,17 +60,17 @@ Param::operator = (Param & x)
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)
{
@@ -86,44 +88,44 @@ 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_;
}