##// END OF EJS Templates
Removed unnecessary Q_REVISION(n) macros....
Miikka Heikkinen -
r2717:85d2c314748b
parent child
Show More
@@ -52,14 +52,14 public:
52 void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
52 void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
53 QAbstractAxis *axisY() { return m_axes->axisY(); }
53 QAbstractAxis *axisY() { return m_axes->axisY(); }
54 void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
54 void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
55 Q_REVISION(2) QAbstractAxis *axisXTop() { return m_axes->axisXTop(); }
55 QAbstractAxis *axisXTop() { return m_axes->axisXTop(); }
56 Q_REVISION(2) void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); }
56 void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); }
57 Q_REVISION(2) QAbstractAxis *axisYRight() { return m_axes->axisYRight(); }
57 QAbstractAxis *axisYRight() { return m_axes->axisYRight(); }
58 Q_REVISION(2) void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); }
58 void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); }
59 Q_REVISION(3) QAbstractAxis *axisAngular() { return m_axes->axisX(); }
59 QAbstractAxis *axisAngular() { return m_axes->axisX(); }
60 Q_REVISION(3) void setAxisAngular(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
60 void setAxisAngular(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
61 Q_REVISION(3) QAbstractAxis *axisRadial() { return m_axes->axisY(); }
61 QAbstractAxis *axisRadial() { return m_axes->axisY(); }
62 Q_REVISION(3) void setAxisRadial(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
62 void setAxisRadial(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
63 qreal borderWidth() const;
63 qreal borderWidth() const;
64 void setBorderWidth(qreal borderWidth);
64 void setBorderWidth(qreal borderWidth);
65 QString brushFilename() const;
65 QString brushFilename() const;
@@ -91,10 +91,10 public:
91 void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
91 void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
92 QAbstractAxis *axisY() { return m_axes->axisY(); }
92 QAbstractAxis *axisY() { return m_axes->axisY(); }
93 void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
93 void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
94 Q_REVISION(2) QAbstractAxis *axisXTop() { return m_axes->axisXTop(); }
94 QAbstractAxis *axisXTop() { return m_axes->axisXTop(); }
95 Q_REVISION(2) void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); }
95 void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); }
96 Q_REVISION(2) QAbstractAxis *axisYRight() { return m_axes->axisYRight(); }
96 QAbstractAxis *axisYRight() { return m_axes->axisYRight(); }
97 Q_REVISION(2) void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); }
97 void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); }
98 QQmlListProperty<QObject> seriesChildren();
98 QQmlListProperty<QObject> seriesChildren();
99
99
100 public:
100 public:
@@ -138,10 +138,10 public:
138 void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
138 void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
139 QAbstractAxis *axisY() { return m_axes->axisY(); }
139 QAbstractAxis *axisY() { return m_axes->axisY(); }
140 void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
140 void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
141 Q_REVISION(2) QAbstractAxis *axisXTop() { return m_axes->axisXTop(); }
141 QAbstractAxis *axisXTop() { return m_axes->axisXTop(); }
142 Q_REVISION(2) void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); }
142 void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); }
143 Q_REVISION(2) QAbstractAxis *axisYRight() { return m_axes->axisYRight(); }
143 QAbstractAxis *axisYRight() { return m_axes->axisYRight(); }
144 Q_REVISION(2) void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); }
144 void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); }
145 QQmlListProperty<QObject> seriesChildren();
145 QQmlListProperty<QObject> seriesChildren();
146
146
147 public:
147 public:
@@ -185,10 +185,10 public:
185 void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
185 void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
186 QAbstractAxis *axisY() { return m_axes->axisY(); }
186 QAbstractAxis *axisY() { return m_axes->axisY(); }
187 void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
187 void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
188 Q_REVISION(2) QAbstractAxis *axisXTop() { return m_axes->axisXTop(); }
188 QAbstractAxis *axisXTop() { return m_axes->axisXTop(); }
189 Q_REVISION(2) void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); }
189 void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); }
190 Q_REVISION(2) QAbstractAxis *axisYRight() { return m_axes->axisYRight(); }
190 QAbstractAxis *axisYRight() { return m_axes->axisYRight(); }
191 Q_REVISION(2) void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); }
191 void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); }
192 QQmlListProperty<QObject> seriesChildren();
192 QQmlListProperty<QObject> seriesChildren();
193
193
194 public:
194 public:
@@ -232,10 +232,10 public:
232 void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
232 void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
233 QAbstractAxis *axisY() { return m_axes->axisY(); }
233 QAbstractAxis *axisY() { return m_axes->axisY(); }
234 void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
234 void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
235 Q_REVISION(2) QAbstractAxis *axisXTop() { return m_axes->axisXTop(); }
235 QAbstractAxis *axisXTop() { return m_axes->axisXTop(); }
236 Q_REVISION(2) void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); }
236 void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); }
237 Q_REVISION(2) QAbstractAxis *axisYRight() { return m_axes->axisYRight(); }
237 QAbstractAxis *axisYRight() { return m_axes->axisYRight(); }
238 Q_REVISION(2) void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); }
238 void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); }
239 QQmlListProperty<QObject> seriesChildren();
239 QQmlListProperty<QObject> seriesChildren();
240
240
241 public:
241 public:
@@ -279,10 +279,10 public:
279 void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
279 void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
280 QAbstractAxis *axisY() { return m_axes->axisY(); }
280 QAbstractAxis *axisY() { return m_axes->axisY(); }
281 void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
281 void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
282 Q_REVISION(2) QAbstractAxis *axisXTop() { return m_axes->axisXTop(); }
282 QAbstractAxis *axisXTop() { return m_axes->axisXTop(); }
283 Q_REVISION(2) void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); }
283 void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); }
284 Q_REVISION(2) QAbstractAxis *axisYRight() { return m_axes->axisYRight(); }
284 QAbstractAxis *axisYRight() { return m_axes->axisYRight(); }
285 Q_REVISION(2) void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); }
285 void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); }
286 QQmlListProperty<QObject> seriesChildren();
286 QQmlListProperty<QObject> seriesChildren();
287
287
288 public:
288 public:
@@ -326,10 +326,10 public:
326 void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
326 void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
327 QAbstractAxis *axisY() { return m_axes->axisY(); }
327 QAbstractAxis *axisY() { return m_axes->axisY(); }
328 void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
328 void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
329 Q_REVISION(2) QAbstractAxis *axisXTop() { return m_axes->axisXTop(); }
329 QAbstractAxis *axisXTop() { return m_axes->axisXTop(); }
330 Q_REVISION(2) void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); }
330 void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); }
331 Q_REVISION(2) QAbstractAxis *axisYRight() { return m_axes->axisYRight(); }
331 QAbstractAxis *axisYRight() { return m_axes->axisYRight(); }
332 Q_REVISION(2) void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); }
332 void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); }
333 QQmlListProperty<QObject> seriesChildren();
333 QQmlListProperty<QObject> seriesChildren();
334
334
335 public:
335 public:
@@ -131,18 +131,18 public:
131 QColor titleColor();
131 QColor titleColor();
132 void setBackgroundColor(QColor color);
132 void setBackgroundColor(QColor color);
133 QColor backgroundColor();
133 QColor backgroundColor();
134 Q_REVISION(3) void setPlotAreaColor(QColor color);
134 void setPlotAreaColor(QColor color);
135 Q_REVISION(3) QColor plotAreaColor();
135 QColor plotAreaColor();
136 Q_REVISION(4) void setLocalizeNumbers(bool localize);
136 void setLocalizeNumbers(bool localize);
137 Q_REVISION(4) bool localizeNumbers() const;
137 bool localizeNumbers() const;
138 Q_REVISION(4) void setLocale(const QLocale &locale);
138 void setLocale(const QLocale &locale);
139 Q_REVISION(4) QLocale locale() const;
139 QLocale locale() const;
140
140
141 int count();
141 int count();
142 void setDropShadowEnabled(bool enabled);
142 void setDropShadowEnabled(bool enabled);
143 bool dropShadowEnabled();
143 bool dropShadowEnabled();
144 Q_REVISION(3) qreal backgroundRoundness() const;
144 qreal backgroundRoundness() const;
145 Q_REVISION(3) void setBackgroundRoundness(qreal diameter);
145 void setBackgroundRoundness(qreal diameter);
146
146
147 // Margins & plotArea
147 // Margins & plotArea
148 qreal topMargin();
148 qreal topMargin();
@@ -150,7 +150,7 public:
150 qreal leftMargin();
150 qreal leftMargin();
151 qreal rightMargin();
151 qreal rightMargin();
152 DeclarativeMargins *minimumMargins() { return m_margins; }
152 DeclarativeMargins *minimumMargins() { return m_margins; }
153 Q_REVISION(2) DeclarativeMargins *margins() { return m_margins; }
153 DeclarativeMargins *margins() { return m_margins; }
154 QRectF plotArea() { return m_chart->plotArea(); }
154 QRectF plotArea() { return m_chart->plotArea(); }
155
155
156 // Axis handling
156 // Axis handling
@@ -54,14 +54,14 public:
54 void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
54 void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
55 QAbstractAxis *axisY() { return m_axes->axisY(); }
55 QAbstractAxis *axisY() { return m_axes->axisY(); }
56 void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
56 void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
57 Q_REVISION(2) QAbstractAxis *axisXTop() { return m_axes->axisXTop(); }
57 QAbstractAxis *axisXTop() { return m_axes->axisXTop(); }
58 Q_REVISION(2) void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); }
58 void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); }
59 Q_REVISION(2) QAbstractAxis *axisYRight() { return m_axes->axisYRight(); }
59 QAbstractAxis *axisYRight() { return m_axes->axisYRight(); }
60 Q_REVISION(2) void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); }
60 void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); }
61 Q_REVISION(3) QAbstractAxis *axisAngular() { return m_axes->axisX(); }
61 QAbstractAxis *axisAngular() { return m_axes->axisX(); }
62 Q_REVISION(3) void setAxisAngular(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
62 void setAxisAngular(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
63 Q_REVISION(3) QAbstractAxis *axisRadial() { return m_axes->axisY(); }
63 QAbstractAxis *axisRadial() { return m_axes->axisY(); }
64 Q_REVISION(3) void setAxisRadial(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
64 void setAxisRadial(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
65 qreal width() const;
65 qreal width() const;
66 void setWidth(qreal width);
66 void setWidth(qreal width);
67 Qt::PenStyle style() const;
67 Qt::PenStyle style() const;
@@ -54,14 +54,14 public:
54 void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
54 void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
55 QAbstractAxis *axisY() { return m_axes->axisY(); }
55 QAbstractAxis *axisY() { return m_axes->axisY(); }
56 void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
56 void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
57 Q_REVISION(2) QAbstractAxis *axisXTop() { return m_axes->axisXTop(); }
57 QAbstractAxis *axisXTop() { return m_axes->axisXTop(); }
58 Q_REVISION(2) void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); }
58 void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); }
59 Q_REVISION(2) QAbstractAxis *axisYRight() { return m_axes->axisYRight(); }
59 QAbstractAxis *axisYRight() { return m_axes->axisYRight(); }
60 Q_REVISION(2) void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); }
60 void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); }
61 Q_REVISION(3) QAbstractAxis *axisAngular() { return m_axes->axisX(); }
61 QAbstractAxis *axisAngular() { return m_axes->axisX(); }
62 Q_REVISION(3) void setAxisAngular(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
62 void setAxisAngular(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
63 Q_REVISION(3) QAbstractAxis *axisRadial() { return m_axes->axisY(); }
63 QAbstractAxis *axisRadial() { return m_axes->axisY(); }
64 Q_REVISION(3) void setAxisRadial(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
64 void setAxisRadial(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
65 qreal borderWidth() const;
65 qreal borderWidth() const;
66 void setBorderWidth(qreal borderWidth);
66 void setBorderWidth(qreal borderWidth);
67 QQmlListProperty<QObject> declarativeChildren();
67 QQmlListProperty<QObject> declarativeChildren();
@@ -54,14 +54,14 public:
54 void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
54 void setAxisX(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
55 QAbstractAxis *axisY() { return m_axes->axisY(); }
55 QAbstractAxis *axisY() { return m_axes->axisY(); }
56 void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
56 void setAxisY(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
57 Q_REVISION(2) QAbstractAxis *axisXTop() { return m_axes->axisXTop(); }
57 QAbstractAxis *axisXTop() { return m_axes->axisXTop(); }
58 Q_REVISION(2) void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); }
58 void setAxisXTop(QAbstractAxis *axis) { m_axes->setAxisXTop(axis); }
59 Q_REVISION(2) QAbstractAxis *axisYRight() { return m_axes->axisYRight(); }
59 QAbstractAxis *axisYRight() { return m_axes->axisYRight(); }
60 Q_REVISION(2) void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); }
60 void setAxisYRight(QAbstractAxis *axis) { m_axes->setAxisYRight(axis); }
61 Q_REVISION(3) QAbstractAxis *axisAngular() { return m_axes->axisX(); }
61 QAbstractAxis *axisAngular() { return m_axes->axisX(); }
62 Q_REVISION(3) void setAxisAngular(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
62 void setAxisAngular(QAbstractAxis *axis) { m_axes->setAxisX(axis); }
63 Q_REVISION(3) QAbstractAxis *axisRadial() { return m_axes->axisY(); }
63 QAbstractAxis *axisRadial() { return m_axes->axisY(); }
64 Q_REVISION(3) void setAxisRadial(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
64 void setAxisRadial(QAbstractAxis *axis) { m_axes->setAxisY(axis); }
65 qreal width() const;
65 qreal width() const;
66 void setWidth(qreal width);
66 void setWidth(qreal width);
67 Qt::PenStyle style() const;
67 Qt::PenStyle style() const;
General Comments 0
You need to be logged in to leave comments. Login now