Extending KSettings::Dialog to allow to specify excludes

Matthias Kretz kretz at kde.org
Tue Jun 19 09:51:27 BST 2007


On Tuesday 19 June 2007, Aaron J. Seigo wrote:
> > However this setter will only work before the show() method of the
> > dialog is called the first time. Because afterwards
> > createDialogFromServices is not executed anymore. So the setter is not
> > really a setter, its more an initializer.
>
> true; but at least it helps keep the ctors cleaner and perhaps at some
> point we can actually make it generally useful (e.g. if it's already
> init'd, when the blacklist is set it could remove panels that match... just
> a thought, and certainly not necessary imho for 4.0.. in fact, i'd actually
> be surprised if anyone used it in that manner at all)

Yes, I'd like to fix that by using a model + KPageDialog features. Then 
changing the model will change the dialog. Should be a lot easier then 
compared to the KDE3 KDialogBase...

-- 
________________________________________________________
Matthias Kretz (Germany)                            <><
http://Vir.homelinux.org/
MatthiasKretz at gmx.net, kretz at kde.org,
Matthias.Kretz at urz.uni-heidelberg.de
-------------- 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/kde-core-devel/attachments/20070619/967c87fc/attachment.sig>


More information about the kde-core-devel mailing list