QSharedData Class

The QSharedData class is a base class for shared data objects. More...

Header: #include <QSharedData>
qmake: QT += core

Note: All functions in this class are reentrant.

Detailed Description

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.