2 #include <QtDeclarative/QDeclarativeContext>
4 LatitudeQML::LatitudeQML(QDeclarativeView *parent) :
5 QDeclarativeView(parent),
8 demonio("/opt/linfati.com/bin/latituded"),
10 qDebug() << "* LatitudeQML::LatitudeQML";
12 rootContext()->setContextProperty("latitude", &latitude);
13 rootContext()->setContextProperty("gps", &gps);
14 rootContext()->setContextProperty("demonio", this);
15 setSource(QUrl("qrc:/main.qml"));