RFC KAutoConfig

Simon Hausmann hausmann at kde.org
Sun Feb 16 07:34:48 GMT 2003


On Thu, Feb 13, 2003 at 11:03:19AM -0500, Benjamin Meyer wrote:
> I have written a class that I would like to include in kdecore.
[ ... ]
>  void addWidget(QWidget *widget, QString group);
This should take a const reference instead of a value.

What I think the design lacks is a little bit of extensibility. It
is impossible for developers to add support for their own
configuration widget types they might use in multiple places (a
listview with checkboxes like in the ssl configuration comes to my
mind for example) . However making parseWidget virtual to archieve
that seems like a very bad idea to me.

Also there is the (unwritten ... well, written in mailing list
archives :) rule that there need to be at least two applications
making use of a class before it should be included in kdelibs.

Simon




More information about the kde-core-devel mailing list