#include <qevent.h>

Public Member Functions |
|
| QDropEvent (const QPoint &pos, Qt::DropActions actions, const QMimeData *data, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers, Type type=Drop) | |
| ~QDropEvent () | |
| const QPoint & | pos () const |
| Qt::MouseButtons | mouseButtons () const |
| Qt::KeyboardModifiers | keyboardModifiers () const |
| Qt::DropActions | possibleActions () const |
| Qt::DropAction | proposedAction () const |
| void | acceptProposedAction () |
| Qt::DropAction | dropAction () const |
| void | setDropAction (Qt::DropAction action) |
| QWidget * | source () const |
| const QMimeData * | mimeData () const |
| const char * | format (int n=0) const |
| QByteArray | encodedData (const char *) const |
| bool | provides (const char *) const |
Protected Attributes |
|
| QPoint | p |
| Qt::MouseButtons | mouseState |
| Qt::KeyboardModifiers | modState |
| Qt::DropActions | act |
| Qt::DropAction | drop_action |
| Qt::DropAction | default_action |
| const QMimeData * | mdata |
| QList< QByteArray > | fmts |
Friends |
|
| class | QApplication |
| QDropEvent | ( | const QPoint & | pos, |
| Qt::DropActions | actions, | ||
| const QMimeData * | data, | ||
| Qt::MouseButtons | buttons, | ||
| Qt::KeyboardModifiers | modifiers, | ||
| Type | type = Drop |
||
| ) |
| ~QDropEvent | ( | ) |
| const QPoint& pos | ( | ) | const [inline] |
| Qt::MouseButtons mouseButtons | ( | ) | const [inline] |
| Qt::KeyboardModifiers keyboardModifiers | ( | ) | const [inline] |
| Qt::DropActions possibleActions | ( | ) | const [inline] |
| Qt::DropAction proposedAction | ( | ) | const [inline] |
| void acceptProposedAction | ( | ) | [inline] |
Definition at line 487 of file qevent.h.
{ drop_action = default_action; accept(); }
| Qt::DropAction dropAction | ( | ) | const [inline] |
| void setDropAction | ( | Qt::DropAction | action | ) |
| QWidget* source | ( | ) | const |
| const QMimeData* mimeData | ( | ) | const [inline] |
| const char* format | ( | int | n = 0 |
) | const [virtual] |
Implements QMimeSource.
| QByteArray encodedData | ( | const char * | ) | const [virtual] |
Implements QMimeSource.
| bool provides | ( | const char * | ) | const [virtual] |
Reimplemented from QMimeSource.
friend class QApplication
[friend] |
Reimplemented from QEvent.
Reimplemented in QDragMoveEvent.
Qt::MouseButtons mouseState
[protected] |
Qt::KeyboardModifiers modState
[protected] |
Qt::DropActions act
[protected] |
Qt::DropAction
drop_action
[protected] |
Qt::DropAction
default_action
[protected] |
QList<QByteArray> fmts
[mutable, protected] |