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

OLE data container. More...

#include <qwindowsole.h>

Inheritance diagram for QWindowsOleDataObject:
Collaboration diagram for QWindowsOleDataObject:

Public Member Functions

 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

Public Attributes

FORMATETC FAR * pFormatetc
FORMATETC FAR DWORD advf
FORMATETC FAR DWORD LPADVISESINK pAdvSink
FORMATETC FAR DWORD LPADVISESINK DWORD FAR *pdwConnection noexcept override

Detailed Description

OLE data container.

The following methods are NOT supported for data transfer using the clipboard or drag-drop: \list

  • IDataObject::SetData – return E_NOTIMPL
  • IDataObject::DAdvise – return OLE_E_ADVISENOTSUPPORTED
  • DUnadvise
  • EnumDAdvise
  • IDataObject::GetCanonicalFormatEtc – return E_NOTIMPL (NOTE: must set pformatetcOut->ptd = NULL) \endlist

Definition at line 21 of file qwindowsole.h.

Constructor & Destructor Documentation

◆ QWindowsOleDataObject()

QWindowsOleDataObject::QWindowsOleDataObject ( QMimeData * mimeData)
explicit

Definition at line 39 of file qwindowsole.cpp.

Referenced by QWindowsDropDataObject::QWindowsDropDataObject(), and QWindowsClipboard::setMimeData().

Here is the caller graph for this function:

◆ ~QWindowsOleDataObject()

QWindowsOleDataObject::~QWindowsOleDataObject ( )
overridedefault

Member Function Documentation

◆ DUnadvise()

STDMETHODIMP QWindowsOleDataObject::DUnadvise ( DWORD dwConnection)
overridenoexcept

Definition at line 179 of file qwindowsole.cpp.

◆ EnumDAdvise()

STDMETHODIMP QWindowsOleDataObject::EnumDAdvise ( LPENUMSTATDATA FAR * ppenumAdvise)
overridenoexcept

Definition at line 185 of file qwindowsole.cpp.

◆ EnumFormatEtc()

STDMETHODIMP QWindowsOleDataObject::EnumFormatEtc ( DWORD dwDirection,
LPENUMFORMATETC FAR * ppenumFormatEtc )
overridenoexcept

Definition at line 135 of file qwindowsole.cpp.

References QWindowsContext::instance(), and QWindowsContext::mimeConverter().

Here is the call graph for this function:

◆ GetCanonicalFormatEtc()

STDMETHODIMP QWindowsOleDataObject::GetCanonicalFormatEtc ( LPFORMATETC pformatetc,
LPFORMATETC pformatetcOut )
overridenoexcept

Definition at line 106 of file qwindowsole.cpp.

◆ GetData()

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

Definition at line 64 of file qwindowsole.cpp.

References QWindowsContext::instance(), and QWindowsContext::mimeConverter().

Here is the call graph for this function:

◆ GetDataHere()

STDMETHODIMP QWindowsOleDataObject::GetDataHere ( LPFORMATETC pformatetc,
LPSTGMEDIUM pmedium )
overridenoexcept

Definition at line 82 of file qwindowsole.cpp.

◆ mimeData()

QMimeData * QWindowsOleDataObject::mimeData ( ) const

Definition at line 53 of file qwindowsole.cpp.

Referenced by QWindowsClipboard::mimeData(), and QWindowsClipboard::setMimeData().

Here is the caller graph for this function:

◆ QueryGetData()

STDMETHODIMP QWindowsOleDataObject::QueryGetData ( LPFORMATETC pformatetc)
overridenoexcept

Definition at line 88 of file qwindowsole.cpp.

References QWindowsContext::instance(), and QWindowsContext::mimeConverter().

Here is the call graph for this function:

◆ releaseQt()

void QWindowsOleDataObject::releaseQt ( )

Definition at line 48 of file qwindowsole.cpp.

◆ reportedPerformedEffect()

DWORD QWindowsOleDataObject::reportedPerformedEffect ( ) const

Definition at line 58 of file qwindowsole.cpp.

◆ SetData()

STDMETHODIMP QWindowsOleDataObject::SetData ( LPFORMATETC pformatetc,
STGMEDIUM FAR * pmedium,
BOOL fRelease )
overridenoexcept

Definition at line 113 of file qwindowsole.cpp.

Member Data Documentation

◆ advf

FORMATETC FAR DWORD QWindowsOleDataObject::advf

Definition at line 39 of file qwindowsole.h.

◆ override

FORMATETC FAR DWORD LPADVISESINK DWORD FAR* pdwConnection noexcept QWindowsOleDataObject::override

Definition at line 40 of file qwindowsole.h.

◆ pAdvSink

FORMATETC FAR DWORD LPADVISESINK QWindowsOleDataObject::pAdvSink

Definition at line 39 of file qwindowsole.h.

◆ pFormatetc

FORMATETC FAR* QWindowsOleDataObject::pFormatetc

Definition at line 39 of file qwindowsole.h.


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