CopperSpice API  1.7.2
QPlatformDrag Class Referenceabstract

The QPlatformDrag class provides an abstraction for drag.

Inherited by QBasicDrag.

Public Methods

 QPlatformDrag ()
virtual ~QPlatformDrag ()
QDragcurrentDrag () const
virtual Qt::DropAction defaultAction (Qt::DropActions possibleActions, Qt::KeyboardModifiers modifiers) const
virtual Qt::DropAction drag (QDrag *m_drag) = 0
virtual bool ownsDragObject () const
virtual QMimeDataplatformDropData () = 0
void updateAction (Qt::DropAction action)

Static Public Methods

static QPixmap defaultPixmap ()

Constructor & Destructor Documentation

QPlatformDrag::QPlatformDrag ( )

Pending documentation.

QPlatformDrag::~QPlatformDrag ( )

Pending documentation.

Method Documentation

QDrag * QPlatformDrag::currentDrag ( ) const

Pending documentation.

Qt::DropAction QPlatformDrag::defaultAction ( Qt::DropActions  possibleActions,
Qt::KeyboardModifiers  modifiers 
) const

Pending documentation.

QPixmap QPlatformDrag::defaultPixmap ( )

Pending documentation.

Qt::DropAction QPlatformDrag::drag ( QDrag m_drag)
pure virtual

Documentation pending.

bool QPlatformDrag::ownsDragObject ( ) const

Returns bool indicating whether QPlatformDrag takes ownership and therefore responsibility of deleting the QDrag object passed in from QPlatformDrag::drag. This can be useful on platforms where QDrag object has to be kept around.

QMimeData * QPlatformDrag::platformDropData ( )
pure virtual

Documentation pending.

void QPlatformDrag::updateAction ( Qt::DropAction  action)

Called to notify QDrag about changes of the current action.