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 > [email protected] > https://mail.kde.org/mailman/listinfo/kde-frameworks-devel _______________________________________________ Kde-frameworks-devel mailing list [email protected] https://mail.kde.org/mailman/listinfo/kde-frameworks-devel
