##// END OF EJS Templates
- wrapped instances are now wrapped by class specific subtypes to facilitate future deriving from python...
- wrapped instances are now wrapped by class specific subtypes to facilitate future deriving from python - object creation has changed by using the python type system (calling the type object with PyObject_Call) git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@54 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r18:44e5ff2700cb
Show More
PythonQtWrapper_QXmlAttributes.h
32 lines | 1.6 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QXMLATTRIBUTES_H
#define PYTHONQTWRAPPER_QXMLATTRIBUTES_H
#include <qxml.h>
#include <QObject>
#include <QVariant>
class PythonQtWrapper_QXmlAttributes : public QObject
{ Q_OBJECT
public:
public slots:
QXmlAttributes* new_QXmlAttributes();
void delete_QXmlAttributes(QXmlAttributes* obj) { delete obj; }
void append(QXmlAttributes* theWrappedObject, const QString& qName, const QString& uri, const QString& localPart, const QString& value);
void clear(QXmlAttributes* theWrappedObject);
int count(QXmlAttributes* theWrappedObject) const;
int index(QXmlAttributes* theWrappedObject, const QString& qName) const;
int index(QXmlAttributes* theWrappedObject, const QString& uri, const QString& localPart) const;
int length(QXmlAttributes* theWrappedObject) const;
QString localName(QXmlAttributes* theWrappedObject, int index) const;
QString qName(QXmlAttributes* theWrappedObject, int index) const;
QString type(QXmlAttributes* theWrappedObject, const QString& qName) const;
QString type(QXmlAttributes* theWrappedObject, const QString& uri, const QString& localName) const;
QString type(QXmlAttributes* theWrappedObject, int index) const;
QString uri(QXmlAttributes* theWrappedObject, int index) const;
QString value(QXmlAttributes* theWrappedObject, const QString& qName) const;
QString value(QXmlAttributes* theWrappedObject, const QString& uri, const QString& localName) const;
QString value(QXmlAttributes* theWrappedObject, int index) const;
};
#endif // PYTHONQTWRAPPER_QXMLATTRIBUTES_H