D24046: Allow triggering sort from QML

Jonah BrĂ¼chert noreply at phabricator.kde.org
Sat Oct 5 09:13:10 BST 2019


jbbgameich added a comment.


  why not
  
    Q_INVOKABLE void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override {
        QSortFilterProxyModel::sort(column, order);
    }
  
  instead of adding a new function?

REPOSITORY
  R307 KPeople

REVISION DETAIL
  https://phabricator.kde.org/D24046

To: nicolasfella, apol
Cc: jbbgameich, broulik, kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20191005/93aab3e5/attachment.html>


More information about the Kde-frameworks-devel mailing list