##// 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_QXmlNodeModelIndex.h
31 lines | 2.1 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QXMLNODEMODELINDEX_H
#define PYTHONQTWRAPPER_QXMLNODEMODELINDEX_H
#include <qabstractxmlnodemodel.h>
#include <QObject>
#include <QVariant>
#include <qabstractxmlnodemodel.h>
class PythonQtWrapper_QXmlNodeModelIndex : public QObject
{ Q_OBJECT
public:
Q_ENUMS(NodeKind DocumentOrder Axis )
enum NodeKind{
Attribute = QXmlNodeModelIndex::Attribute, Comment = QXmlNodeModelIndex::Comment, Document = QXmlNodeModelIndex::Document, Element = QXmlNodeModelIndex::Element, Namespace = QXmlNodeModelIndex::Namespace, ProcessingInstruction = QXmlNodeModelIndex::ProcessingInstruction, Text = QXmlNodeModelIndex::Text};
enum DocumentOrder{
Precedes = QXmlNodeModelIndex::Precedes, Is = QXmlNodeModelIndex::Is, Follows = QXmlNodeModelIndex::Follows};
enum Axis{
AxisChild = QXmlNodeModelIndex::AxisChild, AxisDescendant = QXmlNodeModelIndex::AxisDescendant, AxisAttribute = QXmlNodeModelIndex::AxisAttribute, AxisSelf = QXmlNodeModelIndex::AxisSelf, AxisDescendantOrSelf = QXmlNodeModelIndex::AxisDescendantOrSelf, AxisFollowingSibling = QXmlNodeModelIndex::AxisFollowingSibling, AxisNamespace = QXmlNodeModelIndex::AxisNamespace, AxisFollowing = QXmlNodeModelIndex::AxisFollowing, AxisParent = QXmlNodeModelIndex::AxisParent, AxisAncestor = QXmlNodeModelIndex::AxisAncestor, AxisPrecedingSibling = QXmlNodeModelIndex::AxisPrecedingSibling, AxisPreceding = QXmlNodeModelIndex::AxisPreceding, AxisAncestorOrSelf = QXmlNodeModelIndex::AxisAncestorOrSelf};
public slots:
QXmlNodeModelIndex* new_QXmlNodeModelIndex();
QXmlNodeModelIndex* new_QXmlNodeModelIndex(const QXmlNodeModelIndex& other);
void delete_QXmlNodeModelIndex(QXmlNodeModelIndex* obj) { delete obj; }
qint64 additionalData(QXmlNodeModelIndex* theWrappedObject) const;
qint64 data(QXmlNodeModelIndex* theWrappedObject) const;
bool isNull(QXmlNodeModelIndex* theWrappedObject) const;
const QAbstractXmlNodeModel* model(QXmlNodeModelIndex* theWrappedObject) const;
bool operator_equal(QXmlNodeModelIndex* theWrappedObject, const QXmlNodeModelIndex& other) const;
};
#endif // PYTHONQTWRAPPER_QXMLNODEMODELINDEX_H