#include <qdrag.h>

Signals |
|
| void | actionChanged (Qt::DropAction action) |
| void | targetChanged (QWidget *newTarget) |
Public Member Functions |
|
| QDrag (QWidget *dragSource) | |
| ~QDrag () | |
| void | setMimeData (QMimeData *data) |
| QMimeData * | mimeData () const |
| void | setPixmap (const QPixmap &) |
| QPixmap | pixmap () const |
| void | setHotSpot (const QPoint &hotspot) |
| QPoint | hotSpot () const |
| QWidget * | source () const |
| QWidget * | target () const |
| Qt::DropAction | start (Qt::DropActions supportedActions=Qt::CopyAction) |
| Qt::DropAction | exec (Qt::DropActions supportedActions=Qt::MoveAction) |
| Qt::DropAction | exec (Qt::DropActions supportedActions, Qt::DropAction defaultAction) |
| void | setDragCursor (const QPixmap &cursor, Qt::DropAction action) |
Friends |
|
| class | QDragManager |
| ~QDrag | ( | ) |
| void setMimeData | ( | QMimeData * | data | ) |
| QMimeData* mimeData | ( | ) | const |
| void setPixmap | ( | const QPixmap & | ) |
| QPixmap pixmap | ( | ) | const |
| void setHotSpot | ( | const QPoint & | hotspot | ) |
| QPoint hotSpot | ( | ) | const |
| QWidget* source | ( | ) | const |
| QWidget* target | ( | ) | const |
| Qt::DropAction start | ( | Qt::DropActions | supportedActions =
Qt::CopyAction |
) |
| Qt::DropAction exec | ( | Qt::DropActions | supportedActions =
Qt::MoveAction |
) |
| Qt::DropAction exec | ( | Qt::DropActions | supportedActions, |
| Qt::DropAction | defaultAction | ||
| ) |
| void setDragCursor | ( | const QPixmap & | cursor, |
| Qt::DropAction | action | ||
| ) |
| void actionChanged | ( | Qt::DropAction | action | ) | [signal] |
| void targetChanged | ( | QWidget * | newTarget | ) | [signal] |
friend class QDragManager
[friend] |