+ // These values are used by QSettings to access the config file in
+ // /home/nemo/.local/share/flypig/harbour-pedalo.conf
+ //QCoreApplication::setOrganizationName("flypig");
+ QCoreApplication::setOrganizationDomain("www.flypig.co.uk");
+ QCoreApplication::setApplicationName(APP_NAME);
+
+ 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");