29 explicit QmlFileUtils(
const QString &filePath, QObject *parent =
nullptr);
37 Q_INVOKABLE QString
resolve(
const QString &filePath);
49 Q_INVOKABLE
bool exists(
const QString &filePath);
The QmlFileUtils class, exposed to QML as FileUtils.
QmlFileUtils(const QString &filePath, QObject *parent=nullptr)
Q_INVOKABLE QString resolve(const QString &filePath)
Get the path of the file within the plugin directory. If the filePath provided is resolved to be outs...
Q_INVOKABLE QByteArray readAllFileContents(const QString &fileName)
Read the contents of the file within the plugin directory.
Q_INVOKABLE bool exists(const QString &filePath)
Checks if the file exists within the plugin directory.