D27171: kcms/kwinoptions : convert Advanced part to KConfigXT

Vlad Zahorodnii noreply at phabricator.kde.org
Wed Feb 5 15:50:47 GMT 2020


zzag added inline comments.

INLINE COMMENTS

> main.cpp:79
>      tab->addTab(mFocus, i18n("&Focus"));
> -    connect(mFocus, SIGNAL(changed(bool)), this, SLOT(moduleChanged(bool)));
> +    connect(mFocus, QOverload<bool>::of(&KCModule::changed), this, QOverload<bool>::of(&KCModule::changed));
>  

KWin requires C++14 so you can use `qOverload()`.

REPOSITORY
  R108 KWin

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

To: meven, ervin, #kwin, bport, crossi, zzag
Cc: kwin, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, fbampaloukas, GB_2, mkulinski, ragreen, jackyalcine, iodelay, crozbo, bwowk, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, hardening, romangg, jensreuterberg, abetts, sebas, apol, ahiemstra, mart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kwin/attachments/20200205/abf01639/attachment-0001.html>


More information about the kwin mailing list