Review Request 113205: Make KJob::result public for the new signal/slot syntax.

Mark Gaiser markg85 at gmail.com
Fri Oct 11 18:59:58 BST 2013


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/113205/
-----------------------------------------------------------

Review request for KDE Frameworks and kdelibs.


Repository: kdelibs


Description
-------

The new signal/slot connection:
connect(job, &KJob::result,...

does't like result to be private and throws an compile error:
error: 'void KJob::result(KJob*)' is private

Making it public resolves the issue and makes this slot usable in the new syntax. In my case i wanted to use the new syntax and directly use a lambda as slot. Which isn't possible on this signal if it isn't public.


Diffs
-----

  tier1/kcoreaddons/src/lib/jobs/kjob.h d663530 

Diff: http://git.reviewboard.kde.org/r/113205/diff/


Testing
-------

Works just fine.


Thanks,

Mark Gaiser

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20131011/9a925e27/attachment.htm>
-------------- next part --------------
_______________________________________________
Kde-frameworks-devel mailing list
Kde-frameworks-devel at kde.org
https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


More information about the kde-core-devel mailing list