QSharedData Class | Qt Core (original) (raw)
The QSharedData class is a base class for shared data objects. More...
Header: | #include |
---|---|
CMake: | find_package(Qt6 REQUIRED COMPONENTS Core) target_link_libraries(mytarget PRIVATE Qt6::Core) |
qmake: | QT += core |
Note: All functions in this class are reentrant.
Public Functions
Member Function Documentation
[noexcept]
QSharedData::QSharedData()
Constructs a QSharedData object with a reference count of 0.
[noexcept]
QSharedData::QSharedData(const QSharedData &)
Constructs a QSharedData object with reference count 0. The parameter is ignored.
© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.