D18368: [effects] Port to new connect syntax
Kai Uwe Broulik <[email protected]>
| Newsgroups | gmane.comp.kde.devel.kwin |
|---|---|
| Message-ID | <[email protected]> |
broulik added inline comments. INLINE COMMENTS > desktopgrid_config.cpp:89 > addConfig(DesktopGridConfig::self(), m_ui); > - connect(m_ui->kcfg_LayoutMode, SIGNAL(currentIndexChanged(int)), this, SLOT(layoutSelectionChanged())); > - connect(m_ui->desktopNameAlignmentCombo, SIGNAL(currentIndexChanged(int)), this, SLOT(changed())); > - connect(m_ui->shortcutEditor, SIGNAL(keyChange()), this, SLOT(changed())); > + connect(m_ui->kcfg_LayoutMode, qOverload<int>(&KComboBox::currentIndexChanged), this, &DesktopGridEffectConfig::layoutSelectionChanged); > + connect(m_ui->desktopNameAlignmentCombo, qOverload<int>(&KComboBox::currentIndexChanged), this, qOverload<>(&DesktopGridEffectConfig::changed)); Do we allow C++14? REPOSITORY R108 KWin REVISION DETAIL https://phabricator.kde.org/D18368 To: zzag, #kwin Cc: broulik, graesslin, kwin, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart