KChart

KChartThreeDLineAttributes.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 KCHARTTHREEDLINEATTRIBUTES_H
10#define KCHARTTHREEDLINEATTRIBUTES_H
11
12#include <QMetaType>
13#include "KChartAbstractThreeDAttributes.h"
14#include "KChartGlobal.h"
15
16namespace KChart {
17
18 /**
19 * @brief A set of 3D line attributes
20 */
22 {
23 public:
26 ThreeDLineAttributes &operator= ( const ThreeDLineAttributes& );
27
28 ~ThreeDLineAttributes() override;
29
30 /* threeD lines specific */
31 void setLineXRotation( const uint degrees );
32 uint lineXRotation() const;
33 void setLineYRotation( const uint degrees );
34 uint lineYRotation() const;
35
36 bool operator==( const ThreeDLineAttributes& ) const;
37 inline bool operator!=( const ThreeDLineAttributes& other ) const { return !operator==(other); }
38
39 KCHART_DECLARE_SWAP_DERIVED(ThreeDLineAttributes)
40
41 KCHART_DECLARE_PRIVATE_DERIVED(ThreeDLineAttributes)
42
43 }; // End of class ThreeDLineAttributes
44
45}
46
47#if !defined(QT_NO_DEBUG_STREAM)
48KCHART_EXPORT QDebug operator<<(QDebug, const KChart::ThreeDLineAttributes& );
49#endif /* QT_NO_DEBUG_STREAM */
50
51KCHART_DECLARE_SWAP_SPECIALISATION_DERIVED( KChart::ThreeDLineAttributes )
52
53QT_BEGIN_NAMESPACE
54Q_DECLARE_TYPEINFO( KChart::ThreeDLineAttributes, Q_MOVABLE_TYPE );
55QT_END_NAMESPACE
56
57Q_DECLARE_METATYPE( KChart::ThreeDLineAttributes )
58
59#endif // KCHARTTHREEDLINEATTRIBUTES_H
Contains KChart macros.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri Jul 19 2024 11:55:59 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.