##// END OF EJS Templates
Fix missing file from one of the prvious commits...
Michal Klocek -
r23:90fa78a224bc
parent child
Show More
@@ -0,0 +1,31
1 #ifndef QCHARTSERIES_H
2 #define QCHARTSERIES_H
3
4 #include "qchartconfig.h"
5 #include <QObject>
6
7 QCHART_BEGIN_NAMESPACE
8
9 class QCHART_EXPORT QChartSeries : public QObject
10 {
11
12 public:
13 enum QChartSeriesType {LINE,PIE,BAR};
14
15 protected:
16 QChartSeries(QObject *parent = 0):QObject(parent){};
17
18 public:
19 virtual ~QChartSeries(){};
20
21 //factory method
22 static QChartSeries* create(QObject* parent = 0 ){ return 0;}
23 //pure virtual
24 virtual QChartSeriesType type() const = 0;
25
26 };
27
28 QCHART_END_NAMESPACE
29
30 #endif
31
General Comments 0
You need to be logged in to leave comments. Login now