D24046: Allow triggering sort from QML

Kai Uwe Broulik noreply at phabricator.kde.org
Sat Nov 23 08:33:49 GMT 2019


broulik added inline comments.

INLINE COMMENTS

> personssortfilterproxymodel.h:53
>      bool filterAcceptsRow(int source_row, const QModelIndex &source_parent) const override;
> +    Q_INVOKABLE void sortNow();
>  

Can you just forward the entire thing:

  Q_INVOKABLE void sort(int column, Qt::SortOrder order = Qt::AscendingOrder) override;

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/20191123/63dbf423/attachment.html>


More information about the Kde-frameworks-devel mailing list