equal
deleted
inserted
replaced
39 ****************************************************************************/ |
39 ****************************************************************************/ |
40 #include "chartsplugin.h" |
40 #include "chartsplugin.h" |
41 //![0] |
41 //![0] |
42 #include "piechart.h" |
42 #include "piechart.h" |
43 #include "pieslice.h" |
43 #include "pieslice.h" |
44 #include <QtDeclarative/qdeclarative.h> |
44 #include <qdeclarative.h> |
45 |
45 |
46 void ChartsPlugin::registerTypes(const char *uri) |
46 void ChartsPlugin::registerTypes(const char *uri) |
47 { |
47 { |
48 qmlRegisterType<PieChart>(uri, 1, 0, "PieChart"); |
48 qmlRegisterType<PieChart>(uri, 1, 0, "PieChart"); |
49 qmlRegisterType<PieSlice>(uri, 1, 0, "PieSlice"); |
49 qmlRegisterType<PieSlice>(uri, 1, 0, "PieSlice"); |