KChart

KChartThreeDPieAttributes.h
1 /*
2  * SPDX-FileCopyrightText: 2001-2015 Klaralvdalens Datakonsult AB. All rights reserved.
3  *
4  * This file is part of the KD Chart library.
5  *
6  * SPDX-License-Identifier: GPL-2.0-or-later
7  */
8 
9 #ifndef KCHARTTHREEDPIEATTRIBUTES_H
10 #define KCHARTTHREEDPIEATTRIBUTES_H
11 
12 #include <QMetaType>
13 #include "KChartAbstractThreeDAttributes.h"
14 #include "KChartGlobal.h"
15 
16 namespace KChart {
17 
18  /**
19  * @brief A set of 3D pie attributes
20  */
21  class KCHART_EXPORT ThreeDPieAttributes : public AbstractThreeDAttributes
22  {
23  public:
26  ThreeDPieAttributes &operator= ( const ThreeDPieAttributes& );
27 
29 
30  /* threeD Pies specific */
31  void setUseShadowColors( bool useShadowColors );
32  bool useShadowColors() const;
33 
34  bool operator==( const ThreeDPieAttributes& ) const;
35  inline bool operator!=( const ThreeDPieAttributes& other ) const { return !operator==(other); }
36 
37  KCHART_DECLARE_SWAP_DERIVED(ThreeDPieAttributes)
38 
39 private:
40  KCHART_DECLARE_PRIVATE_DERIVED(ThreeDPieAttributes)
41 
42  }; // End of class ThreeDPieAttributes
43 
44 }
45 
46 #if !defined(QT_NO_DEBUG_STREAM)
47 KCHART_EXPORT QDebug operator<<(QDebug, const KChart::ThreeDPieAttributes& );
48 #endif /* QT_NO_DEBUG_STREAM */
49 
50 KCHART_DECLARE_SWAP_SPECIALISATION_DERIVED( KChart::ThreeDPieAttributes )
51 
52 QT_BEGIN_NAMESPACE
53 Q_DECLARE_TYPEINFO( KChart::ThreeDPieAttributes, Q_MOVABLE_TYPE );
54 QT_END_NAMESPACE
55 
56 Q_DECLARE_METATYPE( KChart::ThreeDPieAttributes )
57 
58 #endif // KCHARTTHREEDPIEATTRIBUTES_H
Contains KChart macros.
QDataStream & operator<<(QDataStream &out, const KDateTime::Spec &spec)
A set of 3D pie attributes.
Global namespace.
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Thu Sep 23 2021 22:37:17 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.