Simplifying KConfigDialogManager

Albert Astals Cid aacid at kde.org
Mon May 20 23:31:03 UTC 2013


El Dijous, 16 de maig de 2013, a les 08:13:55, David Edmundson va escriure:
> KConfigDialogManager currently contains a map of every possible widget
> along with the name of the signal to connect to to know when a widget
> changes.
> 
> Can we kill this entire map and replace it with monitoring
> widget->metaObject()->userProperty()->notifySignal() at runtime?
> It will greatly simplify the code in there, whilst also making it more
> extensible/flexible/future proof.
> 
> We know that the user property must be set for all the widgets listed
> as otherwise they would have to be be listed in the current
> s_propertyMap.
> 
> If you agree I'll make a patch for review.

AFAIR there's some hacks regarding QCombBox/KComboBox or something like that, 
have you looked at those? Would they still work?

Cheers,
 Albert - Sad that we're now having kdelibs coding discussions in kde-
frameworks instead of in k-c-d

> 
> David
> _______________________________________________
> Kde-frameworks-devel mailing list
> Kde-frameworks-devel at kde.org
> https://mail.kde.org/mailman/listinfo/kde-frameworks-devel


More information about the Kde-frameworks-devel mailing list