Review Request 117277: KDatePicker: override changeEvent() instead of setEnabled()

Commit Hook null at kde.org
Tue Apr 1 21:37:30 UTC 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/117277/#review54821
-----------------------------------------------------------


This review has been submitted with commit d1e542627f907c9512859c0f002210d9bf8b221b by Alex Merry to branch master.

- Commit Hook


On April 1, 2014, 10:35 a.m., Alex Merry wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/117277/
> -----------------------------------------------------------
> 
> (Updated April 1, 2014, 10:35 a.m.)
> 
> 
> Review request for KDE Frameworks and Christoph Feck.
> 
> 
> Repository: kwidgetsaddons
> 
> 
> Description
> -------
> 
> KDatePicker: override changeEvent() instead of setEnabled()
> 
> As the comment noted, setEnabled() is not virtual.  Also, there was no
> need to separately enabled/disable the individual components, when they
> are children of the KDatePicker widget.  Instead, we override
> changeEvent() and use it to focus the table (as before).
> 
> This also extends the kdatepicktest to temporarily disable the picker.
> 
> 
> Diffs
> -----
> 
>   src/kdatepicker.h 855aeb01ff457394cfbcff57845a57a9eae0a103 
>   src/kdatepicker.cpp 345ee2d97632647789e6762e5e155e75802c2191 
>   tests/kdatepicktest.cpp 5f29110f2335bb110b3470007a59f9cb8b6bcfee 
> 
> Diff: https://git.reviewboard.kde.org/r/117277/diff/
> 
> 
> Testing
> -------
> 
> Builds.  Tests pass.  Played around with kdatepicktest; behaviour seems unchanged.
> 
> 
> Thanks,
> 
> Alex Merry
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20140401/4562b9d8/attachment.html>


More information about the Kde-frameworks-devel mailing list