How to change the plasma theme?

Marco Martin notmart at gmail.com
Fri Nov 29 14:17:20 UTC 2013


On Friday 29 November 2013, Giorgos Tsiapaliokas wrote:
> Hello,
> 
> is it possible to change the plasma theme using c++ or qml in plasma2?
> I want plasmoidviewer2 to be able to change the plasma theme. I searched
> into the plasma-framework but I didn't find a way to change it except from
> changing the
> defaults file of the shell, but this isn't handy.
> 
> thanks,

theme.setUseGlobalSettings(false);
theme.setThemeName(themeName);

-- 
Marco Martin


More information about the Plasma-devel mailing list