#ifndef PYTHONQTWRAPPER_QXMLSTREAMATTRIBUTES_H #define PYTHONQTWRAPPER_QXMLSTREAMATTRIBUTES_H #include #include #include #include #include #include #include class PythonQtShell_QXmlStreamAttributes : public QXmlStreamAttributes { public: PythonQtShell_QXmlStreamAttributes():QXmlStreamAttributes(),_wrapper(NULL) {}; PythonQtInstanceWrapper* _wrapper; }; class PythonQtWrapper_QXmlStreamAttributes : public QObject { Q_OBJECT public: public slots: QXmlStreamAttributes* new_QXmlStreamAttributes(); QXmlStreamAttributes* new_QXmlStreamAttributes(const QXmlStreamAttributes& other) { PythonQtShell_QXmlStreamAttributes* a = new PythonQtShell_QXmlStreamAttributes(); *((QXmlStreamAttributes*)a) = other; return a; } void delete_QXmlStreamAttributes(QXmlStreamAttributes* obj) { delete obj; } void setSharable(QXmlStreamAttributes* theWrappedObject, bool sharable); void squeeze(QXmlStreamAttributes* theWrappedObject); void append(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name, const QString& value); int count(QXmlStreamAttributes* theWrappedObject) const; void append(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName, const QString& value); bool contains(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) const; QList toList(QXmlStreamAttributes* theWrappedObject) const; bool operator_equal(QXmlStreamAttributes* theWrappedObject, const QVector& v) const; const QXmlStreamAttribute* at(QXmlStreamAttributes* theWrappedObject, int i) const; void clear(QXmlStreamAttributes* theWrappedObject); int indexOf(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int from) const; QVector static_QXmlStreamAttributes_fromList(const QList& list); const QXmlStreamAttribute* last(QXmlStreamAttributes* theWrappedObject) const; const QXmlStreamAttribute* first(QXmlStreamAttributes* theWrappedObject) const; void remove(QXmlStreamAttributes* theWrappedObject, int i); void reserve(QXmlStreamAttributes* theWrappedObject, int size); void replace(QXmlStreamAttributes* theWrappedObject, int i, const QXmlStreamAttribute& t); bool empty(QXmlStreamAttributes* theWrappedObject) const; int count(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t) const; void prepend(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t); void remove(QXmlStreamAttributes* theWrappedObject, int i, int n); void append(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& attribute); int capacity(QXmlStreamAttributes* theWrappedObject) const; QStringRef value(QXmlStreamAttributes* theWrappedObject, const QString& qualifiedName) const; QVector mid(QXmlStreamAttributes* theWrappedObject, int pos, int length) const; QStringRef value(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name) const; QVector* fill(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int size); bool isEmpty(QXmlStreamAttributes* theWrappedObject) const; int size(QXmlStreamAttributes* theWrappedObject) const; void resize(QXmlStreamAttributes* theWrappedObject, int size); int lastIndexOf(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int from) const; }; #endif // PYTHONQTWRAPPER_QXMLSTREAMATTRIBUTES_H