QObjectPredicate

fun interface QObjectPredicate(source)

A predicate over a QObject instance, used by routers to make data-dependent routing decisions. Unlike a plain () -> Boolean, the predicate is given the instance being routed, so routing can depend on its type, priority, value, or attached state.

Functions

Link copied to clipboard
abstract fun test(qObject: ModelElement.QObject): Boolean