##// END OF EJS Templates
added support for setattr to allow derived classes to add own attributes...
added support for setattr to allow derived classes to add own attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@66 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r30:a523f73e74c6
Show More
PythonQtWrapper_QXmlItem.h
28 lines | 862 B | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QXMLITEM_H
#define PYTHONQTWRAPPER_QXMLITEM_H
#include <qabstractxmlnodemodel.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qabstractxmlnodemodel.h>
class PythonQtWrapper_QXmlItem : public QObject
{ Q_OBJECT
public:
public slots:
QXmlItem* new_QXmlItem();
QXmlItem* new_QXmlItem(const QVariant& atomicValue);
QXmlItem* new_QXmlItem(const QXmlItem& other);
QXmlItem* new_QXmlItem(const QXmlNodeModelIndex& node);
void delete_QXmlItem(QXmlItem* obj) { delete obj; }
bool isNode(QXmlItem* theWrappedObject) const;
bool isNull(QXmlItem* theWrappedObject) const;
bool isAtomicValue(QXmlItem* theWrappedObject) const;
QVariant toAtomicValue(QXmlItem* theWrappedObject) const;
QXmlNodeModelIndex toNodeModelIndex(QXmlItem* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QXMLITEM_H