Module qtjambi
Package io.qt.core

Class QPropertyChangeHandler

All Implemented Interfaces:
QtObjectInterface

public final class QPropertyChangeHandler extends QPropertyObserver

Java wrapper for Qt class QPropertyChangeHandler

The QPropertyChangeHandler class controls the lifecycle of change callback installed on a QProperty. QPropertyChangeHandler is created when registering a callback on a QProperty to listen to changes to the property's value, using QProperty.onValueChanged(Runnable) and QProperty.subscribe(Runnable). As long as the change handler is alive i.e. as long as a reference to the QPropertyChangeHandler instance exists, the callback remains installed.
  • Constructor Details

    • QPropertyChangeHandler

      public QPropertyChangeHandler(Runnable functor)