X-Git-Url: https://www.flypig.org.uk/git/?p=harbour-pedalo.git;a=blobdiff_plain;f=src%2Fharbour-pedalo.cpp;h=729edae2592b4825ca93f4bfefa4f45454b85e26;hp=e8f123dd1728db6debfe7ed8eef1ba2df6f72588;hb=41ee443df2b12e7a4373be580006f57cc5fd768a;hpb=70180c4c4fd2807d16f90562d6876f3f07d388b1 diff --git a/src/harbour-pedalo.cpp b/src/harbour-pedalo.cpp index e8f123d..729edae 100644 --- a/src/harbour-pedalo.cpp +++ b/src/harbour-pedalo.cpp @@ -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("harbour.pedalo.settings", 1, 0, "Settings", Settings::provider); + qmlRegisterType("harbour.pedalo.journeymodel", 1, 0, "JourneyModel"); + qmlRegisterType("harbour.pedalo.graph", 1, 0, "Graph"); JourneyModel journeys; Status currentStatus(journeys);