The QSharedData class is a base class for shared data objects. 更多...
| 頭: | #include <QSharedData> |
| qmake: | QT += core |
| 繼承者: | QAbstractXmlNodeModel , QDBusIntrospection::Interface ,和 QDBusIntrospection::Object |
注意: 此類的所有函數 可重入 .
| QSharedData () | |
| QSharedData (const QSharedData & other ) |
The QSharedData class is a base class for shared data objects.
QSharedData is designed to be used with QSharedDataPointer or QExplicitlySharedDataPointer 以實現自定義 隱式共享 or explicitly shared classes. QSharedData 提供 綫程安全 引用計數。
見 QSharedDataPointer and QExplicitlySharedDataPointer 瞭解細節。
構造 QSharedData object with a reference count of 0.
構造 QSharedData object with reference count 0. other 被忽略。