thanks guys!<br><br>hope for that <br><br><div class="gmail_quote">2009/8/28 Aaron J. Seigo <span dir="ltr"><<a href="mailto:aseigo@kde.org">aseigo@kde.org</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On August 28, 2009, WuYongbo wrote:<br>
> how are plasma-appletrc and plasmarc (in $HOME/.kde/share/config/) created<br>
> after .kde file are deleted manually ?<br>
<br>
</div>Plasma::Corona has a virtual method called loadDefaultLayout. DesktopCorona in<br>
kdebase/workspace/plasma/shells/desktop/desktopcorona.cpp implements this<br>
method and has a bunch of hardcoded defaults.<br>
<br>
In KDE 4.4, however, we will be offering something much nicer: the ability to<br>
define default layouts using ECMA Script.<br>
<br>
This means you can do things like offer different layouts based on screen<br>
resolution or different layouts for different users and groups using a very<br>
easy approach. You can read about it in the blog entry Juan linked to or see<br>
the (work in progress) API documentation here:<br>
<br>
<a href="http://websvn.kde.org/*checkout*/trunk/KDE/kdebase/workspace/plasma/design/plasma-%0Adesktop-scripting" target="_blank">http://websvn.kde.org/*checkout*/trunk/KDE/kdebase/workspace/plasma/design/plasma-<br>
desktop-scripting</a><br>
<br>
so for 4.4 this will be much nicer :)<br>
<font color="#888888"><br>
--<br>
Aaron J. Seigo<br>
humru othro a kohnu se<br>
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA EE75 D6B7 2EB1 A7F1 DB43<br>
<br>
KDE core developer sponsored by Qt Software<br>
</font><br>_______________________________________________<br>
Plasma-devel mailing list<br>
<a href="mailto:Plasma-devel@kde.org">Plasma-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/plasma-devel" target="_blank">https://mail.kde.org/mailman/listinfo/plasma-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>Good luck !<br>