Qt 4.8
|
The QSharedData class is a base class for shared data objects. More...
#include <qshareddata.h>
Public Functions | |
QSharedData () | |
Constructs a QSharedData object with a reference count of 0. More... | |
QSharedData (const QSharedData &) | |
Constructs a QSharedData object with reference count 0. More... | |
Public Variables | |
QAtomicInt | ref |
Private Functions | |
QSharedData & | operator= (const QSharedData &) |
The QSharedData class is a base class for shared data objects.
Qt's base class for reference counting.
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.
Definition at line 56 of file qshareddata.h.
|
inline |
Constructs a QSharedData object with a reference count of 0.
Definition at line 61 of file qshareddata.h.
|
inline |
Constructs a QSharedData object with reference count 0.
other is ignored.
Definition at line 62 of file qshareddata.h.
|
private |
|
mutable |
Definition at line 59 of file qshareddata.h.
Referenced by QSslConfigurationPrivate::deepCopyDefaultConfiguration(), QGlyphRun::detach(), QImageTextureGlyphCache::fillTexture(), QDBusPendingCall::fromCompletedCall(), QPatternist::Item::fromPublic(), QPatternist::Item::operator=(), QXmlItem::operator=(), QNetworkProxyPrivate::operator==(), QDBusConnectionPrivate::processFinishedCall(), QDBusPendingCall::QDBusPendingCall(), QXmlItem::QXmlItem(), QPatternist::XsdSchemaResolver::resolveKeyReferences(), QDBusConnectionPrivate::sendWithReply(), QDBusConnectionPrivate::sendWithReplyAsync(), QSslSocket::sslConfiguration(), and QXmlItem::~QXmlItem().