PythonQtWrapper_QXmlAttributes.h
47 lines
| 1.9 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QXMLATTRIBUTES_H | ||
#define PYTHONQTWRAPPER_QXMLATTRIBUTES_H | ||||
#include <qxml.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
florianlink
|
r24 | class PythonQtShell_QXmlAttributes : public QXmlAttributes | ||
{ | ||||
public: | ||||
PythonQtShell_QXmlAttributes():QXmlAttributes(),_wrapper(NULL) {}; | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r13 | class PythonQtWrapper_QXmlAttributes : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QXmlAttributes* new_QXmlAttributes(); | ||||
florianlink
|
r24 | QXmlAttributes* new_QXmlAttributes(const QXmlAttributes& other) { | ||
PythonQtShell_QXmlAttributes* a = new PythonQtShell_QXmlAttributes(); | ||||
*((QXmlAttributes*)a) = other; | ||||
return a; } | ||||
florianlink
|
r13 | void delete_QXmlAttributes(QXmlAttributes* obj) { delete obj; } | ||
florianlink
|
r73 | QString localName(QXmlAttributes* theWrappedObject, int index) const; | ||
void clear(QXmlAttributes* theWrappedObject); | ||||
int count(QXmlAttributes* theWrappedObject) const; | ||||
QString qName(QXmlAttributes* theWrappedObject, int index) const; | ||||
QString value(QXmlAttributes* theWrappedObject, const QString& qName) const; | ||||
florianlink
|
r13 | int length(QXmlAttributes* theWrappedObject) const; | ||
florianlink
|
r73 | QString value(QXmlAttributes* theWrappedObject, const QString& uri, const QString& localName) const; | ||
florianlink
|
r13 | QString type(QXmlAttributes* theWrappedObject, const QString& uri, const QString& localName) const; | ||
florianlink
|
r24 | int index(QXmlAttributes* theWrappedObject, const QString& uri, const QString& localPart) const; | ||
florianlink
|
r73 | QString type(QXmlAttributes* theWrappedObject, const QString& qName) const; | ||
void append(QXmlAttributes* theWrappedObject, const QString& qName, const QString& uri, const QString& localPart, const QString& value); | ||||
florianlink
|
r13 | QString type(QXmlAttributes* theWrappedObject, int index) const; | ||
florianlink
|
r24 | int index(QXmlAttributes* theWrappedObject, const QString& qName) const; | ||
florianlink
|
r28 | QString value(QXmlAttributes* theWrappedObject, int index) const; | ||
florianlink
|
r73 | QString uri(QXmlAttributes* theWrappedObject, int index) const; | ||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QXMLATTRIBUTES_H | ||||