PythonQtWrapper_QXmlStreamAttributes.cpp
169 lines
| 5.5 KiB
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QXmlStreamAttributes.h" | ||
florianlink
|
r24 | #include <PythonQtSignalReceiver.h> | ||
#include <PythonQtMethodInfo.h> | ||||
#include <PythonQtConversion.h> | ||||
florianlink
|
r13 | #include <QVariant> | ||
#include <qlist.h> | ||||
#include <qvector.h> | ||||
#include <qxmlstream.h> | ||||
QXmlStreamAttributes* PythonQtWrapper_QXmlStreamAttributes::new_QXmlStreamAttributes() | ||||
{ | ||||
florianlink
|
r24 | return new PythonQtShell_QXmlStreamAttributes(); } | ||
florianlink
|
r13 | |||
florianlink
|
r73 | void PythonQtWrapper_QXmlStreamAttributes::setSharable(QXmlStreamAttributes* theWrappedObject, bool sharable) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->setSharable(sharable)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QXmlStreamAttributes::squeeze(QXmlStreamAttributes* theWrappedObject) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->squeeze()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QXmlStreamAttributes::append(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& value) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->append(namespaceUri, name, value)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | int PythonQtWrapper_QXmlStreamAttributes::count(QXmlStreamAttributes* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->count()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QXmlStreamAttributes::append(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName, const QString& value) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->append(qualifiedName, value)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | bool PythonQtWrapper_QXmlStreamAttributes::contains(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->contains(t)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QList<QXmlStreamAttribute > PythonQtWrapper_QXmlStreamAttributes::toList(QXmlStreamAttributes* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->toList()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | bool PythonQtWrapper_QXmlStreamAttributes::operator_equal(QXmlStreamAttributes* theWrappedObject, const QVector<QXmlStreamAttribute >& v) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( (*theWrappedObject)== v); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | const QXmlStreamAttribute* PythonQtWrapper_QXmlStreamAttributes::at(QXmlStreamAttributes* theWrappedObject, int i) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return &( theWrappedObject->at(i)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QXmlStreamAttributes::clear(QXmlStreamAttributes* theWrappedObject) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->clear()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | int PythonQtWrapper_QXmlStreamAttributes::indexOf(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int from) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->indexOf(t, from)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QVector<QXmlStreamAttribute > PythonQtWrapper_QXmlStreamAttributes::static_QXmlStreamAttributes_fromList(const QList<QXmlStreamAttribute >& list) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return (QXmlStreamAttributes::fromList(list)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | const QXmlStreamAttribute* PythonQtWrapper_QXmlStreamAttributes::last(QXmlStreamAttributes* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return &( theWrappedObject->last()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | const QXmlStreamAttribute* PythonQtWrapper_QXmlStreamAttributes::first(QXmlStreamAttributes* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return &( theWrappedObject->first()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QXmlStreamAttributes::remove(QXmlStreamAttributes* theWrappedObject, int i) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->remove(i)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QXmlStreamAttributes::reserve(QXmlStreamAttributes* theWrappedObject, int size) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->reserve(size)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QXmlStreamAttributes::replace(QXmlStreamAttributes* theWrappedObject, int i, const QXmlStreamAttribute& t) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->replace(i, t)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | bool PythonQtWrapper_QXmlStreamAttributes::empty(QXmlStreamAttributes* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->empty()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | int PythonQtWrapper_QXmlStreamAttributes::count(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->count(t)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QXmlStreamAttributes::prepend(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->prepend(t)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QXmlStreamAttributes::remove(QXmlStreamAttributes* theWrappedObject, int i, int n) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->remove(i, n)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QXmlStreamAttributes::append(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& attribute) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->append(attribute)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | int PythonQtWrapper_QXmlStreamAttributes::capacity(QXmlStreamAttributes* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->capacity()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QStringRef PythonQtWrapper_QXmlStreamAttributes::value(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->value(qualifiedName)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QVector<QXmlStreamAttribute > PythonQtWrapper_QXmlStreamAttributes::mid(QXmlStreamAttributes* theWrappedObject, int pos, int length) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->mid(pos, length)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QStringRef PythonQtWrapper_QXmlStreamAttributes::value(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->value(namespaceUri, name)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | QVector<QXmlStreamAttribute >* PythonQtWrapper_QXmlStreamAttributes::fill(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int size) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return &( theWrappedObject->fill(t, size)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | bool PythonQtWrapper_QXmlStreamAttributes::isEmpty(QXmlStreamAttributes* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->isEmpty()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | int PythonQtWrapper_QXmlStreamAttributes::size(QXmlStreamAttributes* theWrappedObject) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->size()); | ||
florianlink
|
r13 | } | ||
florianlink
|
r73 | void PythonQtWrapper_QXmlStreamAttributes::resize(QXmlStreamAttributes* theWrappedObject, int size) | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | ( theWrappedObject->resize(size)); | ||
florianlink
|
r13 | } | ||
florianlink
|
r28 | int PythonQtWrapper_QXmlStreamAttributes::lastIndexOf(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int from) const | ||
florianlink
|
r13 | { | ||
florianlink
|
r73 | return ( theWrappedObject->lastIndexOf(t, from)); | ||
florianlink
|
r13 | } | ||