![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qwasmlocalfileengine_p.h>
Public Member Functions | |
| QWasmFileEngineHandler () | |
| virtual | ~QWasmFileEngineHandler () override |
| virtual std::unique_ptr< QAbstractFileEngine > | create (const QString &fileName) const override |
| If this file handler can handle fileName, this method creates a file engine and returns it wrapped in a std::unique_ptr; otherwise returns nullptr. | |
| qstdweb::File | getFile (const QString fileName) |
| qstdweb::FileSystemFileHandle | getFileSystemFile (const QString fileName) |
| Public Member Functions inherited from QAbstractFileEngineHandler | |
| QAbstractFileEngineHandler () | |
| Constructs a file handler and registers it with Qt. | |
| virtual | ~QAbstractFileEngineHandler () |
| Destroys the file handler. | |
Static Public Member Functions | |
| static bool | isWasmFileName (const QString &fileName) |
| static QString | makeWasmFileName (const QString &fileName) |
| static QString | nativeFileName (const QString &wasmFileName) |
| static QString | addFile (qstdweb::File file) |
| static QString | addFile (qstdweb::FileSystemFileHandle file) |
| static void | removeFile (const QString fileName) |
Definition at line 24 of file qwasmlocalfileengine_p.h.
| QWasmFileEngineHandler::QWasmFileEngineHandler | ( | ) |
Definition at line 29 of file qwasmlocalfileengine.cpp.
|
overridevirtual |
Definition at line 33 of file qwasmlocalfileengine.cpp.
|
static |
Definition at line 84 of file qwasmlocalfileengine.cpp.
|
static |
Definition at line 93 of file qwasmlocalfileengine.cpp.
|
overridevirtual |
If this file handler can handle fileName, this method creates a file engine and returns it wrapped in a std::unique_ptr; otherwise returns nullptr.
Example:
Implements QAbstractFileEngineHandler.
Definition at line 37 of file qwasmlocalfileengine.cpp.
| qstdweb::File QWasmFileEngineHandler::getFile | ( | const QString | fileName | ) |
Definition at line 108 of file qwasmlocalfileengine.cpp.
| qstdweb::FileSystemFileHandle QWasmFileEngineHandler::getFileSystemFile | ( | const QString | fileName | ) |
Definition at line 113 of file qwasmlocalfileengine.cpp.
|
static |
Definition at line 56 of file qwasmlocalfileengine.cpp.
Definition at line 62 of file qwasmlocalfileengine.cpp.
Definition at line 70 of file qwasmlocalfileengine.cpp.
Definition at line 102 of file qwasmlocalfileengine.cpp.