Add USER properties to QDateEdit and QTimeEdit.
authorStephen Kelly <stephen.kelly@kdab.com>
Wed, 21 Mar 2012 19:41:57 +0000 (20:41 +0100)
committerQt by Nokia <qt-info@nokia.com>
Wed, 28 Mar 2012 00:01:49 +0000 (02:01 +0200)
commitc3e1abad4e141e6e9d876e5cff194c473a2654eb
tree6878ee94b8901d402332a027e7081631f8ddcba6
parente7a6dacf805602eb76786244da76dae29624bfb7
Add USER properties to QDateEdit and QTimeEdit.

Both classes had such components before, but there were issues with
the NOTIFY signal not being in the same class as the Q_PROPERTY.

This patch solves that problem by using a signal of a different name.

Task-number: QTBUG-15731
Change-Id: Ibc7ce4dba8a6b88c05d62a90e14d0101c5cd3082
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
Reviewed-by: Thorbjørn Lund Martsum <tmartsum@gmail.com>
dist/changes-5.0.0
src/widgets/itemviews/qitemdelegate.cpp
src/widgets/itemviews/qstyleditemdelegate.cpp
src/widgets/widgets/qdatetimeedit.cpp
src/widgets/widgets/qdatetimeedit.h
tests/auto/widgets/itemviews/qitemdelegate/tst_qitemdelegate.cpp