PythonQtWrapper_QPersistentModelIndex.h
36 lines
| 1.8 KiB
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QPERSISTENTMODELINDEX_H | ||
#define PYTHONQTWRAPPER_QPERSISTENTMODELINDEX_H | ||||
#include <qabstractitemmodel.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
#include <qabstractitemmodel.h> | ||||
class PythonQtWrapper_QPersistentModelIndex : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QPersistentModelIndex* new_QPersistentModelIndex(); | ||||
QPersistentModelIndex* new_QPersistentModelIndex(const QModelIndex& index); | ||||
QPersistentModelIndex* new_QPersistentModelIndex(const QPersistentModelIndex& other); | ||||
void delete_QPersistentModelIndex(QPersistentModelIndex* obj) { delete obj; } | ||||
florianlink
|
r24 | const QAbstractItemModel* model(QPersistentModelIndex* theWrappedObject) const; | ||
bool isValid(QPersistentModelIndex* theWrappedObject) const; | ||||
florianlink
|
r13 | QModelIndex parent(QPersistentModelIndex* theWrappedObject) const; | ||
florianlink
|
r24 | qint64 internalId(QPersistentModelIndex* theWrappedObject) const; | ||
QVariant data(QPersistentModelIndex* theWrappedObject, int role = Qt::DisplayRole) const; | ||||
QModelIndex operator_cast_QModelIndex(QPersistentModelIndex* theWrappedObject) const; | ||||
florianlink
|
r28 | QModelIndex sibling(QPersistentModelIndex* theWrappedObject, int row, int column) const; | ||
florianlink
|
r24 | Qt::ItemFlags flags(QPersistentModelIndex* theWrappedObject) const; | ||
bool operator_equal(QPersistentModelIndex* theWrappedObject, const QModelIndex& other) const; | ||||
QModelIndex child(QPersistentModelIndex* theWrappedObject, int row, int column) const; | ||||
florianlink
|
r28 | int row(QPersistentModelIndex* theWrappedObject) const; | ||
bool operator_less(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const; | ||||
bool operator_equal(QPersistentModelIndex* theWrappedObject, const QPersistentModelIndex& other) const; | ||||
florianlink
|
r24 | int column(QPersistentModelIndex* theWrappedObject) const; | ||
florianlink
|
r13 | }; | ||
#endif // PYTHONQTWRAPPER_QPERSISTENTMODELINDEX_H | ||||