qtmobility/plugins/declarative/serviceframework/serviceframework.cpp
changeset 14 6fbed849b4f4
parent 11 06b8e2af4411
equal deleted inserted replaced
11:06b8e2af4411 14:6fbed849b4f4
    51     Q_OBJECT
    51     Q_OBJECT
    52 public:
    52 public:
    53     virtual void registerTypes(const char *uri)
    53     virtual void registerTypes(const char *uri)
    54     {
    54     {
    55         Q_ASSERT(QLatin1String(uri) == QLatin1String("QtMobility.serviceframework"));
    55         Q_ASSERT(QLatin1String(uri) == QLatin1String("QtMobility.serviceframework"));
    56 
    56         
    57         qmlRegisterType<QServiceWrapper>(uri, 1, 0, "Service");
    57         qmlRegisterType<QDeclarativeService>(uri, 1, 0, "Service");
    58         qmlRegisterType<QServiceListWrapper>(uri, 1, 0, "ServiceList");
    58         qmlRegisterType<QDeclarativeServiceList>(uri, 1, 0, "ServiceList");
    59     }
    59     }
    60 };
    60 };
    61 
    61 
    62 QT_END_NAMESPACE
    62 QT_END_NAMESPACE
    63 
    63