##// END OF EJS Templates
added alphabetic sorting...
added alphabetic sorting git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@132 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r96:3170eb771a99
Show More
PythonQtWrapper_QAbstractItemModel.h
127 lines | 10.0 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_core / PythonQtWrapper_QAbstractItemModel.h
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QABSTRACTITEMMODEL_H
#define PYTHONQTWRAPPER_QABSTRACTITEMMODEL_H
#include <qabstractitemmodel.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QVariant>
#include <qabstractitemmodel.h>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qdatastream.h>
#include <qlist.h>
#include <qmimedata.h>
#include <qobject.h>
#include <qsize.h>
#include <qstringlist.h>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 class PythonQtShell_QAbstractItemModel : public QAbstractItemModel
{
public:
PythonQtShell_QAbstractItemModel(QObject* parent = 0):QAbstractItemModel(parent),_wrapper(NULL) {};
virtual QModelIndex buddy(const QModelIndex& index) const;
virtual bool canFetchMore(const QModelIndex& parent) const;
virtual void childEvent(QChildEvent* arg__1);
virtual int columnCount(const QModelIndex& parent = QModelIndex()) const;
virtual void customEvent(QEvent* arg__1);
virtual QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const;
virtual bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void fetchMore(const QModelIndex& parent);
virtual Qt::ItemFlags flags(const QModelIndex& index) const;
virtual bool hasChildren(const QModelIndex& parent = QModelIndex()) const;
virtual QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;
virtual QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const;
virtual bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex());
virtual bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex());
virtual QMap<int , QVariant > itemData(const QModelIndex& index) const;
virtual QList<QModelIndex > match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const;
virtual QMimeData* mimeData(const QList<QModelIndex >& indexes) const;
virtual QStringList mimeTypes() const;
virtual QModelIndex parent(const QModelIndex& child) const;
virtual bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex());
virtual bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex());
virtual void revert();
virtual int rowCount(const QModelIndex& parent = QModelIndex()) const;
virtual bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole);
virtual bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole);
virtual bool setItemData(const QModelIndex& index, const QMap<int , QVariant >& roles);
virtual void sort(int column, Qt::SortOrder order = Qt::AscendingOrder);
virtual QSize span(const QModelIndex& index) const;
virtual bool submit();
virtual Qt::DropActions supportedDropActions() const;
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
florianlink
upgraded wrappers to current generator version...
r28 class PythonQtPublicPromoter_QAbstractItemModel : public QAbstractItemModel
{ public:
florianlink
recreated wrappers to match current python qt version...
r73 inline QMimeData* promoted_mimeData(const QList<QModelIndex >& indexes) const { return QAbstractItemModel::mimeData(indexes); }
inline void promoted_revert() { QAbstractItemModel::revert(); }
inline bool promoted_canFetchMore(const QModelIndex& parent) const { return QAbstractItemModel::canFetchMore(parent); }
inline QVariant promoted_headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const { return QAbstractItemModel::headerData(section, orientation, role); }
florianlink
upgraded wrappers to current generator version...
r28 inline QModelIndex promoted_buddy(const QModelIndex& index) const { return QAbstractItemModel::buddy(index); }
florianlink
recreated wrappers to match current python qt version...
r73 inline bool promoted_insertRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QAbstractItemModel::insertRows(row, count, parent); }
inline bool promoted_submit() { return QAbstractItemModel::submit(); }
florianlink
upgraded wrappers to current generator version...
r28 inline Qt::ItemFlags promoted_flags(const QModelIndex& index) const { return QAbstractItemModel::flags(index); }
florianlink
recreated wrappers to match current python qt version...
r73 inline bool promoted_dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent) { return QAbstractItemModel::dropMimeData(data, action, row, column, parent); }
inline QStringList promoted_mimeTypes() const { return QAbstractItemModel::mimeTypes(); }
florianlink
upgraded wrappers to current generator version...
r28 inline bool promoted_insertColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QAbstractItemModel::insertColumns(column, count, parent); }
florianlink
recreated wrappers to match current python qt version...
r73 inline QList<QModelIndex > promoted_match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const { return QAbstractItemModel::match(start, role, value, hits, flags); }
florianlink
upgraded wrappers to current generator version...
r28 inline bool promoted_setItemData(const QModelIndex& index, const QMap<int , QVariant >& roles) { return QAbstractItemModel::setItemData(index, roles); }
florianlink
recreated wrappers to match current python qt version...
r73 inline void promoted_sort(int column, Qt::SortOrder order = Qt::AscendingOrder) { QAbstractItemModel::sort(column, order); }
inline Qt::DropActions promoted_supportedDropActions() const { return QAbstractItemModel::supportedDropActions(); }
inline bool promoted_removeRows(int row, int count, const QModelIndex& parent = QModelIndex()) { return QAbstractItemModel::removeRows(row, count, parent); }
inline bool promoted_setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole) { return QAbstractItemModel::setData(index, value, role); }
inline bool promoted_removeColumns(int column, int count, const QModelIndex& parent = QModelIndex()) { return QAbstractItemModel::removeColumns(column, count, parent); }
florianlink
upgraded wrappers to current generator version...
r28 inline QSize promoted_span(const QModelIndex& index) const { return QAbstractItemModel::span(index); }
florianlink
recreated wrappers to match current python qt version...
r73 inline bool promoted_hasChildren(const QModelIndex& parent = QModelIndex()) const { return QAbstractItemModel::hasChildren(parent); }
inline void promoted_fetchMore(const QModelIndex& parent) { QAbstractItemModel::fetchMore(parent); }
florianlink
upgraded wrappers to current generator version...
r28 inline QMap<int , QVariant > promoted_itemData(const QModelIndex& index) const { return QAbstractItemModel::itemData(index); }
florianlink
recreated wrappers to match current python qt version...
r73 inline bool promoted_setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole) { return QAbstractItemModel::setHeaderData(section, orientation, value, role); }
florianlink
upgraded wrappers to current generator version...
r28 };
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 class PythonQtWrapper_QAbstractItemModel : public QObject
{ Q_OBJECT
public:
public slots:
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QAbstractItemModel* new_QAbstractItemModel(QObject* parent = 0);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 void delete_QAbstractItemModel(QAbstractItemModel* obj) { delete obj; }
florianlink
recreated wrappers to match current python qt version...
r73 QMimeData* mimeData(QAbstractItemModel* theWrappedObject, const QList<QModelIndex >& indexes) const;
florianlink
upgraded wrappers to current generator version...
r28 bool removeRow(QAbstractItemModel* theWrappedObject, int row, const QModelIndex& parent = QModelIndex());
florianlink
recreated wrappers to match current python qt version...
r73 bool insertRow(QAbstractItemModel* theWrappedObject, int row, const QModelIndex& parent = QModelIndex());
void setSupportedDragActions(QAbstractItemModel* theWrappedObject, Qt::DropActions arg__1);
bool canFetchMore(QAbstractItemModel* theWrappedObject, const QModelIndex& parent) const;
QVariant headerData(QAbstractItemModel* theWrappedObject, int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;
QModelIndex sibling(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& idx) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QModelIndex buddy(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const;
florianlink
recreated wrappers to match current python qt version...
r73 bool removeColumn(QAbstractItemModel* theWrappedObject, int column, const QModelIndex& parent = QModelIndex());
bool insertRows(QAbstractItemModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex());
florianlink
upgraded wrappers to current generator version...
r28 Qt::ItemFlags flags(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const;
florianlink
recreated wrappers to match current python qt version...
r73 QObject* parent(QAbstractItemModel* theWrappedObject) const;
bool dropMimeData(QAbstractItemModel* theWrappedObject, const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent);
QStringList mimeTypes(QAbstractItemModel* theWrappedObject) const;
florianlink
upgraded wrappers to current generator version...
r28 bool insertColumns(QAbstractItemModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex());
florianlink
recreated wrappers to match current python qt version...
r73 QList<QModelIndex > match(QAbstractItemModel* theWrappedObject, const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const;
florianlink
upgraded wrappers to current generator version...
r28 bool setItemData(QAbstractItemModel* theWrappedObject, const QModelIndex& index, const QMap<int , QVariant >& roles);
florianlink
recreated wrappers to match current python qt version...
r73 bool insertColumn(QAbstractItemModel* theWrappedObject, int column, const QModelIndex& parent = QModelIndex());
bool hasIndex(QAbstractItemModel* theWrappedObject, int row, int column, const QModelIndex& parent = QModelIndex()) const;
void sort(QAbstractItemModel* theWrappedObject, int column, Qt::SortOrder order = Qt::AscendingOrder);
Qt::DropActions supportedDropActions(QAbstractItemModel* theWrappedObject) const;
bool removeRows(QAbstractItemModel* theWrappedObject, int row, int count, const QModelIndex& parent = QModelIndex());
bool setData(QAbstractItemModel* theWrappedObject, const QModelIndex& index, const QVariant& value, int role = Qt::EditRole);
bool removeColumns(QAbstractItemModel* theWrappedObject, int column, int count, const QModelIndex& parent = QModelIndex());
florianlink
upgraded wrappers to current generator version...
r28 Qt::DropActions supportedDragActions(QAbstractItemModel* theWrappedObject) const;
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QSize span(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const;
florianlink
recreated wrappers to match current python qt version...
r73 bool hasChildren(QAbstractItemModel* theWrappedObject, const QModelIndex& parent = QModelIndex()) const;
void fetchMore(QAbstractItemModel* theWrappedObject, const QModelIndex& parent);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QMap<int , QVariant > itemData(QAbstractItemModel* theWrappedObject, const QModelIndex& index) const;
florianlink
recreated wrappers to match current python qt version...
r73 bool setHeaderData(QAbstractItemModel* theWrappedObject, int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QABSTRACTITEMMODEL_H