Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
QWindowsOleEnumFmtEtc Class Reference

Enumerates the FORMATETC structures supported by QWindowsOleDataObject. More...

#include <qwindowsole.h>

+ Inheritance diagram for QWindowsOleEnumFmtEtc:
+ Collaboration diagram for QWindowsOleEnumFmtEtc:

Public Member Functions

 QWindowsOleEnumFmtEtc (const QList< FORMATETC > &fmtetcs)
 
 QWindowsOleEnumFmtEtc (const QList< LPFORMATETC > &lpfmtetcs)
 
 ~QWindowsOleEnumFmtEtc () override
 
bool isNull () const
 
STDMETHOD() Next (ULONG celt, LPFORMATETC rgelt, ULONG FAR *pceltFetched) override
 
STDMETHOD() Skip (ULONG celt) override
 
STDMETHOD() Reset (void) override
 
STDMETHOD() Clone (LPENUMFORMATETC FAR *newEnum) override
 
- Public Member Functions inherited from QWindowsComBase< IEnumFORMATETC >
 QWindowsComBase (ULONG initialRefCount=1)
 
virtual ~QWindowsComBase ()=default
 
HRESULT STDMETHODCALLTYPE QueryInterface (REFIID id, LPVOID *iface) override
 
ULONG STDMETHODCALLTYPE AddRef () override
 
ULONG STDMETHODCALLTYPE Release () override
 

Detailed Description

Enumerates the FORMATETC structures supported by QWindowsOleDataObject.

Definition at line 50 of file qwindowsole.h.

Constructor & Destructor Documentation

◆ QWindowsOleEnumFmtEtc() [1/2]

QWindowsOleEnumFmtEtc::QWindowsOleEnumFmtEtc ( const QList< FORMATETC > &  fmtetcs)
explicit

Definition at line 196 of file qwindowsole.cpp.

References QList< T >::append(), QList< T >::at(), QList< T >::count(), qCDebug, QList< T >::reserve(), and QWindowsContext::verbose.

+ Here is the call graph for this function:

◆ QWindowsOleEnumFmtEtc() [2/2]

QWindowsOleEnumFmtEtc::QWindowsOleEnumFmtEtc ( const QList< LPFORMATETC > &  lpfmtetcs)
explicit

Definition at line 213 of file qwindowsole.cpp.

References QList< T >::append(), QList< T >::at(), QList< T >::count(), qCDebug, QList< T >::reserve(), and QWindowsContext::verbose.

+ Here is the call graph for this function:

◆ ~QWindowsOleEnumFmtEtc()

QWindowsOleEnumFmtEtc::~QWindowsOleEnumFmtEtc ( )
override

Definition at line 231 of file qwindowsole.cpp.

References QList< T >::at(), QList< T >::clear(), and QList< T >::count().

+ Here is the call graph for this function:

Member Function Documentation

◆ Clone()

STDMETHODIMP QWindowsOleEnumFmtEtc::Clone ( LPENUMFORMATETC FAR *  newEnum)
override

Definition at line 317 of file qwindowsole.cpp.

◆ isNull()

bool QWindowsOleEnumFmtEtc::isNull ( ) const

Definition at line 248 of file qwindowsole.cpp.

◆ Next()

STDMETHODIMP QWindowsOleEnumFmtEtc::Next ( ULONG  celt,
LPFORMATETC  rgelt,
ULONG FAR *  pceltFetched 
)
override

Definition at line 255 of file qwindowsole.cpp.

References QList< T >::at(), QList< T >::count(), and i.

+ Here is the call graph for this function:

◆ Reset()

STDMETHODIMP QWindowsOleEnumFmtEtc::Reset ( void  )
override

Definition at line 310 of file qwindowsole.cpp.

◆ Skip()

STDMETHODIMP QWindowsOleEnumFmtEtc::Skip ( ULONG  celt)
override

Definition at line 286 of file qwindowsole.cpp.

References QList< T >::count(), and i.

+ Here is the call graph for this function:

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