summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorTero Ahola <tero.ahola@digia.com>2012-08-29 16:07:44 +0300
committerTero Ahola <tero.ahola@digia.com>2012-08-29 16:08:34 +0300
commita69a3e9f4fda4d8569e22f0ce96eb99a31357c9a (patch)
treef9c37d19f8a18df20ac62c0d850f712984dc5e52 /plugins
parent946c00a01ac43634c7c183dfca499931e348828d (diff)
Removed a few unnecessary TODOs
Diffstat (limited to 'plugins')
-rw-r--r--plugins/declarative/declarative.pro5
-rw-r--r--plugins/declarative/declarativechart.h2
-rw-r--r--plugins/declarative/declarativepieseries.cpp1
-rw-r--r--plugins/declarative/declarativexypoint.h5
4 files changed, 2 insertions, 11 deletions
diff --git a/plugins/declarative/declarative.pro b/plugins/declarative/declarative.pro
index b8fa2d67..77e12118 100644
--- a/plugins/declarative/declarative.pro
+++ b/plugins/declarative/declarative.pro
@@ -6,11 +6,6 @@ QT += declarative
}
INCLUDEPATH += $$CHART_BUILD_PRIVATE_HEADER_DIR
-contains(QT_MAJOR_VERSION, 5) {
- # TODO: QtQuick2 not supported by the implementation currently
- DEFINES += QTQUICK2
-}
-
CONFIG(debug, debug|release) {
mac: TARGET = $$join(TARGET,,,_debug)
win32: TARGET = $$join(TARGET,,,d)
diff --git a/plugins/declarative/declarativechart.h b/plugins/declarative/declarativechart.h
index 94e76e42..cb0cf36a 100644
--- a/plugins/declarative/declarativechart.h
+++ b/plugins/declarative/declarativechart.h
@@ -28,8 +28,6 @@
QTCOMMERCIALCHART_BEGIN_NAMESPACE
class DeclarativeChart : public QDeclarativeItem
-// TODO: for QTQUICK2: extend QQuickPainterItem instead
-//class DeclarativeChart : public QQuickPaintedItem, public Chart
{
Q_OBJECT
Q_PROPERTY(Theme theme READ theme WRITE setTheme)
diff --git a/plugins/declarative/declarativepieseries.cpp b/plugins/declarative/declarativepieseries.cpp
index fb6db8bc..1c207d1a 100644
--- a/plugins/declarative/declarativepieseries.cpp
+++ b/plugins/declarative/declarativepieseries.cpp
@@ -83,7 +83,6 @@ QPieSlice* DeclarativePieSeries::find(QString label)
QPieSlice* DeclarativePieSeries::append(QString label, qreal value)
{
- // TODO: parameter order is wrong, switch it:
QPieSlice *slice = new QPieSlice(this);
slice->setLabel(label);
slice->setValue(value);
diff --git a/plugins/declarative/declarativexypoint.h b/plugins/declarative/declarativexypoint.h
index fca25634..7573884b 100644
--- a/plugins/declarative/declarativexypoint.h
+++ b/plugins/declarative/declarativexypoint.h
@@ -30,9 +30,8 @@ QTCOMMERCIALCHART_BEGIN_NAMESPACE
class DeclarativeXYPoint : public QObject, public QPointF
{
Q_OBJECT
- // TODO: make the setters change the value, if parented by a series
- Q_PROPERTY(qreal x READ x WRITE setX /*NOTIFY dataXChanged*/)
- Q_PROPERTY(qreal y READ y WRITE setY /*NOTIFY dataYChanged*/)
+ Q_PROPERTY(qreal x READ x WRITE setX)
+ Q_PROPERTY(qreal y READ y WRITE setY)
public:
explicit DeclarativeXYPoint(QObject *parent = 0);