Add graph to stats page; update Rules
[harbour-pedalo.git] / src / harbour-pedalo.cpp
index e8f123d..729edae 100644 (file)
@@ -10,6 +10,7 @@
 #include "status.h"
 #include "settings.h"
 #include "imageprovider.h"
+#include "graph.h"
 
 #include "harbour-pedalo.h"
 
@@ -34,6 +35,8 @@ int main(int argc, char *argv[])
 
     Settings::instantiate();
     qmlRegisterSingletonType<Settings>("harbour.pedalo.settings", 1, 0, "Settings", Settings::provider);
+    qmlRegisterType<JourneyModel>("harbour.pedalo.journeymodel", 1, 0, "JourneyModel");
+    qmlRegisterType<Graph>("harbour.pedalo.graph", 1, 0, "Graph");
 
     JourneyModel journeys;
     Status currentStatus(journeys);