Handling Configuration Dialogs in the Scripting api

Richard Dale richard.j.dale at gmail.com
Thu May 8 14:15:04 CEST 2008


2008/5/8 Sebastian Kuegler <sebas at kde.org>:

> On Thursday 08 May 2008 12:14:25 Richard Dale wrote:
> >   In appletscripting.h there is a method called
> > showConfigurationInterface():
> >
> >   /**
> >      * Show a configuration dialog.
> >      */
> >     virtual void showConfigurationInterface();
> >
> > Note that the comment describes it as a 'dialog', and so the first
> question
> > is why isn't it named 'showConfigurationDialog()' - interface seems
> pretty
> > meaningless to me. Similarly the C++ equivalent is called
> > createConfigureInterface() and would be better named
> > createConfigurationDialog() in my opinion.
>
> That's old API. If you spot it somewhere, cull it in favor of
> createConfigurationInterface() (why it's not ...Dialog(), not sure... maybe
> we won't use a dialog in the future but just flip the applet around and
> have
> configuration on its backside).

 OK, I've renamed it as createConfigurationInterface().

-- Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/panel-devel/attachments/20080508/e31ac644/attachment.html 


More information about the Panel-devel mailing list