#include <QtQuickControls2/QQuickStyle>
#include <QQuickWindow>
#include <libhomescreen.hpp>
-#include <bluetooth.h>
-#include <network.h>
#include <qlibwindowmanager.h>
class DBus : public QObject
bindingAddressWS.setQuery(query);
QQmlContext *context = engine.rootContext();
context->setContextProperty(QStringLiteral("bindingAddressWS"), bindingAddressWS);
- context->setContextProperty("network", new Network(bindingAddressWS, context));
std::string token = secret.toStdString();
LibHomeScreen* hs = new LibHomeScreen();
DBus dbus;
engine.rootContext()->setContextProperty("dbus", &dbus);
- engine.rootContext()->setContextProperty("bluetooth", new Bluetooth(bindingAddressWS));
engine.rootContext()->setContextProperty(QStringLiteral("screenInfo"), &screenInfo);
engine.load(QUrl(QStringLiteral("qrc:/Settings.qml")));
QObject *root = engine.rootObjects().first();
<feature name="urn:AGL:widget:required-api">
<param name="windowmanager" value="ws" />
<param name="homescreen" value="ws" />
- <param name="network-manager" value="ws" />
- <param name="Bluetooth-Manager" value="ws" />
</feature>
<feature name="urn:AGL:widget:required-permission">
<param name="urn:AGL:permission::public:no-htdocs" value="required" />