~diegosarmentero/unity8/app-preview

« back to all changes in this revision

Viewing changes to tests/mocks/Unity/Indicators/fakeplugin.cpp

  • Committer: Diego Sarmentero
  • Date: 2013-07-22 23:43:12 UTC
  • mfrom: (121.2.6 unity8)
  • Revision ID: diego.sarmentero@gmail.com-20130722234312-a6uvi5pk4n7os96b
merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
 
25
25
// local
26
26
#include "indicators.h"
 
27
#include "menucontentactivator.h"
27
28
 
28
29
void IndicatorsFakePlugin::registerTypes(const char * uri)
29
30
{
30
31
    Q_INIT_RESOURCE(indicators_fake);
31
32
 
 
33
    qmlRegisterType<MenuContentActivator>(uri, 0, 1, "MenuContentActivator");
 
34
 
 
35
    qmlRegisterUncreatableType<MenuContentState>(uri, 0, 1, "MenuContentState", "Can't create MenuContentState class");
32
36
    qmlRegisterUncreatableType<ActionState>(uri, 0, 1, "ActionState", "Can't create ActionState class");
33
37
    qmlRegisterUncreatableType<NetworkActionState>(uri, 0, 1, "NetworkActionState", "Can't create NetworkActionState class");
34
38
    qmlRegisterUncreatableType<NetworkConnection>(uri, 0, 1, "NetworkConnection", "Can't create NetworkConnection class");