Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QCFType< T > Class Template Reference

#include <qcore_mac_p.h>

+ Inheritance diagram for QCFType< T >:
+ Collaboration diagram for QCFType< T >:

Public Member Functions

Q_NODISCARD_CTOR QCFType (CFTypeRef r)
 
template<typename X >
X as () const
 
- Public Member Functions inherited from QAppleRefCounted< T, CFTypeRef, CFRetain, CFRelease >
Q_NODISCARD_CTOR QAppleRefCounted ()
 
Q_NODISCARD_CTOR QAppleRefCounted (const T &t)
 
Q_NODISCARD_CTOR QAppleRefCounted (T &&t) noexcept(std::is_nothrow_move_constructible< T >::value)
 
Q_NODISCARD_CTOR QAppleRefCounted (QAppleRefCounted &&other) noexcept(std::is_nothrow_move_assignable< T >::value &&std::is_nothrow_move_constructible< T >::value)
 
Q_NODISCARD_CTOR QAppleRefCounted (const QAppleRefCounted &other)
 
 ~QAppleRefCounted ()
 
 operator T () const
 
void swap (QAppleRefCounted &other) noexcept(noexcept(qSwap(value, other.value)))
 
QAppleRefCountedoperator= (const QAppleRefCounted &other)
 
QAppleRefCountedoperator= (QAppleRefCounted &&other) noexcept(std::is_nothrow_move_assignable< T >::value &&std::is_nothrow_move_constructible< T >::value)
 
T * operator& ()
 

Static Public Member Functions

static QCFType constructFromGet (const T &t)
 

Additional Inherited Members

- Protected Attributes inherited from QAppleRefCounted< T, CFTypeRef, CFRetain, CFRelease >
value
 

Detailed Description

template<typename T>
class QCFType< T >

Definition at line 149 of file qcore_mac_p.h.

Constructor & Destructor Documentation

◆ QCFType()

template<typename T >
Q_NODISCARD_CTOR QCFType< T >::QCFType ( CFTypeRef r)
inlineexplicit

Definition at line 154 of file qcore_mac_p.h.

Member Function Documentation

◆ as()

template<typename T >
template<typename X >
X QCFType< T >::as ( ) const
inline

◆ constructFromGet()

template<typename T >
static QCFType QCFType< T >::constructFromGet ( const T & t)
inlinestatic

Definition at line 156 of file qcore_mac_p.h.

Referenced by QCoreTextFontEngine::QCoreTextFontEngine(), QCoreTextFontEngine::QCoreTextFontEngine(), QCocoaBackingStore::colorSpace(), and QCoreTextFontDatabaseEngineFactory< T >::fontEngine().

+ Here is the caller graph for this function:

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