--===============2042314012== Content-Type: multipart/alternative; boundary=001636eee4ea74690504726635bd --001636eee4ea74690504726635bd Content-Type: text/plain; charset=ISO-8859-1 thanks guys! hope for that 2009/8/28 Aaron J. Seigo > On August 28, 2009, WuYongbo wrote: > > how are plasma-appletrc and plasmarc (in $HOME/.kde/share/config/) > created > > after .kde file are deleted manually ? > > Plasma::Corona has a virtual method called loadDefaultLayout. DesktopCorona > in > kdebase/workspace/plasma/shells/desktop/desktopcorona.cpp implements this > method and has a bunch of hardcoded defaults. > > In KDE 4.4, however, we will be offering something much nicer: the ability > to > define default layouts using ECMA Script. > > This means you can do things like offer different layouts based on screen > resolution or different layouts for different users and groups using a very > easy approach. You can read about it in the blog entry Juan linked to or > see > the (work in progress) API documentation here: > > > http://websvn.kde.org/*checkout*/trunk/KDE/kdebase/workspace/plasma/design/plasma- > desktop-scripting > > so for 4.4 this will be much nicer :) > > -- > Aaron J. Seigo > humru othro a kohnu se > GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43 > > KDE core developer sponsored by Qt Software > > _______________________________________________ > Plasma-devel mailing list > Plasma-devel@kde.org > https://mail.kde.org/mailman/listinfo/plasma-devel > > -- Good luck ! --001636eee4ea74690504726635bd Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable thanks guys!

hope for that

2009/8= /28 Aaron J. Seigo <= aseigo@kde.org>
On August 28, 2009, WuYongbo wrote:
> how are plasma-appletrc and plasmarc (in =A0$HOME/.kde/share/config/) = created
> after .kde file are deleted manually ?

Plasma::Corona has a virtual method called loadDefaultLayout. Desktop= Corona in
kdebase/workspace/plasma/shells/desktop/desktopcorona.cpp implements this method and has a bunch of hardcoded defaults.

In KDE 4.4, however, we will be offering something much nicer: the ability = to
define default layouts using ECMA Script.

This means you can do things like offer different layouts based on screen resolution or different layouts for different users and groups using a very=
easy approach. You can read about it in the blog entry Juan linked to or se= e
the (work in progress) API documentation here:

http://websvn.kde= .org/*checkout*/trunk/KDE/kdebase/workspace/plasma/design/plasma-
desktop-scripting


so for 4.4 this will be much nicer :)

--
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA =A0EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Software

_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel




--
Good luck !
--001636eee4ea74690504726635bd-- --===============2042314012== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel --===============2042314012==--