On Thursday 11 September 2008, Petri Damstén wrote: > Applets connect to apply & ok to know when user accepted config, but if > AppletScript uses configxml there seems to be no way to do that? Maybe > configAccepted signal in applet? I guess this could be good for Applets too > so they don't have to rely parent to have ok/apply.
there is a configChanged() signal from KCoreConfigSkeleton as well; we might be able to use that. it gets emitted when writeConfig() is called... soooo ... we could do sth like: * connect d->configXml configChanged to a configChanged signal (or slot?) * create dialog using d->configXml * writeConfig gets called by the dialog (for free) and that triggers things Petri, since you're working on an html based applet, would you mind coming up with an example patch to the webkit appletscript engine that would work for you as a consumer of that api? -- 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 Trolltech
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Plasma-devel mailing list Plasma-devel@kde.org https://mail.kde.org/mailman/listinfo/plasma-devel