Introducing components, how to

Sebastian Kügler sebas at kde.org
Thu Nov 10 15:22:05 UTC 2011


On Wednesday, November 09, 2011 21:01:16 Martin Gräßlin wrote:
> On Wednesday 09 November 2011 20:05:00 Marco Martin wrote:
> > On Wednesday 09 November 2011, Marco Martin wrote:
> > > When writing a widget, an application etc, just use
> > > import org.kde.plasma.components, the proper one is decided by the
> > > kdeclarativerc file, if it has
> > > [Components-platform]
> > > name=touch
> >
> > something Sune just noted to me..
> > maybe an environment variable would be better to chose this?
> >
> > opinions? ;)
> 
> both would be nice. Global config file and an environment variable to 
> overwrite. Should make testing touch stuff on desktop easier.
> 
> In KWin we have some options with environment variables overwriting
> settings,  so that works :-)

+1, seems to be the most flexible approach, especially for testing different 
UI versions next to each other.
-- 
sebas

http://www.kde.org | http://vizZzion.org | GPG Key ID: 9119 0EF9


More information about the Plasma-devel mailing list