##// END OF EJS Templates
Make all Q_DISABLE_COPY declarations private....
Miikka Heikkinen -
r2723:c6cc3c566c94
parent child
Show More
@@ -179,13 +179,15 Q_SIGNALS:
179
179
180 protected:
180 protected:
181 QScopedPointer<QAbstractAxisPrivate> d_ptr;
181 QScopedPointer<QAbstractAxisPrivate> d_ptr;
182 Q_DISABLE_COPY(QAbstractAxis)
183 friend class ChartDataSet;
182 friend class ChartDataSet;
184 friend class ChartPresenter;
183 friend class ChartPresenter;
185 friend class ChartThemeManager;
184 friend class ChartThemeManager;
186 friend class AbstractDomain;
185 friend class AbstractDomain;
187 friend class ChartAxisElement;
186 friend class ChartAxisElement;
188 friend class XYChart;
187 friend class XYChart;
188
189 private:
190 Q_DISABLE_COPY(QAbstractAxis)
189 };
191 };
190
192
191 QT_CHARTS_END_NAMESPACE
193 QT_CHARTS_END_NAMESPACE
@@ -92,12 +92,14 protected:
92 explicit QLegendMarker(QLegendMarkerPrivate &d, QObject *parent = 0);
92 explicit QLegendMarker(QLegendMarkerPrivate &d, QObject *parent = 0);
93
93
94 QScopedPointer<QLegendMarkerPrivate> d_ptr;
94 QScopedPointer<QLegendMarkerPrivate> d_ptr;
95 Q_DISABLE_COPY(QLegendMarker)
96 friend class QLegendPrivate;
95 friend class QLegendPrivate;
97 friend class QLegendMarkerPrivate;
96 friend class QLegendMarkerPrivate;
98 friend class LegendMarkerItem;
97 friend class LegendMarkerItem;
99 friend class LegendLayout;
98 friend class LegendLayout;
100 friend class LegendScroller;
99 friend class LegendScroller;
100
101 private:
102 Q_DISABLE_COPY(QLegendMarker)
101 };
103 };
102
104
103 QT_CHARTS_END_NAMESPACE
105 QT_CHARTS_END_NAMESPACE
@@ -177,6 +177,8 protected:
177 friend class ChartThemeManager;
177 friend class ChartThemeManager;
178 friend class QAbstractSeries;
178 friend class QAbstractSeries;
179 friend class QBoxPlotSeriesPrivate;
179 friend class QBoxPlotSeriesPrivate;
180
181 private:
180 Q_DISABLE_COPY(QChart)
182 Q_DISABLE_COPY(QChart)
181 };
183 };
182
184
@@ -64,8 +64,9 protected:
64 void mouseMoveEvent(QMouseEvent *event);
64 void mouseMoveEvent(QMouseEvent *event);
65 void mouseReleaseEvent(QMouseEvent *event);
65 void mouseReleaseEvent(QMouseEvent *event);
66
66
67 protected:
68 QScopedPointer<QChartViewPrivate> d_ptr;
67 QScopedPointer<QChartViewPrivate> d_ptr;
68
69 private:
69 Q_DISABLE_COPY(QChartView)
70 Q_DISABLE_COPY(QChartView)
70 };
71 };
71
72
@@ -51,7 +51,7 public:
51
51
52 static PolarOrientation axisPolarOrientation(QAbstractAxis *axis);
52 static PolarOrientation axisPolarOrientation(QAbstractAxis *axis);
53
53
54 protected:
54 private:
55 Q_DISABLE_COPY(QPolarChart)
55 Q_DISABLE_COPY(QPolarChart)
56 };
56 };
57
57
General Comments 0
You need to be logged in to leave comments. Login now