##// END OF EJS Templates
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well...
code cleanup and rename of PythonQtWrapper to PythonQtInstanceWrapper and PythonQtMetaObjectWrapper to PythonQtClassWrapper, since these names match much better what these classes wrap, regarding that we are wrapping CPP objects as well git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@52 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r16:c68e0aff542c
Show More
PythonQtWrapper_QXmlItem.h
26 lines | 839 B | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QXMLITEM_H
#define PYTHONQTWRAPPER_QXMLITEM_H
#include <qabstractxmlnodemodel.h>
#include <QObject>
#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 isAtomicValue(QXmlItem* theWrappedObject) const;
bool isNode(QXmlItem* theWrappedObject) const;
bool isNull(QXmlItem* theWrappedObject) const;
QVariant toAtomicValue(QXmlItem* theWrappedObject) const;
QXmlNodeModelIndex toNodeModelIndex(QXmlItem* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QXMLITEM_H