Qt Reference Documentation

# Obsolete Members for QObject

The following class members are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

- QObject class reference

## Related Non-Members

T | qFindChild ( const QObject * obj, const QString & name = QString() )`(obsolete)`
QList<T> | qFindChildren ( const QObject * obj, const QString & name = QString() )`(obsolete)`

## Related Non-Members

### T qFindChild ( const QObject * obj, const QString & name = QString() )

This function overloads qFindChildren().

This function is equivalent to obj->findChild<T>(name).

Note: This function was provided as a workaround for MSVC 6 which did not support member template functions. It is advised to use the other form in new code.

See also QObject::findChild().

### QList<T> qFindChildren ( const QObject * obj, const QString & name = QString() )

This function overloads qFindChildren().

This function is equivalent to obj->findChildren<T>(name).

Note: This function was provided as a workaround for MSVC 6 which did not support member template functions. It is advised to use the other form in new code.

See also QObject::findChildren().