Migrated to: https://github.com/rlinfati/latitudeupdater
[googlelatitude] / latitude.qml / qml.cpp
diff --git a/latitude.qml/qml.cpp b/latitude.qml/qml.cpp
deleted file mode 100644 (file)
index 95981ec..0000000
+++ /dev/null
@@ -1,18 +0,0 @@
-#include "qml.h"
-#include <QtDeclarative/QDeclarativeContext>
-
-LatitudeQML::LatitudeQML(QDeclarativeView *parent) :
-    QDeclarativeView(parent),
-    latitude(this),
-    gps(this),
-    demonio("/opt/linfati.com/bin/latituded"),
-    cli(this) {
-    qDebug() << "* LatitudeQML::LatitudeQML";
-
-    rootContext()->setContextProperty("latitude", &latitude);
-    rootContext()->setContextProperty("gps", &gps);
-    rootContext()->setContextProperty("demonio", this);
-    setSource(QUrl("qrc:/main.qml"));
-
-    latitude.getAccess();
-}