PythonQtWrapper_QXmlStreamAttributes.h
66 lines
| 3.6 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QXMLSTREAMATTRIBUTES_H | ||
#define PYTHONQTWRAPPER_QXMLSTREAMATTRIBUTES_H | ||||
#include <qxmlstream.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qlist.h> | ||||
#include <qvector.h> | ||||
#include <qxmlstream.h> | ||||
florianlink
|
r24 | class PythonQtShell_QXmlStreamAttributes : public QXmlStreamAttributes | ||
{ | ||||
public: | ||||
PythonQtShell_QXmlStreamAttributes():QXmlStreamAttributes(),_wrapper(NULL) {}; | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r13 | class PythonQtWrapper_QXmlStreamAttributes : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QXmlStreamAttributes* new_QXmlStreamAttributes(); | ||||
florianlink
|
r24 | QXmlStreamAttributes* new_QXmlStreamAttributes(const QXmlStreamAttributes& other) { | ||
PythonQtShell_QXmlStreamAttributes* a = new PythonQtShell_QXmlStreamAttributes(); | ||||
*((QXmlStreamAttributes*)a) = other; | ||||
return a; } | ||||
florianlink
|
r13 | void delete_QXmlStreamAttributes(QXmlStreamAttributes* obj) { delete obj; } | ||
florianlink
|
r73 | void setSharable(QXmlStreamAttributes* theWrappedObject, bool sharable); | ||
florianlink
|
r13 | void squeeze(QXmlStreamAttributes* theWrappedObject); | ||
florianlink
|
r73 | 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; | ||||
florianlink
|
r28 | QList<QXmlStreamAttribute > toList(QXmlStreamAttributes* theWrappedObject) const; | ||
bool operator_equal(QXmlStreamAttributes* theWrappedObject, const QVector<QXmlStreamAttribute >& v) const; | ||||
florianlink
|
r73 | const QXmlStreamAttribute* at(QXmlStreamAttributes* theWrappedObject, int i) const; | ||
void clear(QXmlStreamAttributes* theWrappedObject); | ||||
florianlink
|
r28 | int indexOf(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int from) const; | ||
florianlink
|
r73 | QVector<QXmlStreamAttribute > static_QXmlStreamAttributes_fromList(const QList<QXmlStreamAttribute >& list); | ||
const QXmlStreamAttribute* last(QXmlStreamAttributes* theWrappedObject) const; | ||||
const QXmlStreamAttribute* first(QXmlStreamAttributes* theWrappedObject) const; | ||||
void remove(QXmlStreamAttributes* theWrappedObject, int i); | ||||
florianlink
|
r28 | void reserve(QXmlStreamAttributes* theWrappedObject, int size); | ||
void replace(QXmlStreamAttributes* theWrappedObject, int i, const QXmlStreamAttribute& t); | ||||
florianlink
|
r73 | 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<QXmlStreamAttribute > mid(QXmlStreamAttributes* theWrappedObject, int pos, int length) const; | ||||
florianlink
|
r28 | QStringRef value(QXmlStreamAttributes* theWrappedObject, const QString& namespaceUri, const QString& name) const; | ||
florianlink
|
r73 | QVector<QXmlStreamAttribute >* fill(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int size); | ||
bool isEmpty(QXmlStreamAttributes* theWrappedObject) const; | ||||
int size(QXmlStreamAttributes* theWrappedObject) const; | ||||
void resize(QXmlStreamAttributes* theWrappedObject, int size); | ||||
florianlink
|
r28 | int lastIndexOf(QXmlStreamAttributes* theWrappedObject, const QXmlStreamAttribute& t, int from) const; | ||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QXMLSTREAMATTRIBUTES_H | ||||