/Qt 5.13

Loader Class

Class Loader is declared in class QScxmlCompiler.

The Loader class is a URI resolver and resource loader for an SCXML compiler. More...

This class was introduced in Qt 5.8.

Public Functions

virtual ~Loader()
virtual QByteArray load(const QString &name, const QString &baseDir, QStringList *errors) = 0

Detailed Description

Member Function Documentation


Creates a new loader.

[virtual] Loader::~Loader()

Destroys the loader.

[pure virtual] QByteArray Loader::load(const QString &name, const QString &baseDir, QStringList *errors)

Resolves the URI name and loads an SCXML file from the directory specified by baseDir. errors contains information about the errors that might have occurred.

Returns a QByteArray that stores the contents of the file.

© The Qt Company Ltd
Licensed under the GNU Free Documentation License, Version 1.3.