- Extending Qt Creator Manual
- Aggregation::Aggregate Proxy Page
- Extending Qt Creator Manual 11.0.0-beta2

# 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().