FlightGear next
FGQmlInstance Class Reference

#include <FGQmlInstance.hxx>

Inherits QObject.

Public Member Functions

 FGQmlInstance (QObject *parent=nullptr)
 
Q_INVOKABLE bool command (QString name, QJSValue args)
 
Q_INVOKABLE FGQmlPropertyNodeproperty (QString path, bool create=false) const
 retrieve a property by its global path
 

Detailed Description

Definition at line 11 of file FGQmlInstance.hxx.

Constructor & Destructor Documentation

◆ FGQmlInstance()

FGQmlInstance::FGQmlInstance ( QObject * parent = nullptr)
explicit

Definition at line 70 of file FGQmlInstance.cxx.

Member Function Documentation

◆ command()

bool FGQmlInstance::command ( QString name,
QJSValue args )

Definition at line 75 of file FGQmlInstance.cxx.

◆ property()

FGQmlPropertyNode * FGQmlInstance::property ( QString path,
bool create = false ) const

retrieve a property by its global path

Definition at line 97 of file FGQmlInstance.cxx.


The documentation for this class was generated from the following files: