protected slots from KConfigDialog removed

Frederik Gladhorn gladhorn at kde.org
Wed Apr 15 10:53:53 BST 2009


On Tuesday 14 April 2009 20:22:40 Frederik Gladhorn wrote:
> In revision 721220 KConfigDialog was changed.
>
> Two slots that allowed KConfigDialog subclasses with widgets not managed by
> KConfigDialog to update the dialog/button state.
> This is no longer possible and makes it for example impossible to update
> the Apply button in the desktop config dialog (right click on desktop). I'd
> like to add at least updateButtons() again.
>
> protected Q_SLOTS:
>      void updateButtons();
>      void settingsChangedSlot();
>

So is there a way to update the dialog buttons?
Might be that I'm simply blind... or would it be ok to add the two slots? - 
See attached patch.

Frederik


-------------- next part --------------
A non-text attachment was scrubbed...
Name: kconfigdialog.diff
Type: text/x-patch
Size: 1264 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090415/f50de23d/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20090415/f50de23d/attachment.sig>


More information about the kde-core-devel mailing list