En esta página

QPropertyNotifier Class

La clase `QPropertyNotifier` controla el ciclo de vida de las funciones de devolución de llamada por cambios instaladas en un ` QProperty`. Más información...

Encabezado: #include <QPropertyNotifier>
CMake: find_package(Qt6 REQUIRED COMPONENTS Core)
target_link_libraries(mytarget PRIVATE Qt6::Core)
qmake: QT += core
Desde: Qt 6.2
Heredado de: QPropertyObserver

Funciones públicas

Descripción detallada

QPropertyNotifier se crea al registrar una llamada de retorno en un objeto de tipo « QProperty » para detectar cambios en el valor de la propiedad, utilizando QProperty::addNotifier. Mientras el controlador de cambios esté activo, la llamada de retorno permanecerá instalada.

Una instancia del controlador puede transferirse entre ámbitos de C++ utilizando la semántica de movimiento.

Documentación de las funciones miembro

[noexcept default] QPropertyNotifier::QPropertyNotifier()

Crea por defecto una instancia de ` QPropertyNotifier`.

© 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.