[Panel-devel] Applet updating

Petri Damsten petri.damsten at iki.fi
Sun Sep 16 17:10:49 CEST 2007


Hi,

Trying to get applet update behave similarly whether data is ready in 
DataEngine::updateSource() or not. After all applet writer should not have to 
know how engine gets it's data.

1. Data might not be ready yet so don't call update yet. It gets called when 
engine calls setData. 

Should update be called at start if engine does not call setData at all?

2. Call source with createWhenMissing true so DataContainer gets created even 
if setData is not called in DataEngine::updateSource()

3. queue to true so updated gets called after first setData

4. Don't update if it's queued

Petri

-- 
A lecture is a process where information is passed from the notebook of the 
lecturer to the notebook of the student without necessarily passing through 
the minds of either.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: update.diff
Type: text/x-diff
Size: 1806 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20070916/d9c934c3/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20070916/d9c934c3/attachment.pgp 


More information about the Panel-devel mailing list