Obsolete Members for QQmlFileSelector

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

Static Public Members

(deprecated (6.0)) QQmlFileSelector *get(QQmlEngine *engine)

Member Function Documentation

[static] QQmlFileSelector *QQmlFileSelector::get(QQmlEngine *engine)

This function is deprecated since 6.0. We strongly advise against using it in new code.

The file selector should not be accessed after it is set. It may be in use. See below for further details.

Gets the QQmlFileSelector currently active on the target engine.

This method is deprecated. You should not retrieve the files selector from an engine after setting it. It may be in use.

If the engine passed here is a QQmlApplicationEngine that hasn't loaded any QML files, yet, it will be initialized. Any later calls to QQmlApplicationEngine::setExtraFileSelectors() will have no effect.

See also QQmlApplicationEngine.

© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.