@@ -11,7 +11,6 DeclarativeChart::DeclarativeChart(QDeclarativeItem *parent) | |||
|
11 | 11 | |
|
12 | 12 | DeclarativeChart::ChartTheme DeclarativeChart::theme() |
|
13 | 13 | { |
|
14 | if (m_chart) | |
|
15 | 14 |
|
|
16 | 15 | } |
|
17 | 16 |
@@ -1,7 +1,6 | |||
|
1 | 1 | #include <QtDeclarative/qdeclarativeextensionplugin.h> |
|
2 | 2 | #include <QtDeclarative/qdeclarative.h> |
|
3 | 3 | #include "declarativechart.h" |
|
4 | #include "declarativeseries.h" | |
|
5 | 4 | #include "scatterelement.h" |
|
6 | 5 | #include "declarativescatterseries.h" |
|
7 | 6 | #include "declarativelineseries.h" |
@@ -18,7 +17,6 public: | |||
|
18 | 17 | Q_ASSERT(QLatin1String(uri) == QLatin1String("QtCommercial.Chart")); |
|
19 | 18 | |
|
20 | 19 | qmlRegisterType<DeclarativeChart>(uri, 1, 0, "Chart"); |
|
21 | qmlRegisterType<DeclarativeSeries>(uri, 1, 0, "Series"); | |
|
22 | 20 | qmlRegisterType<DeclarativeScatterSeries>(uri, 1, 0, "ScatterSeries"); |
|
23 | 21 | qmlRegisterType<DeclarativeLineSeries>(uri, 1, 0, "LineSeries"); |
|
24 | 22 | qmlRegisterType<DeclarativePieSeries>(uri, 1, 0, "PieSeries"); |
@@ -24,14 +24,12 RCC_DIR = $$CHART_BUILD_DIR/plugin | |||
|
24 | 24 | SOURCES += \ |
|
25 | 25 | plugin.cpp \ |
|
26 | 26 | declarativechart.cpp \ |
|
27 | declarativeseries.cpp \ | |
|
28 | 27 | declarativescatterseries.cpp \ |
|
29 | 28 | scatterelement.cpp \ |
|
30 | 29 | declarativepieseries.cpp \ |
|
31 | 30 | declarativelineseries.cpp |
|
32 | 31 | HEADERS += \ |
|
33 | 32 | declarativechart.h \ |
|
34 | declarativeseries.h \ | |
|
35 | 33 | declarativescatterseries.h \ |
|
36 | 34 | scatterelement.h \ |
|
37 | 35 | declarativepieseries.h \ |
@@ -45,23 +43,3 qmldir.files += $$PWD/qmldir | |||
|
45 | 43 | qmldir.path += $$[QT_INSTALL_IMPORTS]/$$TARGETPATH |
|
46 | 44 | |
|
47 | 45 | INSTALLS += target qmldir |
|
48 | ||
|
49 | ||
|
50 | ||
|
51 | ||
|
52 | ||
|
53 | ||
|
54 | ||
|
55 | ||
|
56 | ||
|
57 | ||
|
58 | ||
|
59 | ||
|
60 | ||
|
61 | ||
|
62 | ||
|
63 | ||
|
64 | ||
|
65 | ||
|
66 | ||
|
67 |
|
1 | NO CONTENT: file was removed |
|
1 | NO CONTENT: file was removed |
General Comments 0
You need to be logged in to leave comments.
Login now