PythonQtWrapper_QXmlAttributes.cpp
86 lines
| 2.6 KiB
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QXmlAttributes.h" | ||
florianlink
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
florianlink
|
r13 | #include <QVariant> | ||
QXmlAttributes* PythonQtWrapper_QXmlAttributes::new_QXmlAttributes() | ||||
{ | ||||
florianlink
|
r24 | return new PythonQtShell_QXmlAttributes(); } | ||
florianlink
|
r13 | |||
florianlink
|
r24 | void PythonQtWrapper_QXmlAttributes::append(QXmlAttributes* theWrappedObject, const QString& qName, const QString& uri, const QString& localPart, const QString& value) | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | theWrappedObject->append(qName, uri, localPart, value); | ||
florianlink
|
r13 | } | ||
int PythonQtWrapper_QXmlAttributes::length(QXmlAttributes* theWrappedObject) const | ||||
{ | ||||
florianlink
|
r28 | return theWrappedObject->length(); | ||
florianlink
|
r13 | } | ||
florianlink
|
r24 | QString PythonQtWrapper_QXmlAttributes::type(QXmlAttributes* theWrappedObject, const QString& uri, const QString& localName) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->type(uri, localName); | ||
florianlink
|
r13 | } | ||
QString PythonQtWrapper_QXmlAttributes::type(QXmlAttributes* theWrappedObject, const QString& qName) const | ||||
{ | ||||
florianlink
|
r28 | return theWrappedObject->type(qName); | ||
florianlink
|
r13 | } | ||
florianlink
|
r24 | int PythonQtWrapper_QXmlAttributes::index(QXmlAttributes* theWrappedObject, const QString& uri, const QString& localPart) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->index(uri, localPart); | ||
florianlink
|
r13 | } | ||
QString PythonQtWrapper_QXmlAttributes::type(QXmlAttributes* theWrappedObject, int index) const | ||||
{ | ||||
florianlink
|
r28 | return theWrappedObject->type(index); | ||
florianlink
|
r13 | } | ||
QString PythonQtWrapper_QXmlAttributes::uri(QXmlAttributes* theWrappedObject, int index) const | ||||
{ | ||||
florianlink
|
r28 | return theWrappedObject->uri(index); | ||
florianlink
|
r13 | } | ||
florianlink
|
r24 | int PythonQtWrapper_QXmlAttributes::count(QXmlAttributes* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->count(); | ||
florianlink
|
r24 | } | ||
QString PythonQtWrapper_QXmlAttributes::qName(QXmlAttributes* theWrappedObject, int index) const | ||||
{ | ||||
florianlink
|
r28 | return theWrappedObject->qName(index); | ||
florianlink
|
r13 | } | ||
QString PythonQtWrapper_QXmlAttributes::value(QXmlAttributes* theWrappedObject, const QString& uri, const QString& localName) const | ||||
{ | ||||
florianlink
|
r28 | return theWrappedObject->value(uri, localName); | ||
florianlink
|
r13 | } | ||
florianlink
|
r24 | int PythonQtWrapper_QXmlAttributes::index(QXmlAttributes* theWrappedObject, const QString& qName) const | ||
{ | ||||
florianlink
|
r28 | return theWrappedObject->index(qName); | ||
florianlink
|
r24 | } | ||
QString PythonQtWrapper_QXmlAttributes::localName(QXmlAttributes* theWrappedObject, int index) const | ||||
florianlink
|
r13 | { | ||
florianlink
|
r28 | return theWrappedObject->localName(index); | ||
} | ||||
void PythonQtWrapper_QXmlAttributes::clear(QXmlAttributes* theWrappedObject) | ||||
{ | ||||
theWrappedObject->clear(); | ||||
} | ||||
QString PythonQtWrapper_QXmlAttributes::value(QXmlAttributes* theWrappedObject, const QString& qName) const | ||||
{ | ||||
return theWrappedObject->value(qName); | ||||
} | ||||
QString PythonQtWrapper_QXmlAttributes::value(QXmlAttributes* theWrappedObject, int index) const | ||||
{ | ||||
return theWrappedObject->value(index); | ||||
florianlink
|
r13 | } | ||