--- /dev/null
+#include "latitudeqml.h"
+#include <QtDeclarative/QDeclarativeContext>
+
+LatitudeQML::LatitudeQML(QDeclarativeView *parent) :
+ QDeclarativeView(parent),
+ latitude(this),
+ gps(this) {
+ qDebug() << "* LatitudeQML::LatitudeQML";
+
+ rootContext()->setContextProperty("latitude", &latitude);
+ rootContext()->setContextProperty("gps", &gps);
+ setSource(QUrl("qrc:/qml/main.qml"));
+
+ latitude.getAccess();
+}