Review Request 118972: Don't have all the Thmeme color properties in the public api

Marco Martin notmart at gmail.com
Fri Jun 27 10:30:31 UTC 2014


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

Review request for KDE Frameworks and Plasma.


Repository: plasma-framework


Description
-------

the color properties are remotely useful only when used from QML and risk to explode in number in the future, it's not a good thing for a public c++ api.

Also, they will become kinda deprecated as in largely replaced by the ColorRole api. Too late to remove those properties completely, but still last days to move them at least out of c++ api. (and in qml they could be removed in the future in a 2.1 version of the import while still being present in 2.0 if needed)

This moves the color properties is a theme subclass available only from QML (yes, it basically reintroduces the old themeproxy concept, but i don't think it was completely a good move to move everything in theme)


Diffs
-----

  src/declarativeimports/core/CMakeLists.txt e3d2f4e 
  src/declarativeimports/core/corebindingsplugin.cpp ebd9fd7 
  src/declarativeimports/core/quicktheme.h PRE-CREATION 
  src/declarativeimports/core/quicktheme.cpp PRE-CREATION 
  src/plasma/theme.h 0211f73 
  src/plasma/theme.cpp c193807 

Diff: https://git.reviewboard.kde.org/r/118972/diff/


Testing
-------


Thanks,

Marco Martin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/plasma-devel/attachments/20140627/be714c72/attachment-0001.html>


More information about the Plasma-devel mailing list