The QSharedData class is a base class for shared data objects. More...
Header: | #include <QSharedData> |
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.
QSharedData(const QSharedData &) | |
QSharedData() |
QSharedData is designed to be used with QSharedDataPointer or QExplicitlySharedDataPointer to implement custom implicitly shared or explicitly shared classes. QSharedData provides thread-safe reference counting.
See QSharedDataPointer and QExplicitlySharedDataPointer for details.
Constructs a QSharedData object with reference count 0. The parameter is ignored.
Constructs a QSharedData object with a reference count of 0.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: