Eneboo - Documentación para desarrolladores
|
The QIconDragEvent class signals that a main icon drag has begun. Más...
#include <qevent.h>
Métodos públicos | |
QIconDragEvent () | |
bool | isAccepted () const |
void | accept () |
void | ignore () |
QIconDragEvent () | |
bool | isAccepted () const |
void | accept () |
void | ignore () |
Atributos protegidos | |
bool | accpt |
The QIconDragEvent class signals that a main icon drag has begun.
Icon drag events are sent to widgets when the main icon of a window has been dragged away. On Mac OS X this is fired when the proxy icon of a window is dragged off titlebar, in response to this event is is normal to begin using drag and drop.
QIconDragEvent::QIconDragEvent | ( | ) | [inline] |
Constructs an icon drag event object with the accept parameter flag set to FALSE.
QIconDragEvent::QIconDragEvent | ( | ) | [inline] |
void QIconDragEvent::accept | ( | ) | [inline] |
Sets the accept flag of the icon drag event object.
Setting the accept flag indicates that the receiver of this event has started a drag and drop oeration.
The accept flag is not set by default.
void QIconDragEvent::accept | ( | ) | [inline] |
void QIconDragEvent::ignore | ( | ) | [inline] |
void QIconDragEvent::ignore | ( | ) | [inline] |
Clears the accept flag of the icon drag object.
Clearing the accept flag indicates that the receiver of this event has not handled the icon drag as a result other events can be sent.
The icon drag event is constructed with the accept flag cleared.
bool QIconDragEvent::isAccepted | ( | ) | const [inline] |
bool QIconDragEvent::isAccepted | ( | ) | const [inline] |
bool QIconDragEvent::accpt [protected] |