![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qcore_ohos_p.h>
Public Types | |
| using | ObjectRefsMap = std::map<QObject *, std::shared_ptr<QObjectRef>> |
Public Member Functions | |
| QObjectThreadSafeRef () | |
| QObjectThreadSafeRef (QPointer< QObject > obj) | |
| QObjectThreadSafeRef (const QObjectThreadSafeRef &other) | |
| QObjectThreadSafeRef & | operator= (const QObjectThreadSafeRef &other) |
| bool | operator== (const QObjectThreadSafeRef &other) const |
| bool | operator!= (const QObjectThreadSafeRef &other) const |
| std::string | refName () const |
| QPointer< QObject > | data () const |
| void | visitInQtThreadIfAlive (std::function< void(QObject &)> visitFunc) const |
Definition at line 157 of file qcore_ohos_p.h.
| using QtOhos::QObjectThreadSafeRef::ObjectRefsMap = std::map<QObject *, std::shared_ptr<QObjectRef>> |
Definition at line 191 of file qcore_ohos_p.h.
| QtOhos::QObjectThreadSafeRef::QObjectThreadSafeRef | ( | ) |
Definition at line 163 of file qcore_ohos.cpp.
Definition at line 168 of file qcore_ohos.cpp.
|
default |
Definition at line 224 of file qcore_ohos.cpp.
| bool QtOhos::QObjectThreadSafeRef::operator!= | ( | const QObjectThreadSafeRef & | other | ) | const |
Definition at line 214 of file qcore_ohos.cpp.
|
default |
| bool QtOhos::QObjectThreadSafeRef::operator== | ( | const QObjectThreadSafeRef & | other | ) | const |
Definition at line 209 of file qcore_ohos.cpp.
| std::string QtOhos::QObjectThreadSafeRef::refName | ( | ) | const |
Definition at line 219 of file qcore_ohos.cpp.
| void QtOhos::QObjectThreadSafeRef::visitInQtThreadIfAlive | ( | std::function< void(QObject &)> | visitFunc | ) | const |
Definition at line 238 of file qcore_ohos.cpp.