##// END OF EJS Templates
added methods to qt namespace...
added methods to qt namespace git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@71 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r35:b8dce620ba5c
Show More
PythonQtWrapper_QModelIndex.h
34 lines | 1.4 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QMODELINDEX_H
#define PYTHONQTWRAPPER_QMODELINDEX_H
#include <qabstractitemmodel.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qabstractitemmodel.h>
class PythonQtWrapper_QModelIndex : public QObject
{ Q_OBJECT
public:
public slots:
QModelIndex* new_QModelIndex();
QModelIndex* new_QModelIndex(const QModelIndex& other);
void delete_QModelIndex(QModelIndex* obj) { delete obj; }
void* internalPointer(QModelIndex* theWrappedObject) const;
QModelIndex parent(QModelIndex* theWrappedObject) const;
bool operator_less(QModelIndex* theWrappedObject, const QModelIndex& other) const;
int column(QModelIndex* theWrappedObject) const;
QModelIndex sibling(QModelIndex* theWrappedObject, int row, int column) const;
QVariant data(QModelIndex* theWrappedObject, int role = Qt::DisplayRole) const;
Qt::ItemFlags flags(QModelIndex* theWrappedObject) const;
qint64 internalId(QModelIndex* theWrappedObject) const;
bool isValid(QModelIndex* theWrappedObject) const;
const QAbstractItemModel* model(QModelIndex* theWrappedObject) const;
bool operator_equal(QModelIndex* theWrappedObject, const QModelIndex& other) const;
int row(QModelIndex* theWrappedObject) const;
QModelIndex child(QModelIndex* theWrappedObject, int row, int column) const;
};
#endif // PYTHONQTWRAPPER_QMODELINDEX_H