C
Qul::PlatformInterface::Filesystem Class
class Qul::PlatformInterface::FilesystemFilesystem 类提供了一个用于实现自定义文件系统的抽象 API。更多内容...
| Header: | #include <platforminterface/filesystem.h> |
| Since: | Qt Quick Ultralite (Platform) 2.6 |
公共函数
| virtual Qul::PlatformInterface::File * | open(const char *fileName, Qul::PlatformInterface::File::Mode mode = File::Mode::ReadOnly) = 0 |
另请参阅 Qul::PlatformInterface::File 。
成员函数文档
[pure virtual] Qul::PlatformInterface::File *Filesystem::open(const char *fileName, Qul::PlatformInterface::File::Mode mode = File::Mode::ReadOnly)
在已实现的文件系统上打开一个文件。
fileName 是待打开文件的以空字符结尾的字符串。mode 指定应以何种模式打开文件。对文件的写入访问既非必需,也不受支持。
该函数返回一个文件实例,调用方必须对此文件拥有所有权。如果无法打开文件,则返回 NULL。
在某些 Qt 许可证下可用。
了解更多信息。