QCAD Application Framework
CAD Application Development and Automation.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
qtscriptshell_QAbstractListModel.h
Go to the documentation of this file.
1 #ifndef QTSCRIPTSHELL_QABSTRACTLISTMODEL_H
2 #define QTSCRIPTSHELL_QABSTRACTLISTMODEL_H
3 
4 #include <qabstractitemmodel.h>
5 
6 #include <QtScript/qscriptvalue.h>
7 
8 class QtScriptShell_QAbstractListModel : public QAbstractListModel
9 {
10 public:
11  QtScriptShell_QAbstractListModel(QObject* parent = 0);
13 
14  QModelIndex buddy(const QModelIndex& index) const;
15  bool canFetchMore(const QModelIndex& parent) const;
16  void childEvent(QChildEvent* arg__1);
17  void customEvent(QEvent* arg__1);
18  QVariant data(const QModelIndex& index, int role) const;
19  bool dropMimeData(const QMimeData* data, Qt::DropAction action, int row, int column, const QModelIndex& parent);
20  bool event(QEvent* arg__1);
21  bool eventFilter(QObject* arg__1, QEvent* arg__2);
22  void fetchMore(const QModelIndex& parent);
23  Qt::ItemFlags flags(const QModelIndex& index) const;
24  QVariant headerData(int section, Qt::Orientation orientation, int role) const;
25  QModelIndex index(int row, int column = 0, const QModelIndex& parent = QModelIndex()) const;
26  bool insertColumns(int column, int count, const QModelIndex& parent);
27  bool insertRows(int row, int count, const QModelIndex& parent);
28  QMap<int , QVariant > itemData(const QModelIndex& index) const;
29  QList<QModelIndex > match(const QModelIndex& start, int role, const QVariant& value, int hits, Qt::MatchFlags flags) const;
30  QMimeData* mimeData(const QList<QModelIndex >& indexes) const;
31  QStringList mimeTypes() const;
32  bool removeColumns(int column, int count, const QModelIndex& parent);
33  bool removeRows(int row, int count, const QModelIndex& parent);
34  void revert();
35  int rowCount(const QModelIndex& parent) const;
36  bool setData(const QModelIndex& index, const QVariant& value, int role);
37  bool setHeaderData(int section, Qt::Orientation orientation, const QVariant& value, int role);
38  bool setItemData(const QModelIndex& index, const QMap<int , QVariant >& roles);
39  void sort(int column, Qt::SortOrder order);
40  QSize span(const QModelIndex& index) const;
41  bool submit();
42  Qt::DropActions supportedDropActions() const;
43  void timerEvent(QTimerEvent* arg__1);
44 
45  QScriptValue __qtscript_self;
46 };
47 
48 #endif // QTSCRIPTSHELL_QABSTRACTLISTMODEL_H