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