FOSSredder 0.5.0
Loading...
Searching...
No Matches
ui::bootstrap Namespace Reference

Classes

class  AppContext

Functions

void reportQmlLoadErrors (QQuickView *quickView, const QUrl &source, core::ports::diagnostics::IErrorReporter *reporter)
 Reports QQuickView load errors through the structured error reporter.
void wireQmlWarnings (QQmlEngine *engine, QObject *context, std::shared_ptr< core::ports::diagnostics::IErrorReporter > reporter)
 Wires QQmlEngine runtime warnings into structured error reporting.
void registerTypes ()
 Register QML types and meta objects used by the application.
void configureRuntime (QQmlEngine *engine)
 Configure QQmlEngine import paths and plugin library paths.

Function Documentation

◆ configureRuntime()

void ui::bootstrap::configureRuntime ( QQmlEngine * engine)

Configure QQmlEngine import paths and plugin library paths.

Parameters
engineQQmlEngine instance to configure (must not be null).

Definition at line 79 of file QmlRuntime.cpp.

◆ registerTypes()

void ui::bootstrap::registerTypes ( )

Register QML types and meta objects used by the application.

This function is idempotent and safe to call multiple times.

Definition at line 45 of file QmlRuntime.cpp.

◆ reportQmlLoadErrors()

void ui::bootstrap::reportQmlLoadErrors ( QQuickView * quickView,
const QUrl & source,
core::ports::diagnostics::IErrorReporter * reporter )

Reports QQuickView load errors through the structured error reporter.

Parameters
quickViewQML view whose load status should be inspected.
sourceSource URL or module marker used for context.

Definition at line 45 of file QmlDiagnostics.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ wireQmlWarnings()

void ui::bootstrap::wireQmlWarnings ( QQmlEngine * engine,
QObject * context,
std::shared_ptr< core::ports::diagnostics::IErrorReporter > reporter )

Wires QQmlEngine runtime warnings into structured error reporting.

Parameters
engineQML engine to observe.
contextQt context object owning the connection lifetime.

Definition at line 70 of file QmlDiagnostics.cpp.

Here is the caller graph for this function: