File indexing completed on 2024-05-12 04:20:28
0001 /* 0002 * SPDX-FileCopyrightText: 2001-2015 Klaralvdalens Datakonsult AB. All rights reserved. 0003 * 0004 * This file is part of the KD Chart library. 0005 * 0006 * SPDX-License-Identifier: GPL-2.0-or-later 0007 */ 0008 0009 #ifndef KCHARTABSTRACTAREA_P_H 0010 #define KCHARTABSTRACTAREA_P_H 0011 0012 // 0013 // W A R N I N G 0014 // ------------- 0015 // 0016 // This file is not part of the KD Chart API. It exists purely as an 0017 // implementation detail. This header file may change from version to 0018 // version without notice, or even be removed. 0019 // 0020 // We mean it. 0021 // 0022 0023 /** \file KChartAbstractArea_p.h 0024 * \internal 0025 */ 0026 0027 #include "KChartAbstractArea.h" 0028 #include "KChartAbstractAreaBase_p.h" 0029 0030 #include "KChartMath_p.h" 0031 0032 0033 namespace KChart { 0034 0035 /** 0036 * \internal 0037 */ 0038 class Q_DECL_HIDDEN AbstractArea::Private : public AbstractAreaBase::Private 0039 { 0040 friend class AbstractArea; 0041 public: 0042 explicit Private(); 0043 ~Private() override; 0044 }; 0045 0046 0047 inline AbstractArea::AbstractArea( Private * p ) 0048 : QObject(), AbstractAreaBase( p ), AbstractLayoutItem() 0049 { 0050 init(); 0051 } 0052 inline AbstractArea::Private * AbstractArea::d_func() 0053 { 0054 return static_cast<Private*>( AbstractAreaBase::d_func() ); 0055 } 0056 inline const AbstractArea::Private * AbstractArea::d_func() const 0057 { 0058 return static_cast<const Private*>( AbstractAreaBase::d_func() ); 0059 } 0060 0061 } 0062 0063 #endif /* KCHARTABSTRACTAREA_P_H */ 0064