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