14 #include <QtCore/QList>
15 #include <QtCore/QPair>
16 #include <QtCore/QSet>
17 #include <QtCore/QSharedDataPointer>
18 #include <QtCore/QString>
19 #include <QtCore/QVariant>
20 #include <QtCore/QVector>
21 #include <QtCore/QXmlStreamNamespaceDeclarations>
30 class QXmlStreamWriter;
80 KDSoapValue(
const QString &name,
const QVariant &valueVariant,
const QString &typeNameSpace = QString(),
const QString &typeName = QString());
90 const QString &typeName = QString());
102 if (
this != &other) {
134 void setNillable(
bool nillable);
139 QString name()
const;
144 QString namespaceUri()
const;
149 void setNamespaceUri(
const QString &ns);
154 QVariant value()
const;
159 void setValue(
const QVariant &value);
166 bool isQualified()
const;
180 void setQualified(
bool qualified);
212 void setType(
const QString &nameSpace,
const QString &type);
217 QString typeNs()
const;
222 QString type()
const;
228 void setNamespaceDeclarations(
const QXmlStreamNamespaceDeclarations &namespaceDeclarations);
234 void addNamespaceDeclaration(
const QXmlStreamNamespaceDeclaration &namespaceDeclaration);
240 QXmlStreamNamespaceDeclarations namespaceDeclarations()
const;
246 void setEnvironmentNamespaceDeclarations(
const QXmlStreamNamespaceDeclarations &environmentNamespaceDeclarations);
252 QXmlStreamNamespaceDeclarations environmentNamespaceDeclarations()
const;
271 QByteArray toXml(Use use = LiteralUse,
const QString &messageNamespace = QString())
const;
274 void setName(
const QString &name);
282 bool forceQualified)
const;
284 const QString &messageNamespace)
const;
286 bool forceQualified)
const;
289 QSharedDataPointer<Private> d;
338 void addArgument(
const QString &argumentName,
const QVariant &argumentValue,
const QString &typeNameSpace = QString(),
339 const QString &typeName = QString());
358 void setArrayType(
const QString &nameSpace,
const QString &type);
362 QString arrayTypeNs()
const;
366 QString arrayType()
const;
388 QPair<QString, QString> m_arrayType;
389 QList<KDSoapValue> m_attributes;
QListIterator< KDSoapValue > KDSoapValueListIterator
void qSwap(KDSoapValue &lhs, KDSoapValue &rhs)
QT_END_NAMESPACE KDSOAP_EXPORT QDebug operator<<(QDebug dbg, const KDSoapValue &value)
KDSOAP_EXPORT uint qHash(const KDSoapValue &value)
QT_BEGIN_NAMESPACE Q_DECLARE_TYPEINFO(KDSoapValue, Q_MOVABLE_TYPE)
QList< KDSoapValue > & attributes()
const QList< KDSoapValue > & attributes() const
@ LiteralUse
data is serialized according to a given schema, no xsi:type attributes are written out
void swap(KDSoapValue &other)
KDSoapValue & operator=(const KDSoapValue &other)
void swap< KDSoapValue >(KDSoapValue &lhs, KDSoapValue &rhs)