20 #include "KDSoapGlobal.h" 22 class KDSOAP_EXPORT KDQName
25 typedef QList<KDQName> List;
30 explicit KDQName(
const QString &name );
33 KDQName(
const QString &nameSpace,
const QString &localName );
35 void operator=(
const QString &name );
37 QString localName()
const;
38 QString prefix()
const;
39 QString qname()
const;
41 void setNameSpace(
const QString &nameSpace );
42 QString nameSpace()
const;
44 bool operator==(
const KDQName& )
const;
45 bool operator!=(
const KDQName& )
const;
52 static KDQName fromSoapValue(
const KDSoapValue &value);
57 KDSoapValue toSoapValue(
const QString &name,
const QString &typeNameSpace = QString(),
const QString &typeName = QString())
const;
60 void parse(
const QString& );
67 Q_DECLARE_METATYPE(KDQName)
69 inline uint qHash(const KDQName& qn) {
return qHash(qn.nameSpace())^qHash(qn.localName()); }
71 QDebug operator<<(QDebug dbg,
const KDQName &qn);
Definition: KDSoapValue.h:69