Make QAbstractProxyModel API invokable.
With reasoning similar to commit v5.5.0-alpha1~123 (Make some QAbstractItemModel API invokable, 2015-02-25) Change-Id: If0bf3a756ab1031f906c5bf9c823aafae4c3873c Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com> Reviewed-by: Stephen Kelly <steveire@gmail.com>
This commit is contained in:
parent
93305f3af3
commit
0809a922a0
@ -56,11 +56,11 @@ public:
|
||||
virtual void setSourceModel(QAbstractItemModel *sourceModel);
|
||||
QAbstractItemModel *sourceModel() const;
|
||||
|
||||
virtual QModelIndex mapToSource(const QModelIndex &proxyIndex) const = 0;
|
||||
virtual QModelIndex mapFromSource(const QModelIndex &sourceIndex) const = 0;
|
||||
Q_INVOKABLE virtual QModelIndex mapToSource(const QModelIndex &proxyIndex) const = 0;
|
||||
Q_INVOKABLE virtual QModelIndex mapFromSource(const QModelIndex &sourceIndex) const = 0;
|
||||
|
||||
virtual QItemSelection mapSelectionToSource(const QItemSelection &selection) const;
|
||||
virtual QItemSelection mapSelectionFromSource(const QItemSelection &selection) const;
|
||||
Q_INVOKABLE virtual QItemSelection mapSelectionToSource(const QItemSelection &selection) const;
|
||||
Q_INVOKABLE virtual QItemSelection mapSelectionFromSource(const QItemSelection &selection) const;
|
||||
|
||||
bool submit() Q_DECL_OVERRIDE;
|
||||
void revert() Q_DECL_OVERRIDE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user