Obsolete Members for QQmlFileSelector

QQmlFileSelector クラスの以下のメンバーは非推奨となっています。これらは、古いソースコードが動作し続けるように提供されているものです。新しいコードでの使用は強く推奨しません。

静的パブリックメンバー

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

メンバ関数のドキュメント

[static, deprecated in 6.0] QQmlFileSelector *QQmlFileSelector::get(QQmlEngine *engine)

この関数はバージョン 6.0 以降、非推奨となっています。新しいコードでの使用は強く推奨しません。

ファイル選択ダイアログは、設定後にアクセスしてはいけません。使用中の可能性があります。詳細については以下を参照してください。

対象のengine で現在アクティブなQQmlFileSelector を取得します。

このメソッドは非推奨です。ファイルセレクタを設定した後は、エンジンからそれを取得しないでください。使用中の可能性があります。

ここで渡されたengine が、まだQMLファイルを一切読み込んでいないQQmlApplicationEngine である場合、その は初期化されます。その後、QQmlApplicationEngine::setExtraFileSelectors()を呼び出しても何の効果もありません。

QQmlApplicationEngineも参照してください 。

© 2026 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.