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
QWindowsDropDataObject Class Reference

QWindowsOleDataObject subclass specialized for handling Drag&Drop. More...

#include <qwindowsdropdataobject.h>

Inheritance diagram for QWindowsDropDataObject:
Collaboration diagram for QWindowsDropDataObject:

Public Member Functions

 QWindowsDropDataObject (QMimeData *mimeData)
 ~QWindowsDropDataObject () override
STDMETHOD GetData (LPFORMATETC pformatetcIn, LPSTGMEDIUM pmedium) noexcept override
STDMETHOD QueryGetData (LPFORMATETC pformatetc) noexcept override
Public Member Functions inherited from QWindowsOleDataObject
 QWindowsOleDataObject (QMimeData *mimeData)
 ~QWindowsOleDataObject () override
void releaseQt ()
QMimeDatamimeData () const
DWORD reportedPerformedEffect () const
STDMETHOD GetData (LPFORMATETC pformatetcIn, LPSTGMEDIUM pmedium) noexcept override
STDMETHOD GetDataHere (LPFORMATETC pformatetc, LPSTGMEDIUM pmedium) noexcept override
STDMETHOD QueryGetData (LPFORMATETC pformatetc) noexcept override
STDMETHOD GetCanonicalFormatEtc (LPFORMATETC pformatetc, LPFORMATETC pformatetcOut) noexcept override
STDMETHOD SetData (LPFORMATETC pformatetc, STGMEDIUM FAR *pmedium, BOOL fRelease) noexcept override
STDMETHOD EnumFormatEtc (DWORD dwDirection, LPENUMFORMATETC FAR *ppenumFormatEtc) noexcept override
STDMETHOD DUnadvise (DWORD dwConnection) noexcept override
STDMETHOD EnumDAdvise (LPENUMSTATDATA FAR *ppenumAdvise) noexcept override

Additional Inherited Members

Public Attributes inherited from QWindowsOleDataObject
FORMATETC FAR * pFormatetc
FORMATETC FAR DWORD advf
FORMATETC FAR DWORD LPADVISESINK pAdvSink
FORMATETC FAR DWORD LPADVISESINK DWORD FAR *pdwConnection noexcept override

Detailed Description

QWindowsOleDataObject subclass specialized for handling Drag&Drop.

Prevents "text/uri-list" data for local files from being exported as text or URLs, to allow dropped files to be attached to Office applications (instead of creating local hyperlinks).

Definition at line 11 of file qwindowsdropdataobject.h.

Constructor & Destructor Documentation

◆ QWindowsDropDataObject()

QWindowsDropDataObject::QWindowsDropDataObject ( QMimeData * mimeData)
explicit

Definition at line 25 of file qwindowsdropdataobject.cpp.

References QWindowsOleDataObject::QWindowsOleDataObject().

Referenced by QWindowsDrag::drag().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~QWindowsDropDataObject()

QWindowsDropDataObject::~QWindowsDropDataObject ( )
overridedefault

Member Function Documentation

◆ GetData()

STDMETHODIMP QWindowsDropDataObject::GetData ( LPFORMATETC pformatetcIn,
LPSTGMEDIUM pmedium )
overridenoexcept

Definition at line 33 of file qwindowsdropdataobject.cpp.

◆ QueryGetData()

STDMETHODIMP QWindowsDropDataObject::QueryGetData ( LPFORMATETC pformatetc)
overridenoexcept

Definition at line 42 of file qwindowsdropdataobject.cpp.


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