2
KDChart - a multi-platform charting engine
5
/****************************************************************************
6
** Copyright (C) 2005-2007 Klarälvdalens Datakonsult AB. All rights reserved.
8
** This file is part of the KD Chart library.
10
** This file may be used under the terms of the GNU General Public
11
** License versions 2.0 or 3.0 as published by the Free Software
12
** Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
13
** included in the packaging of this file. Alternatively you may (at
14
** your option) use any later version of the GNU General Public
15
** License if such license has been publicly approved by
16
** Klarälvdalens Datakonsult AB (or its successors, if any).
18
** This file is provided "AS IS" with NO WARRANTY OF ANY KIND,
19
** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR
20
** A PARTICULAR PURPOSE. Klarälvdalens Datakonsult AB reserves all rights
21
** not expressly granted herein.
23
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
24
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
26
**********************************************************************/
28
#ifndef KDCHARTTERNARYLINEDIAGRAM_P_H
29
#define KDCHARTTERNARYLINEDIAGRAM_P_H
35
// This file is not part of the KD Chart API. It exists purely as an
36
// implementation detail. This header file may change from version to
37
// version without notice, or even be removed.
42
#include "KDChartAbstractTernaryDiagram_p.h"
44
#include <KDABLibFakes>
51
class TernaryLineDiagram::Private : public AbstractTernaryDiagram::Private
53
friend class TernaryLineDiagram;
58
Private( const Private& rhs )
59
: AbstractTernaryDiagram::Private( rhs )
65
KDCHART_IMPL_DERIVED_DIAGRAM( TernaryLineDiagram, AbstractTernaryDiagram, TernaryCoordinatePlane )
67
inline LineDiagram::LineDiagram( Private * p, TernaryCoordinatePlane* plane )
68
: AbstractTernaryDiagram( p, plane ) { init(); }
69
inline LineDiagram::Private * LineDiagram::d_func()
70
{ return static_cast<Private*>( AbstractTernaryDiagram::d_func() ); }
71
inline const LineDiagram::Private * LineDiagram::d_func() const
72
{ return static_cast<const Private*>( AbstractTernaryDiagram::d_func() ); }
77
#endif /* KDCHARTTERNARYLINEDIAGRAM_P_H */