Obsolete Members for QFileOpenEvent

クラスQFileOpenEvent の以下のメンバは非推奨である。これらは古いソース・コードの動作を維持するために提供されています。新しいコードでは使用しないことを強くお勧めします。

パブリック関数

(deprecated in 6.6) bool openFile(QFile &file, QIODeviceBase::OpenMode flags) const

メンバ関数ドキュメント

[deprecated in 6.6] bool QFileOpenEvent::openFile(QFile &file, QIODeviceBase::OpenMode flags) const

この関数は6.6から非推奨となった。新しいコードでは使用しないことを強く推奨する。

file() が返す文字列を解釈する。

flags で指定されたモードで、このイベントによって参照されるfile 上のQFile を開く。成功すればtrue を返し、そうでなければfalse を返す。

ファイルによっては名前で開くことができず、このイベントに格納されている特定の情報を必要とするため、これは必要である。

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