D16584: Replace old connect with QT5 style in eventsview (Part 1)

Laurent Montel noreply at phabricator.kde.org
Thu Nov 1 12:41:16 GMT 2018


mlaurent requested changes to this revision.
mlaurent added inline comments.
This revision now requires changes to proceed.

INLINE COMMENTS

> todoview.cpp:208
>          mQuickSearch->setVisible(prefs->enableTodoQuickSearch());
> -        connect(mQuickSearch, SIGNAL(searchTextChanged(QString)),
> -                mProxyModel, SLOT(setFilterRegExp(QString)));
> +        connect(mQuickSearch, &TodoViewQuickSearch::searchTextChanged,
> +                mProxyModel, static_cast<void (QSortFilterProxyModel::*)(const QString&)>(&QSortFilterProxyModel::setFilterRegExp));

QOverload<....>

REPOSITORY
  R76 PIM: Event Views

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

To: ognarb, #kde_pim, mlaurent
Cc: mlaurent, dvratil, kde-pim, dvasin, rodsevich, winterz, vkrause, knauss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20181101/be51741b/attachment.html>


More information about the kde-pim mailing list