1 | // Copyright (C) 2016 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only |
3 | |
4 | // |
5 | // W A R N I N G |
6 | // ------------- |
7 | // |
8 | // This file is not part of the QtDataVisualization API. It exists purely as an |
9 | // implementation detail. This header file may change from version to |
10 | // version without notice, or even be removed. |
11 | // |
12 | // We mean it. |
13 | |
14 | #ifndef QABSTRACTDATAPROXY_P_H |
15 | #define QABSTRACTDATAPROXY_P_H |
16 | |
17 | #include "datavisualizationglobal_p.h" |
18 | #include "qabstractdataproxy.h" |
19 | |
20 | QT_BEGIN_NAMESPACE |
21 | |
22 | class QAbstract3DSeries; |
23 | |
24 | class QAbstractDataProxyPrivate : public QObject |
25 | { |
26 | Q_OBJECT |
27 | public: |
28 | QAbstractDataProxyPrivate(QAbstractDataProxy *q, QAbstractDataProxy::DataType type); |
29 | virtual ~QAbstractDataProxyPrivate(); |
30 | |
31 | inline QAbstract3DSeries *series() { return m_series; } |
32 | virtual void setSeries(QAbstract3DSeries *series); |
33 | |
34 | protected: |
35 | QAbstractDataProxy *q_ptr; |
36 | QAbstractDataProxy::DataType m_type; |
37 | QAbstract3DSeries *m_series; |
38 | |
39 | private: |
40 | friend class QAbstractDataProxy; |
41 | }; |
42 | |
43 | QT_END_NAMESPACE |
44 | |
45 | #endif |
46 |