Make QWidget::isEnabledTo() and isVisibleTo() to take const pointers.
authorJason McDonald <jason.mcdonald@nokia.com>
Mon, 26 Mar 2012 09:09:49 +0000 (19:09 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 26 Mar 2012 19:30:54 +0000 (21:30 +0200)
commit13d936b0f2105be2f87df5dc1d6f5f2da11a74cc
tree9da6976c0b2407c8106b2f826ed7f0dd21ed68c4
parent6a1d1165c2392e1ab5f493ce324942faa4d5df43
Make QWidget::isEnabledTo() and isVisibleTo() to take const pointers.

This commit addresses a long-standing Qt 5 to-do comment. Whilst a
trivial change, it is binary incompatible.

Task-number: QTBUG-259

Change-Id: I2fc7bfda488318dbabbbea9f5ff9d2b1d6ce0784
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
src/widgets/kernel/qwidget.cpp
src/widgets/kernel/qwidget.h