QSharedData Class
La clase QSharedData es una clase base para objetos de datos compartidos. Más...
| Cabecera: | #include <QSharedData> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS Core)target_link_libraries(mytarget PRIVATE Qt6::Core) |
| qmake: | QT += core |
Nota: Todas las funciones de esta clase son reentrantes.
Funciones Públicas
| QSharedData() | |
| QSharedData(const QSharedData &) |
Descripción Detallada
QSharedData está diseñado para ser utilizado con QSharedDataPointer o QExplicitlySharedDataPointer para implementar clases personalizadas implícita o explícitamente compartidas. QSharedData proporciona un conteo de referencias a prueba de hilos.
Ver QSharedDataPointer y QExplicitlySharedDataPointer para más detalles.
Documentación de Funciones Miembro
[noexcept] QSharedData::QSharedData()
Construye un objeto QSharedData con un contador de referencias de 0.
[noexcept] QSharedData::QSharedData(const QSharedData &)
Construye un objeto QSharedData con el contador de referencias 0. El parámetro se ignora.
© 2026 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.