1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
|
#ifndef QTSCRIPTSHELL_QABSTRACTITEMMODEL_H
#define QTSCRIPTSHELL_QABSTRACTITEMMODEL_H
#include <qabstractitemmodel.h>
#include <QtScript/qscriptvalue.h>
class QtScriptShell_QAbstractItemModel : public QAbstractItemModel
{
public:
QtScriptShell_QAbstractItemModel(QObject* parent = 0);
~QtScriptShell_QAbstractItemModel();
QModelIndex buddy(const QModelIndex& index) const;
bool canFetchMore(const QModelIndex& parent) const;
void childEvent(QChildEvent* arg__1);
int columnCount(const QModelIndex& parent = QModelIndex()) const;
void customEvent(QEvent* arg__1);
QVariant data(const QModelIndex& index, int role = Qt::DisplayRole) const;
bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent);
bool event(QEvent* arg__1);
bool eventFilter(QObject* arg__1, QEvent* arg__2);
void fetchMore(const QModelIndex& parent);
Qt::ItemFlags flags(const QModelIndex& index) const;
bool hasChildren(const QModelIndex& parent = QModelIndex()) const;
QVariant headerData(int section, Qt::Orientation orientation, int role = Qt::DisplayRole) const;
QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const;
bool insertColumns(int column, int count, const QModelIndex& parent = QModelIndex());
bool insertRows(int row, int count, const QModelIndex& parent = QModelIndex());
QMap<int , QVariant > itemData(const QModelIndex& index) const;
QList<QModelIndex > match(const QModelIndex& start, int role, const QVariant& value, int hits = 1, Qt::MatchFlags flags = Qt::MatchFlags(Qt::MatchStartsWith|Qt::MatchWrap)) const;
QMimeData* mimeData(const QList<QModelIndex >& indexes) const;
QStringList mimeTypes() const;
QModelIndex parent(const QModelIndex& child) const;
bool removeColumns(int column, int count, const QModelIndex& parent = QModelIndex());
bool removeRows(int row, int count, const QModelIndex& parent = QModelIndex());
void revert();
int rowCount(const QModelIndex& parent = QModelIndex()) const;
bool setData(const QModelIndex& index, const QVariant& value, int role = Qt::EditRole);
bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role = Qt::EditRole);
bool setItemData(const QModelIndex& index, const QMap<int , QVariant >& roles);
void sort(int column, Qt::SortOrder order = Qt::AscendingOrder);
QSize span(const QModelIndex& index) const;
bool submit();
Qt::DropActions supportedDropActions() const;
void timerEvent(QTimerEvent* arg__1);
QScriptValue __qtscript_self;
};
#endif // QTSCRIPTSHELL_QABSTRACTITEMMODEL_H
|