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

kleopatra

  • sources
  • kde-4.14
  • kdepim
  • kleopatra
  • utils
Macros | Functions
kdtoolsglobal.h File Reference
#include <qglobal.h>
Include dependency graph for kdtoolsglobal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define KDAB_DISABLE_COPY(x)   private: x( const x & ); x & operator=( const x & )
 
#define KDAB_IMPLEMENT_SAFE_BOOL_OPERATOR(func)
 
#define KDAB_SET_OBJECT_NAME(x)   __kdtools__dereference_for_methodcall( x ).setObjectName( QLatin1String( #x ) )
 
#define KDAB_SYNCHRONIZED(mutex)
 
#define KDTOOLS_MAKE_RELATION_OPERATORS(Class, linkage)
 

Functions

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

Macro Definition Documentation

#define KDAB_DISABLE_COPY (   x)    private: x( const x & ); x & operator=( const x & )

Definition at line 28 of file kdtoolsglobal.h.

#define KDAB_IMPLEMENT_SAFE_BOOL_OPERATOR (   func)
Value:
private: struct __safe_bool_dummy__ { void nonnull(); }; \
typedef void ( __safe_bool_dummy__::*unspecified_bool_type )(); \
public: \
operator unspecified_bool_type() const { \
return ( func ) ? &__safe_bool_dummy__::nonnull : 0 ; \
}

Definition at line 33 of file kdtoolsglobal.h.

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

Definition at line 66 of file kdtoolsglobal.h.

#define KDAB_SYNCHRONIZED (   mutex)
Value:
if ( bool __counter_##__LINE__ = false ) {} else \
for ( QMutexLocker __locker_##__LINE__( &__kdtools__dereference_for_methodcall( mutex ) ) ; !__counter_##__LINE__ ; __counter_##__LINE__ = true )
mutex
static QMutex mutex
Definition: sessiondata.cpp:50
__kdtools__dereference_for_methodcall
T & __kdtools__dereference_for_methodcall(T &o)
Definition: kdtoolsglobal.h:57
QMutexLocker

Definition at line 68 of file kdtoolsglobal.h.

#define KDTOOLS_MAKE_RELATION_OPERATORS (   Class,
  linkage 
)
Value:
linkage bool operator>( const Class & lhs, const Class & rhs ) { \
return operator<( lhs, rhs ); \
} \
linkage bool operator!=( const Class & lhs, const Class & rhs ) { \
return !operator==( lhs, rhs ); \
} \
linkage bool operator<=( const Class & lhs, const Class & rhs ) { \
return !operator>( lhs, rhs ); \
} \
linkage bool operator>=( const Class & lhs, const Class & rhs ) { \
return !operator<( lhs, rhs ); \
}
Kleo::Crypto::operator!=
bool operator!=(const Recipient &lhs, const Recipient &rhs)
Definition: recipient.h:94
KMime::Types::operator==
static bool operator==(const AddrSpec &lhs, const AddrSpec &rhs)
Definition: recipient.cpp:55

Definition at line 42 of file kdtoolsglobal.h.

Function Documentation

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

Definition at line 57 of file kdtoolsglobal.h.

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

Definition at line 62 of file kdtoolsglobal.h.

This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:33:12 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

kleopatra

Skip menu "kleopatra"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

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
  • pimprint

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