D23772: Make less use of deprecated enum alias NET::StaysOnTop

Friedrich W. H. Kossebau noreply at phabricator.kde.org
Sat Sep 7 13:52:28 BST 2019


kossebau added a comment.


  Found while experimenting with code for T11490 <https://phabricator.kde.org/T11490>.
  
  This patch would later allow to do a simple
  
    #if KWINDOWSYSTEM_ENABLE_DEPRECATED_SINCE(5, 0)
              /**
                 @deprecated This is an obsolete name for KeepAbove.
              **/
              StaysOnTop   = KeepAbove,   // NOT STANDARD
    #endif
  
  to hide the enum alias on demand, without breaking the build of kwindowsystem itself

REPOSITORY
  R278 KWindowSystem

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

To: kossebau, #frameworks
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/20190907/14f6ed50/attachment.html>


More information about the Kde-frameworks-devel mailing list