D8999: KJob: add start(int delay) method
Anthony Fieroni
noreply at phabricator.kde.org
Sat Nov 25 18:43:06 UTC 2017
anthonyfieroni added inline comments.
INLINE COMMENTS
> kjob.cpp:98
> +{
> + QTimer::singleShot(delay, this, SLOT(start()));
> +}
Use new syntax
QTimer::singleShot(delay, this, &KJob::start);
> kjob.h:182
> + */
> + Q_SCRIPTABLE virtual void start(int delay);
> +
You cannot add a virtual function it will break ABI compatibility.
REPOSITORY
R244 KCoreAddons
REVISION DETAIL
https://phabricator.kde.org/D8999
To: rjvbb, dfaure
Cc: anthonyfieroni, #frameworks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171125/ae34f2a2/attachment.html>
More information about the Kde-frameworks-devel
mailing list