D8336: Improve apidox of KJobTrackerInterface

Friedrich W. H. Kossebau noreply at phabricator.kde.org
Fri Nov 24 23:06:26 UTC 2017


kossebau accepted this revision.
kossebau added a comment.
This revision is now accepted and ready to land.


  (Sorry, forgot about this one, subscribed too to many diffs in the phabricator view)
  
  Looks good to me in general. Added some comments you might want to consider, but are free to ignore :)

INLINE COMMENTS

> kjobtrackerinterface.h:54
>       * Register a new job in this tracker.
> +     * The default implementation connects all the KJob signals
> +     * to the protected slots of this class.

IMHO this should have an explicit listing of the signals which are connected, so the API consumer exactly knows what to rely on. A few of the "all the KJob signals" are not wired up.

> kjobtrackerinterface.h:73
>       * Unregister a job from this tracker.
> +     * You need to manually call this method only if you re-implemented
> +     * registerJob() without connecting KJob::finished to this slot.

I would propose to make this a "@note ", given this is no description of the normal behaviour, but some additional info. It might also catch more attention.

REPOSITORY
  R244 KCoreAddons

BRANCH
  master

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

To: elvisangelaccio, kossebau, dfaure
Cc: apol, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171124/4fbebee7/attachment.html>


More information about the Kde-frameworks-devel mailing list