[Development] Qt 5.5.0 header diff: QtQuickWidgets.diff
Knoll Lars
Lars.Knoll at theqtcompany.com
Sun Jun 7 09:49:19 CEST 2015
On 06/06/15 10:04, "development-bounces+lars.knoll=theqtcompany.com at qt-project.org on behalf of Thiago Macieira" <development-bounces+lars.knoll=theqtcompany.com at qt-project.org on behalf of thiago.macieira at intel.com> wrote:
>On Friday 05 June 2015 10:10:46 Frederik Gladhorn wrote:
>> +#ifndef QT_NO_DRAGANDDROP
>> + virtual void dragEnterEvent(QDragEnterEvent *);
>> + virtual void dragMoveEvent(QDragMoveEvent *);
>> + virtual void dragLeaveEvent(QDragLeaveEvent *);
>> + virtual void dropEvent(QDropEvent *);
>> +#endif
>> +
>
>Is this a public libary?
Yes.
>
>
>Are the above overrides or not? If they are overrides, add Q_DECL_OVERRIDE.
The methods are overrides.
The change looks good except for the missing Q_DECL_OVERRIDE. So far the drag events have been catched in the generic ::event() reimplementation, so nobody could have subclassed these methods in any meaningful way anyway.
Cheers,
Lars
More information about the Development
mailing list