Functions related to the QQmlApplicationEngine class.
More...
Functions related to the QQmlApplicationEngine class.
◆ dos_qqmlapplicationengine_add_import_path()
Calls the QQmlApplicationEngine::addImportPath function.
- Parameters
-
vptr | The QQmlApplicationEngine |
path | The path to be added to the list of import paths |
◆ dos_qqmlapplicationengine_addImageProvider()
Calls the QQMLApplicationengine::addImageProvider
- Parameters
-
vptr | The QQmlApplicationEngine |
vptr_i | A QQuickImageProvider, the QQmlApplicationEngine takes ownership of this pointer |
◆ dos_qqmlapplicationengine_context()
Calls the QQmlApplicationEngine::context.
- Parameters
-
vptr | The QQmlApplicationEngine |
- Returns
- A pointer to a QQmlContext. This should not be stored nor made available to the binded language if you can't guarantee that this QQmlContext should not live more that its Engine. This context is owned by the engine and so it should die with the engine.
◆ dos_qqmlapplicationengine_create()
◆ dos_qqmlapplicationengine_delete()
Free the memory allocated for the given QQmlApplicationEngine.
- Parameters
-
vptr | The QQmlApplicationEngine |
◆ dos_qqmlapplicationengine_load()
Calls the QQmlApplicationEngine::load function.
- Parameters
-
vptr | The QQmlApplicationEngine |
filename | The file to load. The file is relative to the directory that contains the application executable |
◆ dos_qqmlapplicationengine_load_data()
Calls the QQmlApplicationEngine::loadData function.
- Parameters
-
vptr | The QQmlApplicationEngine |
data | The UTF-8 string of the QML to load |
◆ dos_qqmlapplicationengine_load_url()
Calls the QQmlApplicationEngine::load function.
- Parameters
-
vptr | The QQmlApplicationEngine |
url | The QUrl of the file to load |