Review Request 124536: Expose immutable config options in ConfigPropertyMap

David Edmundson david at davidedmundson.co.uk
Tue Nov 3 01:12:12 UTC 2015


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/124536/#review87895
-----------------------------------------------------------



src/kdeclarative/configpropertymap.cpp (line 45)
<https://git.reviewboard.kde.org/r/124536/#comment60302>

    I know how to make the q_invokable work.
    
    see the second constructor for derived classe
    
    https://doc.qt.io/archives/qt-5.3/qqmlpropertymap.html#QQmlPropertyMap-2
    
    it means when QQmlPropertyMap overrides the moc system it will link in our properties and slots and such


- David Edmundson


On July 30, 2015, 8:10 p.m., Kai Uwe Broulik wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/124536/
> -----------------------------------------------------------
> 
> (Updated July 30, 2015, 8:10 p.m.)
> 
> 
> Review request for Plasma.
> 
> 
> Repository: kdeclarative
> 
> 
> Description
> -------
> 
> This exposes a hash of immutable config options through the "immutables" property. I tried adding a Q_INVOKABLE which would be much nicer but me and Dan tried everything but couldn't make it work.
> 
> 
> Diffs
> -----
> 
>   src/kdeclarative/configpropertymap.cpp 93c49a3 
> 
> Diff: https://git.reviewboard.kde.org/r/124536/diff/
> 
> 
> Testing
> -------
> 
> Works, I can not grey out immutable config options in Plasma
> 
> 
> Thanks,
> 
> Kai Uwe Broulik
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20151103/6e1956e5/attachment.html>


More information about the Plasma-devel mailing list