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 22 of file qwindowsole.h.

Constructor & Destructor Documentation

◆ QWindowsOleDataObject()

QWindowsOleDataObject::QWindowsOleDataObject ( QMimeData * mimeData)
explicit

Definition at line 40 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 180 of file qwindowsole.cpp.

◆ EnumDAdvise()

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

Definition at line 186 of file qwindowsole.cpp.

◆ EnumFormatEtc()

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

Definition at line 136 of file qwindowsole.cpp.

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

Here is the call graph for this function:

◆ GetCanonicalFormatEtc()

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

Definition at line 107 of file qwindowsole.cpp.

◆ GetData()

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

Definition at line 65 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 83 of file qwindowsole.cpp.

◆ mimeData()

QMimeData * QWindowsOleDataObject::mimeData ( ) const

Definition at line 54 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 89 of file qwindowsole.cpp.

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

Here is the call graph for this function:

◆ releaseQt()

void QWindowsOleDataObject::releaseQt ( )

Definition at line 49 of file qwindowsole.cpp.

◆ reportedPerformedEffect()

DWORD QWindowsOleDataObject::reportedPerformedEffect ( ) const

Definition at line 59 of file qwindowsole.cpp.

◆ SetData()

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

Definition at line 114 of file qwindowsole.cpp.

References QWindowsContext::verbose.

Member Data Documentation

◆ advf

FORMATETC FAR DWORD QWindowsOleDataObject::advf

Definition at line 40 of file qwindowsole.h.

◆ override

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

Definition at line 41 of file qwindowsole.h.

◆ pAdvSink

FORMATETC FAR DWORD LPADVISESINK QWindowsOleDataObject::pAdvSink

Definition at line 40 of file qwindowsole.h.

◆ pFormatetc

FORMATETC FAR* QWindowsOleDataObject::pFormatetc

Definition at line 40 of file qwindowsole.h.


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