From c3e1abad4e141e6e9d876e5cff194c473a2654eb Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Wed, 21 Mar 2012 20:41:57 +0100 Subject: Add USER properties to QDateEdit and QTimeEdit. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Thorbjørn Lund Martsum --- dist/changes-5.0.0 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'dist') diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0 index ab9b80c21d..bb01da38ab 100644 --- a/dist/changes-5.0.0 +++ b/dist/changes-5.0.0 @@ -395,6 +395,11 @@ QtWidgets * ResizeMode resizeMode(int logicalindex) const - use sectionResizeMode(int logicalindex) instead. +* QDateEdit and QTimeEdit have re-gained a USER property. These were originally removed + before Qt 4.7.0, and are re-added for 5.0. This means that the userProperty for + those classes are now QDate and QTime respectively, not QDateTime as they have been + for the 4.7 and 4.8 releases. + QtNetwork --------- * QHostAddress::isLoopback() API added. Returns true if the address is -- cgit v1.2.3