[Kde-pim] KTimeChooser time editing widget

Michael Leupold lemma at confuego.org
Mon Aug 24 13:06:00 BST 2009


Michael Leupold wrote:
> [...]
> So while inheriting from QComboBox will make the widget miss new cool
> features KComboBox has, it almost seems less maintenance work to just port
> any new feature from KComboBox to KTimeChooser instead of keeping it
> working with KComboBox.
> 
> Inheriting from QWidget and delegating to a KComboBox might work though.
> I'll have to investigate that.

I just refactored the code to delegate to an internal KComboBox instead of 
inheriting. It seems to work fine and gives the widget better control about 
the combobox (no need to worry about client code calling KComboBox methods 
we don't want it to).

Almost ready for review :-)

Regards,
Michael

_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/



More information about the kde-pim mailing list