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

#include <qcore_mac_p.h>

+ Collaboration diagram for QMacKeyValueObserver:

Public Types

using Callback = std::function<void()>
 

Public Member Functions

 QMacKeyValueObserver ()=default
 
 QMacKeyValueObserver (const QMacKeyValueObserver &other)
 
 QMacKeyValueObserver (QMacKeyValueObserver &&other) noexcept
 
 ~QMacKeyValueObserver ()
 
QMacKeyValueObserveroperator= (const QMacKeyValueObserver &other)
 
void removeObserver ()
 
void swap (QMacKeyValueObserver &other) noexcept
 

Detailed Description

Definition at line 370 of file qcore_mac_p.h.

Member Typedef Documentation

◆ Callback

using QMacKeyValueObserver::Callback = std::function<void()>

Definition at line 373 of file qcore_mac_p.h.

Constructor & Destructor Documentation

◆ QMacKeyValueObserver() [1/3]

QMacKeyValueObserver::QMacKeyValueObserver ( )
default

◆ QMacKeyValueObserver() [2/3]

QMacKeyValueObserver::QMacKeyValueObserver ( const QMacKeyValueObserver & other)

Definition at line 621 of file qcore_mac.mm.

◆ QMacKeyValueObserver() [3/3]

QMacKeyValueObserver::QMacKeyValueObserver ( QMacKeyValueObserver && other)
inlinenoexcept

Definition at line 389 of file qcore_mac_p.h.

References other(), and swap().

+ Here is the call graph for this function:

◆ ~QMacKeyValueObserver()

QMacKeyValueObserver::~QMacKeyValueObserver ( )
inline

Definition at line 391 of file qcore_mac_p.h.

Member Function Documentation

◆ operator=()

QMacKeyValueObserver & QMacKeyValueObserver::operator= ( const QMacKeyValueObserver & other)
inline

Definition at line 393 of file qcore_mac_p.h.

References other(), and swap().

+ Here is the call graph for this function:

◆ removeObserver()

void QMacKeyValueObserver::removeObserver ( )

Definition at line 631 of file qcore_mac.mm.

◆ swap()

void QMacKeyValueObserver::swap ( QMacKeyValueObserver & other)
inlinenoexcept

Definition at line 404 of file qcore_mac_p.h.

References keyPath(), other(), and qt_ptr_swap().

+ Here is the call graph for this function:

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