KChart
KChartGlobal.h File Reference
#include <qglobal.h>
#include "kchart_export.h"
#include <QtAlgorithms>
#include <algorithm>
#include <Qt>
Include dependency graph for KChartGlobal.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Namespaces | |
KChart | |
Macros | |
#define | KCHART_DECLARE_DERIVED_DIAGRAM(X, PLANE) |
#define | KCHART_DECLARE_PRIVATE_BASE_POLYMORPHIC(X) |
#define | KCHART_DECLARE_PRIVATE_BASE_POLYMORPHIC_QWIDGET(X) |
#define | KCHART_DECLARE_PRIVATE_BASE_VALUE(X) |
#define | KCHART_DECLARE_PRIVATE_DERIVED(X) |
#define | KCHART_DECLARE_PRIVATE_DERIVED_PARENT(X, ParentType) |
#define | KCHART_DECLARE_PRIVATE_DERIVED_QWIDGET(X) KCHART_DECLARE_PRIVATE_DERIVED_PARENT( X, QWidget* ) |
#define | KCHART_DECLARE_SWAP_BASE(X) |
#define | KCHART_DECLARE_SWAP_DERIVED(X) void swap( X& other ) { doSwap( other ); } |
#define | KCHART_DECLARE_SWAP_SPECIALISATION(X) |
#define | KCHART_DECLARE_SWAP_SPECIALISATION_DERIVED(X) KCHART_DECLARE_SWAP_SPECIALISATION( X ) |
#define | KCHART_DERIVED_PRIVATE_FOOTER(CLASS, PARENT) |
#define | KCHART_IMPL_DERIVED_DIAGRAM(CLASS, PARENT, PLANE) |
#define | KCHART_IMPL_DERIVED_PLANE(CLASS, BASEPLANE) |
#define | KDAB_SET_OBJECT_NAME(x) __kdab__dereference_for_methodcall( x ).setObjectName( QLatin1String( #x ) ) |
Functions | |
template<typename T > | |
T & | __kdab__dereference_for_methodcall (T &o) |
template<typename T > | |
T & | __kdab__dereference_for_methodcall (T *o) |
Detailed Description
Macro Definition Documentation
◆ KCHART_DECLARE_DERIVED_DIAGRAM
#define KCHART_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 99 of file KChartGlobal.h.
◆ KCHART_DECLARE_PRIVATE_BASE_POLYMORPHIC
#define KCHART_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 68 of file KChartGlobal.h.
◆ KCHART_DECLARE_PRIVATE_BASE_POLYMORPHIC_QWIDGET
#define KCHART_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 79 of file KChartGlobal.h.
◆ KCHART_DECLARE_PRIVATE_BASE_VALUE
#define KCHART_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 57 of file KChartGlobal.h.
◆ KCHART_DECLARE_PRIVATE_DERIVED
#define KCHART_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 34 of file KChartGlobal.h.
◆ KCHART_DECLARE_PRIVATE_DERIVED_PARENT
#define KCHART_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 44 of file KChartGlobal.h.
◆ KCHART_DECLARE_SWAP_BASE
#define KCHART_DECLARE_SWAP_BASE | ( | X | ) |
Value:
protected: \
void doSwap( X& other ) \
{ qSwap( _d, other._d); }
Definition at line 154 of file KChartGlobal.h.
◆ KCHART_DECLARE_SWAP_SPECIALISATION
#define KCHART_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 134 of file KChartGlobal.h.
◆ KCHART_DERIVED_PRIVATE_FOOTER
#define KCHART_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 90 of file KChartGlobal.h.
◆ KCHART_IMPL_DERIVED_DIAGRAM
#define KCHART_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 110 of file KChartGlobal.h.
◆ KCHART_IMPL_DERIVED_PLANE
#define KCHART_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 122 of file KChartGlobal.h.
Class only listed here to document inheritance of some KChart classes.
void init(KXmlGuiWindow *window, KGameDifficulty *difficulty=nullptr)
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Dec 2 2023 03:54:43 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Sat Dec 2 2023 03:54:43 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.