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 ) )
 

Enumerations

enum  DisplayRoles {
  DatasetPenRole = 0x0A79EF95, DatasetBrushRole, DataValueLabelAttributesRole, ThreeDAttributesRole,
  LineAttributesRole, ThreeDLineAttributesRole, BarAttributesRole, StockBarAttributesRole,
  ThreeDBarAttributesRole, PieAttributesRole, ThreeDPieAttributesRole, DataHiddenRole,
  ValueTrackerAttributesRole, CommentRole
}
 

Functions

template<typename T >
T & __kdab__dereference_for_methodcall (T &o)
 
template<typename T >
T & __kdab__dereference_for_methodcall (T *o)
 

Detailed Description

Contains KChart macros.

Contains KChart macros.

Definition in file KChartGlobal.h.

Macro Definition Documentation

#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();
Class only listed here to document inheritance of some KChart classes.
QCA_EXPORT void init()

Definition at line 110 of file KChartGlobal.h.

#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;
QCA_EXPORT void init()

Definition at line 79 of file KChartGlobal.h.

#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;
Class only listed here to document inheritance of some KChart classes.
QCA_EXPORT void init()

Definition at line 90 of file KChartGlobal.h.

#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;
QCA_EXPORT void init()

Definition at line 68 of file KChartGlobal.h.

#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();
QCA_EXPORT void init()

Definition at line 45 of file KChartGlobal.h.

#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();
QCA_EXPORT void init()

Definition at line 55 of file KChartGlobal.h.

#define KCHART_DECLARE_SWAP_BASE (   X)
Value:
protected: \
void doSwap( X& other ) \
{ qSwap( _d, other._d); }

Definition at line 165 of file KChartGlobal.h.

#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 145 of file KChartGlobal.h.

#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() ); }
QCA_EXPORT void init()

Definition at line 101 of file KChartGlobal.h.

#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() ); }
Class only listed here to document inheritance of some KChart classes.
QCA_EXPORT void init()

Definition at line 121 of file KChartGlobal.h.

#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() ); }
QCA_EXPORT void init()

Definition at line 133 of file KChartGlobal.h.

This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Sep 24 2020 22:36:58 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.