QML UI: make the QML window object part of the QMLManager class

This way we can access it from that code (which we'll need to invoke methods in QML code
from C++).

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2018-10-20 11:53:36 -04:00
parent 16e91177bb
commit 8d01d421d4
2 changed files with 2 additions and 0 deletions

View file

@ -136,6 +136,7 @@ public:
QStringList cylinderInit() const;
Q_INVOKABLE void setStatusbarColor(QColor color);
void btHostModeChange(QBluetoothLocalDevice::HostMode state);
QObject *qmlWindow;
#if defined(Q_OS_ANDROID) || defined(Q_OS_IOS)
void writeToAppLogFile(QString logText);