| 1 | // Copyright (C) 2023 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 QtGraphs 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 <QtCore/private/qobject_p.h> |
| 18 | #include "qabstractdataproxy.h" |
| 19 | |
| 20 | QT_BEGIN_NAMESPACE |
| 21 | |
| 22 | class QAbstract3DSeries; |
| 23 | |
| 24 | class QAbstractDataProxyPrivate : public QObjectPrivate |
| 25 | { |
| 26 | Q_DECLARE_PUBLIC(QAbstractDataProxy) |
| 27 | |
| 28 | public: |
| 29 | QAbstractDataProxyPrivate(QAbstractDataProxy::DataType type); |
| 30 | ~QAbstractDataProxyPrivate() override; |
| 31 | |
| 32 | QAbstract3DSeries *series() const { return m_series; } |
| 33 | virtual void setSeries(QAbstract3DSeries *series); |
| 34 | |
| 35 | protected: |
| 36 | QAbstractDataProxy::DataType m_type; |
| 37 | QAbstract3DSeries *m_series; |
| 38 | }; |
| 39 | |
| 40 | QT_END_NAMESPACE |
| 41 | |
| 42 | #endif |
| 43 |
