![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Public Member Functions | |
std::unique_ptr< QAbstractFileEngine > | create (const QString &fileName) const override |
[0] | |
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. | |
Public Member Functions inherited from QAbstractFileEngineHandler | |
QAbstractFileEngineHandler () | |
Constructs a file handler and registers it with Qt. | |
virtual | ~QAbstractFileEngineHandler () |
Destroys the file handler. |
Definition at line 7 of file src_corelib_io_qabstractfileengine.cpp.
|
overridevirtual |
[0]
[1]
Implements QAbstractFileEngineHandler.
Definition at line 13 of file src_corelib_io_qabstractfileengine.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.