Aggregation::Aggregate Proxy Page

Functions

QList<T *> query_all(QObject *obj)

Function Documentation

template <typename T> QList<T *> query_all(QObject *obj)

If obj belongs to an aggregate, all components that can be cast to the given type are returned. Otherwise, obj is returned if it is of the requested type.

See also Aggregate::components().