Q3DropSite Class

The Q3DropSite class provides nothing and does nothing. More...

Header: #include <Q3DropSite>

Public Functions

Q3DropSite(QWidget * self)
virtual ~Q3DropSite()

Detailed Description

The Q3DropSite class provides nothing and does nothing.

It was used in Qt 1.x to do some drag and drop; that has since been folded into QWidget.

See also Q3DragObject, Q3TextDrag, and Q3ImageDrag.

Member Function Documentation

Q3DropSite::Q3DropSite(QWidget * self)

Constructs a Q3DropSite to handle events for the widget self.

Pass this as the self parameter. This enables dropping by calling QWidget::setAcceptDrops(true).

[virtual] Q3DropSite::~Q3DropSite()

Destroys the drop site.

© 2016 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.