[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    Re: Applet::createConfigurationInterface
From:       Sebastian Kuegler <sebas () kde ! org>
Date:       2008-04-08 8:19:08
Message-ID: 200804081019.09150.sebas () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


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 

["signature.asc" (application/pgp-signature)]

_______________________________________________
Panel-devel mailing list
Panel-devel@kde.org
https://mail.kde.org/mailman/listinfo/panel-devel


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic