Gem Illuminator
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
Classes | Functions
config.h File Reference
#include <QObject>
#include "fileio.h"

Go to the source code of this file.

Classes

class  Config
 The Config class provides easy access to values read out of our config.json provided by ConfigView.qml. The config class is implemented as singleton, because these values are used in many various situations. This class works together ConfigView.qml. More...
 

Functions

QObject * configSingletontypeProvider (QQmlEngine *engine, QJSEngine *scriptEngine)
 Callback function used to get the current instance of Config within QML. More...
 

Function Documentation

QObject* configSingletontypeProvider ( QQmlEngine *  engine,
QJSEngine *  scriptEngine 
)

Callback function used to get the current instance of Config within QML.

Parameters
engineUnused parameter required by callback.
scriptEngineUnused parameter required by callback.
Returns
Our instance of Config