D8999: KJob: add start(int delay) method

Aleix Pol Gonzalez noreply at phabricator.kde.org
Sat Nov 25 20:47:43 UTC 2017


apol added a comment.


  I don't really see the value here. Can't the application developer also do the QTimer gimmick?
  
  Something I find myself doing often is the singleShot with 0, maybe simply adding a `startLater()` (à la `deleteLater()`) method would work and be slightly more elegant API.
  
  I'm not sure when is it that we'd use a delay != 0.

REPOSITORY
  R244 KCoreAddons

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

To: rjvbb, dfaure
Cc: apol, anthonyfieroni, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171125/2aa4d71d/attachment.html>


More information about the Kde-frameworks-devel mailing list