D28295: Introduce KNotificationJobUiDelegate

Ahmad Samir noreply at phabricator.kde.org
Fri Apr 3 18:17:43 BST 2020


ahmadsamir added inline comments.

INLINE COMMENTS

> dfaure wrote in knotificationjobuidelegate.cpp:24
> I don't remember any past discussion about this, but as I discovered in KIO commit 3d2330968b <https://phabricator.kde.org/R241:3d2330968beb508ac61639d0a9e523a5cc32fc27>, nested Private classes have the problem that you can't forward-declare them elsewhere in order to make them friends of another class.
> 
> What would be the arguments in favour of nested Private classes?
> All I see is the risk of forgetting Q_DECL_HIDDEN, incompatibility with Q_D/Q_Q macros and more generally, inconsistency with Qt, plus the friend problem above.

Someone should update the part about the nested Private classes https://community.kde.org/Policies/Binary_Compatibility_Issues_With_C++#Using_a_d-Pointer

REPOSITORY
  R289 KNotifications

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

To: broulik, #frameworks, nicolasfella, dfaure
Cc: ahmadsamir, kossebau, kde-frameworks-devel, LeGast00n, cblack, GB_2, michaelh, ngraham, bruns
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20200403/d4520ab2/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list