D24466: Use ECMGenerateExportHeader to manage deprecated API better

David Faure noreply at phabricator.kde.org
Mon Oct 14 19:40:38 BST 2019


dfaure added a comment.


  Thanks for the investigation.
  
  check_and_warn_compat does not warn for this testcase because the slot is deprecated too.
  Try a deprecated signal and a non-deprecated slot :-)
  
    2714│     if (signal.attributes() & QMetaMethod::Compatibility) {
    2715│         if (!(method.attributes() & QMetaMethod::Compatibility))
    2716│             qWarning("QObject::connect: Connecting from COMPAT signal (%s::%s)",
    2717│                      sender->className(), signal.methodSignature().constData());

REPOSITORY
  R263 KXmlGui

BRANCH
  deprecatedapi

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

To: kossebau, #frameworks, dfaure, mlaurent
Cc: 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/20191014/44f89f38/attachment.html>


More information about the Kde-frameworks-devel mailing list