1

Topic: Data in QEvent

Who is responsible for clearing of the dynamic data in events and when this clearing should happen? For example: QMimeData* mimeData = new QMimeData; mimeData-> setData (...); QDropEvent drop (aPoint, Qt:: CopyAction, mimeData); QCoreApplication:: sendEvent (aTarget, &drop); When and where should happen delete mimeData?