X-Git-Url: http://git.maemo.org/git/?p=mardrone;a=blobdiff_plain;f=mardrone%2Fgauges%2Fgaugeplugin.cpp;fp=mardrone%2Fgauges%2Fgaugeplugin.cpp;h=d3413894ebd4cef0276b8eed1ed74ea347841beb;hp=f62d6f5e8c8f57d1328164fe43934c8061a2a9b1;hb=a680b01f58d572543f9b8b9cf505a5082d55d5bf;hpb=c384cc2bdb47e995114cd65d9f0a79053663214b diff --git a/mardrone/gauges/gaugeplugin.cpp b/mardrone/gauges/gaugeplugin.cpp index f62d6f5..d341389 100644 --- a/mardrone/gauges/gaugeplugin.cpp +++ b/mardrone/gauges/gaugeplugin.cpp @@ -15,12 +15,12 @@ class GaugeQmlModule : public QDeclarativeExtensionPlugin public: virtual void registerTypes(const char *uri) { - Q_ASSERT(QString(uri)==QString("gauges")); - qmlRegisterType("gauges", 1, 0, "GaugeTape"); - qmlRegisterType("gauges", 1, 0, "GaugeLabel"); - qmlRegisterType("gauges", 1, 0, "GaugeHorizon"); - qmlRegisterType("gauges", 1, 0, "GaugeArc"); - qmlRegisterType("gauges", 1, 0, "GaugeHSI"); + Q_ASSERT(QString(uri)==QString("Gauges")); + qmlRegisterType(uri, 1, 0, "GaugeTape"); + qmlRegisterType(uri, 1, 0, "GaugeLabel"); + qmlRegisterType(uri, 1, 0, "GaugeHorizon"); + qmlRegisterType(uri, 1, 0, "GaugeArc"); + qmlRegisterType(uri, 1, 0, "GaugeHSI"); } /* void initializeEngine(QQmlEngine *engine, const char *uri) {