00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030 #ifndef KDCHARTABSTRACTTHREEDATTRIBUTES_H
00031 #define KDCHARTABSTRACTTHREEDATTRIBUTES_H
00032
00033 #include <QMetaType>
00034 #include "KDChartGlobal.h"
00035
00036 namespace KDChart {
00037
00038 class KDCHART_EXPORT AbstractThreeDAttributes
00039 {
00040 public:
00041 AbstractThreeDAttributes();
00042 AbstractThreeDAttributes( const AbstractThreeDAttributes& );
00043 AbstractThreeDAttributes &operator= ( const AbstractThreeDAttributes& );
00044
00045 virtual ~AbstractThreeDAttributes() = 0;
00046
00047 void setEnabled( bool enabled );
00048 bool isEnabled() const;
00049
00050 void setDepth( double depth );
00051 double depth() const;
00052
00053
00054 double validDepth() const;
00055
00056 bool operator==( const AbstractThreeDAttributes& ) const;
00057 inline bool operator!=( const AbstractThreeDAttributes& other ) const { return !operator==(other); }
00058
00059 KDCHART_DECLARE_PRIVATE_BASE_POLYMORPHIC(AbstractThreeDAttributes)
00060
00061 KDCHART_DECLARE_SWAP_BASE(AbstractThreeDAttributes)
00062
00063 };
00064
00065 }
00066
00067 #if !defined(QT_NO_DEBUG_STREAM)
00068 KDCHART_EXPORT QDebug operator<<(QDebug, const KDChart::AbstractThreeDAttributes& );
00069 #endif
00070
00071
00072
00073 #endif // KDCHARTABSTRACTTHREEDATTRIBUTES_H