Applet::createConfigurationInterface

Sebastian Kuegler sebas at kde.org
Tue Apr 8 10:19:08 CEST 2008


On Tuesday 08 April 2008 06:39:10 Aaron J. Seigo wrote:
> On Monday 07 April 2008, Sebastian Kuegler wrote:
> > From the API it's not easily visible how createConfigurationInterface()
> > is supposed to be used. Can you give a brief outline how this function
> > should be used in an applet?
>
> you can look at the analog clock applet, but generally it's this:

I don't see where the analog clock (or any other applet) uses this method 
rather than the old way of doing it. grep doesn't show any users in kdebase.

> void createConfigurationInterface(KConfigureDialog *parent)
> {
>     QWidget *page = new QWidget(parent);
>     /* fill page with widgets */
>     parent->addPage(page);
> }

Not quite clear how adding a UI file works then ...

Sorry for being a bit dense.
-- 
sebas

 http://www.kde.org | http://vizZzion.org |  GPG Key ID: 9119 0EF9 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 481 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080408/209a95cb/attachment.pgp 


More information about the Panel-devel mailing list