Make it possible for KConcatenateRowsProxyModel to work in QML

It's essentially the only methods required to start using it from QML.

REVIEW: 129678
wilder
Aleix Pol 9 years ago
parent f55b0559c8
commit 818ae4cf72
  1. 4
      src/kconcatenaterowsproxymodel.h

@ -77,7 +77,7 @@ public:
* The ownership of @p sourceModel is not affected by this.
* The same source model cannot be added more than once.
*/
void addSourceModel(QAbstractItemModel *sourceModel);
Q_SCRIPTABLE void addSourceModel(QAbstractItemModel *sourceModel);
/**
* Removes the source model @p sourceModel.
@ -85,7 +85,7 @@ public:
*
* The ownership of @sourceModel is not affected by this.
*/
void removeSourceModel(QAbstractItemModel *sourceModel);
Q_SCRIPTABLE void removeSourceModel(QAbstractItemModel *sourceModel);
/**
* Returns the proxy index for a given source index

Loading…
Cancel
Save