Separate in library the application
[googlelatitude] / latitudeqml.cpp
diff --git a/latitudeqml.cpp b/latitudeqml.cpp
deleted file mode 100644 (file)
index 69b5ba8..0000000
+++ /dev/null
@@ -1,20 +0,0 @@
-#include "latitudeqml.h"
-#include <QtDeclarative/QDeclarativeContext>
-
-LatitudeQML::LatitudeQML(QDeclarativeView *parent) :
-    QDeclarativeView(parent),
-    latitude(this),
-    gps(this),
-    demonio(QCoreApplication::applicationDirPath()
-        + QDir::separator()
-        + "LatitudeUpdaterDaemon"),
-    cli(this) {
-    qDebug() << "* LatitudeQML::LatitudeQML";
-
-    rootContext()->setContextProperty("latitude", &latitude);
-    rootContext()->setContextProperty("gps", &gps);
-    rootContext()->setContextProperty("demonio", this);
-    setSource(QUrl("qrc:/qml/main.qml"));
-
-    latitude.getAccess();
-}