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
|
#ifndef QTSCRIPTSHELL_QABSTRACTTABLEMODEL_H
#define QTSCRIPTSHELL_QABSTRACTTABLEMODEL_H
#include <qabstractitemmodel.h>
#include <QtScript/qscriptvalue.h>
class QtScriptShell_QAbstractTableModel : public QAbstractTableModel
{
public:
QtScriptShell_QAbstractTableModel(QObject* parent = 0);
~QtScriptShell_QAbstractTableModel();
QModelIndex buddy(const QModelIndex& index) const;
bool canFetchMore(const QModelIndex& parent) const;
void childEvent(QChildEvent* arg__1);
int columnCount(const QModelIndex& parent) const;
void customEvent(QEvent* arg__1);
QVariant data(const QModelIndex& index, int role) 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;
QVariant headerData(int section, Qt::Orientation orientation, int role) const;
QModelIndex index(int row, int column, const QModelIndex& parent = QModelIndex()) const;
bool insertColumns(int column, int count, const QModelIndex& parent);
bool insertRows(int row, int count, const QModelIndex& parent);
QMap<int , QVariant > itemData(const QModelIndex& index) const;
QList<QModelIndex > match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const;
QMimeData* mimeData(const QList<QModelIndex >& indexes) const;
QStringList mimeTypes() const;
bool removeColumns(int column, int count, const QModelIndex& parent);
bool removeRows(int row, int count, const QModelIndex& parent);
void revert();
int rowCount(const QModelIndex& parent) const;
bool setData(const QModelIndex& index, const QVariant& value, int role);
bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role);
bool setItemData(const QModelIndex& index, const QMap<int , QVariant >& roles);
void sort(int column, Qt::SortOrder order);
QSize span(const QModelIndex& index) const;
bool submit();
Qt::DropActions supportedDropActions() const;
void timerEvent(QTimerEvent* arg__1);
QScriptValue __qtscript_self;
};
#endif // QTSCRIPTSHELL_QABSTRACTTABLEMODEL_H
|