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() によって返される文字列を解釈します。
このイベントが参照するfile 上で、flags で指定されたモードでQFile を開きます。成功した場合はtrue を返し、失敗した場合はfalse を返します。
一部のファイルはファイル名だけでは開くことができず、このイベントに格納されている特定の情報が必要となるため、この処理は不可欠です。
© 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.