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も参照してください 。
© 2025 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.