[Panel-devel] KPanelExtension question

Aaron J. Seigo aseigo at kde.org
Fri Jan 13 20:04:59 CET 2006


On Friday 13 January 2006 05:19, Rajeev J Sebastian wrote:
> Hi,
>
> I am developing a KPanelExtension and I have a couple of questions
> regarding it (which I am reposting from kde-devel mailing list):
>
> 1) How to know when the KPanelExtension initializes its KConfig ?
> Currently, calling config() in the constructor of my panel extension
> returns 0. So, I am getting it in another frequently called method. Is
> there a better way to do this ?

about the only thing you can do is a set a singleshot timer to return back to 
your code after the ctor is done... sad, but true.

> 2) Is there some mechanism to remove the extension ? I have a button on my

not really.. this is a design flaw in kicker which is being addressed in kde4

-- 
Aaron J. Seigo
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

Full time KDE developer sponsored by Trolltech (http://www.trolltech.com)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20060113/2bd76ca2/attachment.pgp 


More information about the Panel-devel mailing list