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
을 반환합니다.
일부 파일은 이름으로는 열 수 없지만 이 이벤트에 저장된 특정 정보가 필요하기 때문에 이 함수가 필요합니다.
© 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.