IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)

Loader Class

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

This class was introduced in Qt 5.8.

Article lu   fois.

L'auteur

Liens sociaux

Viadeo Twitter Facebook Share on Google+   

Loader Class

  • Header: Loader

  • Since: Qt 5.8

  • CMake:

    find_package(Qt6 REQUIRED COMPONENTS Scxml)

    target_link_libraries(mytarget PRIVATE Qt6::Scxml)

  • qmake: QT += scxml

  • Inherited By:

Detailed Description

 

Member Function Documentation

 

Loader::Loader()

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.

Vous avez aimé ce tutoriel ? Alors partagez-le en cliquant sur les boutons suivants : Viadeo Twitter Facebook Share on Google+