Contains KDChart macros.
More...
#include <qglobal.h>
#include "kdchart_export.h"
#include <QtAlgorithms>
#include <algorithm>
#include <Qt>
Go to the source code of this file.
|
enum | KDChart::DisplayRoles {
KDChart::DatasetPenRole = 0x0A79EF95
, KDChart::DatasetBrushRole
, KDChart::DataValueLabelAttributesRole
, KDChart::ThreeDAttributesRole
,
KDChart::LineAttributesRole
, KDChart::ThreeDLineAttributesRole
, KDChart::BarAttributesRole
, KDChart::StockBarAttributesRole
,
KDChart::ThreeDBarAttributesRole
, KDChart::PieAttributesRole
, KDChart::ThreeDPieAttributesRole
, KDChart::DataHiddenRole
,
KDChart::ValueTrackerAttributesRole
, KDChart::CommentRole
} |
|
Contains KDChart macros.
Contains KDChart macros.
Definition in file KDChartGlobal.h.
◆ KDAB_SET_OBJECT_NAME
◆ KDCHART_DECLARE_DERIVED_DIAGRAM
#define KDCHART_DECLARE_DERIVED_DIAGRAM |
( |
|
X, |
|
|
|
PLANE |
|
) |
| |
Value:public: \
class Private; \
\
protected: \
inline Private *d_func(); \
inline const Private *d_func() const; \
explicit inline X(Private *); \
explicit inline X(Private *, QWidget *, PLANE *); \
\
private: \
void init();
Definition at line 140 of file KDChartGlobal.h.
◆ KDCHART_DECLARE_PRIVATE_BASE_POLYMORPHIC
#define KDCHART_DECLARE_PRIVATE_BASE_POLYMORPHIC |
( |
|
X | ) |
|
Value:public: \
class Private; \
\
protected: \
Private *d_func() \
{ \
return _d; \
} \
const Private *d_func() const \
{ \
return _d; \
} \
explicit inline X(Private *); \
\
private: \
void init(); \
Private *_d;
Definition at line 87 of file KDChartGlobal.h.
◆ KDCHART_DECLARE_PRIVATE_BASE_POLYMORPHIC_QWIDGET
#define KDCHART_DECLARE_PRIVATE_BASE_POLYMORPHIC_QWIDGET |
( |
|
X | ) |
|
Value:public: \
class Private; \
\
protected: \
Private *d_func() \
{ \
return _d; \
} \
const Private *d_func() const \
{ \
return _d; \
} \
explicit inline X(Private *, QWidget *); \
\
private: \
void init(); \
Private *_d;
Definition at line 106 of file KDChartGlobal.h.
◆ KDCHART_DECLARE_PRIVATE_BASE_VALUE
#define KDCHART_DECLARE_PRIVATE_BASE_VALUE |
( |
|
X | ) |
|
Value:public: \
inline void swap(X &other) \
{ \
qSwap(_d, other._d); \
} \
\
protected: \
class Private; \
Private *d_func() \
{ \
return _d; \
} \
const Private *d_func() const \
{ \
return _d; \
} \
\
private: \
void init(); \
Private *_d;
Definition at line 65 of file KDChartGlobal.h.
◆ KDCHART_DECLARE_PRIVATE_DERIVED
#define KDCHART_DECLARE_PRIVATE_DERIVED |
( |
|
X | ) |
|
Value:public: \
class Private; \
\
protected: \
inline Private *d_func(); \
inline const Private *d_func() const; \
explicit inline X(Private *); \
\
private: \
void init();
Definition at line 38 of file KDChartGlobal.h.
◆ KDCHART_DECLARE_PRIVATE_DERIVED_PARENT
#define KDCHART_DECLARE_PRIVATE_DERIVED_PARENT |
( |
|
X, |
|
|
|
ParentType |
|
) |
| |
Value:public: \
class Private; \
\
protected: \
inline Private *d_func(); \
inline const Private *d_func() const; \
explicit inline X(Private *, ParentType); \
\
private: \
void init();
Definition at line 50 of file KDChartGlobal.h.
◆ KDCHART_DECLARE_PRIVATE_DERIVED_QWIDGET
◆ KDCHART_DECLARE_SWAP_BASE
#define KDCHART_DECLARE_SWAP_BASE |
( |
|
X | ) |
|
Value:protected: \
void doSwap(X &other) \
{ \
qSwap(_d, other._d); \
}
Definition at line 221 of file KDChartGlobal.h.
◆ KDCHART_DECLARE_SWAP_DERIVED
#define KDCHART_DECLARE_SWAP_DERIVED |
( |
|
X | ) |
|
Value: void swap(X &other) \
{ \
doSwap(other); \
}
Definition at line 228 of file KDChartGlobal.h.
◆ KDCHART_DECLARE_SWAP_SPECIALISATION
#define KDCHART_DECLARE_SWAP_SPECIALISATION |
( |
|
X | ) |
|
Value: QT_BEGIN_NAMESPACE \
template<> \
inline void qSwap<X>(X & lhs, X & rhs) \
{ \
lhs.swap(rhs); \
} \
QT_END_NAMESPACE \
namespace std { \
template<> \
inline void swap<X>(X & lhs, X &rhs) \
{ \
lhs.swap(rhs); \
} \
}
Definition at line 192 of file KDChartGlobal.h.
◆ KDCHART_DECLARE_SWAP_SPECIALISATION_DERIVED
◆ KDCHART_DERIVED_PRIVATE_FOOTER
#define KDCHART_DERIVED_PRIVATE_FOOTER |
( |
|
CLASS, |
|
|
|
PARENT |
|
) |
| |
Value: inline CLASS::CLASS(Private *p) \
: PARENT(p) \
{ \
init(); \
} \
inline CLASS::Private *CLASS::d_func() \
{ \
return static_cast<Private *>(PARENT::d_func()); \
} \
inline const CLASS::Private *CLASS::d_func() const \
{ \
return static_cast<const Private *>(PARENT::d_func()); \
}
Definition at line 125 of file KDChartGlobal.h.
◆ KDCHART_IMPL_DERIVED_DIAGRAM
#define KDCHART_IMPL_DERIVED_DIAGRAM |
( |
|
CLASS, |
|
|
|
PARENT, |
|
|
|
PLANE |
|
) |
| |
Value: inline CLASS::CLASS(Private *p) \
: PARENT(p) \
{ \
init(); \
} \
inline CLASS::CLASS( \
Private *p, QWidget *parent, PLANE *plane) \
: PARENT(p, parent, plane) \
{ \
init(); \
} \
inline CLASS::Private *CLASS::d_func() \
{ \
return static_cast<Private *>(PARENT::d_func()); \
} \
inline const CLASS::Private *CLASS::d_func() const \
{ \
return static_cast<const Private *>(PARENT::d_func()); \
}
Definition at line 153 of file KDChartGlobal.h.
◆ KDCHART_IMPL_DERIVED_PLANE
#define KDCHART_IMPL_DERIVED_PLANE |
( |
|
CLASS, |
|
|
|
BASEPLANE |
|
) |
| |
Value: inline CLASS::CLASS(Private *p, Chart *parent) \
: BASEPLANE(p, parent) \
{ \
init(); \
} \
inline CLASS::Private *CLASS::d_func() \
{ \
return static_cast<Private *>(BASEPLANE::d_func()); \
} \
inline const CLASS::Private *CLASS::d_func() const \
{ \
return static_cast<const Private *>(BASEPLANE::d_func()); \
}
Definition at line 174 of file KDChartGlobal.h.
◆ __kdab__dereference_for_methodcall() [1/2]
template<typename T >
T& __kdab__dereference_for_methodcall |
( |
T & |
o | ) |
|
|
inline |
◆ __kdab__dereference_for_methodcall() [2/2]
template<typename T >
T& __kdab__dereference_for_methodcall |
( |
T * |
o | ) |
|
|
inline |