• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

kdgantt2

  • sources
  • kde-4.12
  • kdepim
  • kdgantt2
Classes | Namespaces | Macros | Enumerations | Functions
kdganttglobal.h File Reference
#include <Qt>
#include <QDateTime>
#include <QDebug>
#include <QMetaType>
#include "kdgantt_export.h"
#include <QtAlgorithms>
#include <algorithm>
Include dependency graph for kdganttglobal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  KDGantt::DateTimeSpan
 
class  KDGantt::Span
 

Namespaces

 KDGantt
 

Macros

#define KDAB_SET_OBJECT_NAME(x)   __kdab__dereference_for_methodcall( x ).setObjectName( QLatin1String( #x ) )
 
#define KDGANTT_DECLARE_PRIVATE_BASE_POLYMORPHIC(X)
 
#define KDGANTT_DECLARE_PRIVATE_BASE_POLYMORPHIC_QWIDGET(X)
 
#define KDGANTT_DECLARE_PRIVATE_BASE_VALUE(X)
 
#define KDGANTT_DECLARE_PRIVATE_DERIVED(X)
 
#define KDGANTT_DECLARE_PRIVATE_DERIVED_PARENT(X, ParentType)
 
#define KDGANTT_DECLARE_PRIVATE_DERIVED_QWIDGET(X)   KDGANTT_DECLARE_PRIVATE_DERIVED_PARENT( X, QWidget* )
 
#define KDGANTT_DECLARE_SWAP_BASE(X)
 
#define KDGANTT_DECLARE_SWAP_DERIVED(X)   void swap( X& other ) { doSwap( other ); }
 
#define KDGANTT_DECLARE_SWAP_SPECIALISATION(X)
 
#define KDGANTT_DECLARE_SWAP_SPECIALISATION_DERIVED(X)   KDGANTT_DECLARE_SWAP_SPECIALISATION( X )
 

Enumerations

enum  KDGantt::ItemDataRole {
  KDGantt::KDGanttRoleBase = Qt::UserRole + 1174, KDGantt::StartTimeRole = KDGanttRoleBase + 1, KDGantt::EndTimeRole = KDGanttRoleBase + 2, KDGantt::TaskCompletionRole = KDGanttRoleBase + 3,
  KDGantt::ItemTypeRole = KDGanttRoleBase + 4, KDGantt::LegendRole = KDGanttRoleBase + 5, KDGantt::TextPositionRole = KDGanttRoleBase + 6
}
 
enum  KDGantt::ItemType {
  KDGantt::TypeNone = 0, KDGantt::TypeEvent = 1, KDGantt::TypeTask = 2, KDGantt::TypeSummary = 3,
  KDGantt::TypeMulti = 4, KDGantt::TypeUser = 1000
}
 

Functions

template<typename T >
T & __kdab__dereference_for_methodcall (T &o)
 
template<typename T >
T & __kdab__dereference_for_methodcall (T *o)
 
bool KDGantt::operator!= (const Span &s1, const Span &s2)
 
bool KDGantt::operator!= (const DateTimeSpan &s1, const DateTimeSpan &s2)
 
QDebug KDGANTT_EXPORT operator<< (QDebug dbg, KDGantt::ItemDataRole r)
 
QDebug KDGANTT_EXPORT operator<< (QDebug dbg, KDGantt::ItemType t)
 
QDebug KDGANTT_EXPORT operator<< (QDebug dbg, const KDGantt::Span &s)
 
QDebug KDGANTT_EXPORT operator<< (QDebug dbg, const KDGantt::DateTimeSpan &s)
 
bool KDGantt::operator== (const Span &s1, const Span &s2)
 
bool KDGantt::operator== (const DateTimeSpan &s1, const DateTimeSpan &s2)
 
 Q_DECLARE_TYPEINFO (KDGantt::Span, Q_MOVABLE_TYPE)
 
 Q_DECLARE_TYPEINFO (KDGantt::DateTimeSpan, Q_MOVABLE_TYPE)
 

Macro Definition Documentation

#define KDAB_SET_OBJECT_NAME (   x)    __kdab__dereference_for_methodcall( x ).setObjectName( QLatin1String( #x ) )

Definition at line 45 of file kdganttglobal.h.

#define KDGANTT_DECLARE_PRIVATE_BASE_POLYMORPHIC (   X)
Value:
protected: \
class Private; \
friend class Private; \
Private * d_func() { return _d; } \
const Private * d_func() const { return _d; } \
explicit inline X( Private * ); \
private: \
void init(); \
Private * _d;

Definition at line 121 of file kdganttglobal.h.

#define KDGANTT_DECLARE_PRIVATE_BASE_POLYMORPHIC_QWIDGET (   X)
Value:
protected: \
class Private; \
friend class Private; \
Private * d_func() { return _d; } \
const Private * d_func() const { return _d; } \
explicit inline X( Private *, QWidget* ); \
private: \
void init(); \
Private * _d;
QWidget

Definition at line 146 of file kdganttglobal.h.

#define KDGANTT_DECLARE_PRIVATE_BASE_VALUE (   X)
Value:
public: \
inline void swap( X & other ) { qSwap( _d, other._d ); } \
protected: \
class Private; \
friend class Private; \
Private * d_func() { return _d; } \
const Private * d_func() const { return _d; } \
private: \
void init(); \
Private * _d;

Definition at line 96 of file kdganttglobal.h.

#define KDGANTT_DECLARE_PRIVATE_DERIVED (   X)
Value:
protected: \
class Private; \
friend class Private; \
inline Private * d_func(); \
inline const Private * d_func() const; \
explicit inline X( Private * ); \
private: \
void init();

Definition at line 59 of file kdganttglobal.h.

#define KDGANTT_DECLARE_PRIVATE_DERIVED_PARENT (   X,
  ParentType 
)
Value:
protected: \
class Private; \
friend class Private; \
inline Private * d_func(); \
inline const Private * d_func() const; \
explicit inline X( Private *, ParentType ); \
private: \
void init();

Definition at line 82 of file kdganttglobal.h.

#define KDGANTT_DECLARE_PRIVATE_DERIVED_QWIDGET (   X)    KDGANTT_DECLARE_PRIVATE_DERIVED_PARENT( X, QWidget* )

Definition at line 93 of file kdganttglobal.h.

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

Definition at line 184 of file kdganttglobal.h.

#define KDGANTT_DECLARE_SWAP_DERIVED (   X)    void swap( X& other ) { doSwap( other ); }

Definition at line 189 of file kdganttglobal.h.

#define KDGANTT_DECLARE_SWAP_SPECIALISATION (   X)
Value:
template <> inline void qSwap<X>( X & lhs, X & rhs ) \
{ lhs.swap( rhs ); } \
namespace std { \
template <> inline void swap<X>( X & lhs, X & rhs ) \
{ lhs.swap( rhs ); } \
}

Definition at line 168 of file kdganttglobal.h.

#define KDGANTT_DECLARE_SWAP_SPECIALISATION_DERIVED (   X)    KDGANTT_DECLARE_SWAP_SPECIALISATION( X )

Definition at line 181 of file kdganttglobal.h.

Function Documentation

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

Definition at line 36 of file kdganttglobal.h.

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

Definition at line 41 of file kdganttglobal.h.

QDebug KDGANTT_EXPORT operator<< ( QDebug  dbg,
KDGantt::ItemDataRole  r 
)

Definition at line 127 of file kdganttglobal.cpp.

QDebug KDGANTT_EXPORT operator<< ( QDebug  dbg,
KDGantt::ItemType  t 
)

Definition at line 140 of file kdganttglobal.cpp.

QDebug KDGANTT_EXPORT operator<< ( QDebug  dbg,
const KDGantt::Span &  s 
)

Definition at line 154 of file kdganttglobal.cpp.

QDebug KDGANTT_EXPORT operator<< ( QDebug  dbg,
const KDGantt::DateTimeSpan &  s 
)

Definition at line 159 of file kdganttglobal.cpp.

Q_DECLARE_TYPEINFO ( KDGantt::Span  ,
Q_MOVABLE_TYPE   
)
Q_DECLARE_TYPEINFO ( KDGantt::DateTimeSpan  ,
Q_MOVABLE_TYPE   
)
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:05 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kdgantt2

Skip menu "kdgantt2"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Modules
  • Related Pages

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal