Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
QOhosPlatformDrag Class Referenceabstract

#include <qohosplatformdrag.h>

Inheritance diagram for QOhosPlatformDrag:
Collaboration diagram for QOhosPlatformDrag:

Public Member Functions

 QOhosPlatformDrag ()
 ~QOhosPlatformDrag () override
virtual void handlePreDrop ()=0
virtual void updateDropAction (Qt::DropAction dropAction)=0
Public Member Functions inherited from QPlatformDrag
 QPlatformDrag ()
virtual ~QPlatformDrag ()
QDragcurrentDrag () const
virtual Qt::DropAction drag (QDrag *m_drag)=0
virtual void cancelDrag ()
 Cancels the currently active drag (only for drags of the current application initiated by QPlatformDrag::drag()).
void updateAction (Qt::DropAction action)
 Called to notify QDrag about changes of the current action.
virtual Qt::DropAction defaultAction (Qt::DropActions possibleActions, Qt::KeyboardModifiers modifiers) const
virtual bool 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.

Additional Inherited Members

Static Public Member Functions inherited from QPlatformDrag
static QPixmap defaultPixmap ()

Detailed Description

Definition at line 12 of file qohosplatformdrag.h.

Constructor & Destructor Documentation

◆ QOhosPlatformDrag()

QOhosPlatformDrag::QOhosPlatformDrag ( )
default

◆ ~QOhosPlatformDrag()

QOhosPlatformDrag::~QOhosPlatformDrag ( )
overridedefault

Member Function Documentation

◆ handlePreDrop()

virtual void QOhosPlatformDrag::handlePreDrop ( )
pure virtual

◆ updateDropAction()

virtual void QOhosPlatformDrag::updateDropAction ( Qt::DropAction dropAction)
pure virtual

The documentation for this class was generated from the following files: