#ifndef DECLARATIVE_XY_SERIES_H #define DECLARATIVE_XY_SERIES_H #include "qchartglobal.h" #include "declarativexypoint.h" #include #include QTCOMMERCIALCHART_BEGIN_NAMESPACE class QChart; class DeclarativeXySeries : public QDeclarativeParserStatus { Q_INTERFACES(QDeclarativeParserStatus) public: explicit DeclarativeXySeries(); ~DeclarativeXySeries(); public: // from QDeclarativeParserStatus virtual void classBegin(); virtual void componentComplete() = 0; public: virtual QDeclarativeListProperty points() = 0; public Q_SLOTS: static void appendPoints(QDeclarativeListProperty *list, DeclarativeXyPoint *element); }; QTCOMMERCIALCHART_END_NAMESPACE #endif // DECLARATIVE_XY_SERIES_H