#ifndef DECLARATIVESPLINESERIES_H #define DECLARATIVESPLINESERIES_H #include "qchartglobal.h" #include "qsplineseries.h" #include "declarativexyseries.h" #include QTCOMMERCIALCHART_BEGIN_NAMESPACE class DeclarativeSplineSeries : public QSplineSeries, public DeclarativeXySeries { Q_OBJECT Q_PROPERTY(QDeclarativeListProperty points READ points) public: explicit DeclarativeSplineSeries(QObject *parent = 0); public: virtual void componentComplete(); QDeclarativeListProperty points(); public Q_SLOTS: static void appendPoints(QDeclarativeListProperty *list, DeclarativeXyPoint *element); }; QTCOMMERCIALCHART_END_NAMESPACE #endif // DECLARATIVESPLINESERIES_H