31#define QXT_VERSION 0x000602
32#define QXT_VERSION_STR "0.6.2"
43#define QXT_DLLEXPORT DO_NOT_USE_THIS_ANYMORE
45#if !defined(QXT_STATIC)
46# if defined(BUILD_QXT_CORE)
47# define QXT_CORE_EXPORT Q_DECL_EXPORT
49# define QXT_CORE_EXPORT Q_DECL_IMPORT
52# define QXT_CORE_EXPORT
55#if !defined(QXT_STATIC)
56# if defined(BUILD_QXT_GUI)
57# define QXT_GUI_EXPORT Q_DECL_EXPORT
59# define QXT_GUI_EXPORT Q_DECL_IMPORT
62# define QXT_GUI_EXPORT
65#if !defined(QXT_STATIC)
66# if defined(BUILD_QXT_NETWORK)
67# define QXT_NETWORK_EXPORT Q_DECL_EXPORT
69# define QXT_NETWORK_EXPORT Q_DECL_IMPORT
72# define QXT_NETWORK_EXPORT
75#if !defined(QXT_STATIC)
76# if defined(BUILD_QXT_SQL)
77# define QXT_SQL_EXPORT Q_DECL_EXPORT
79# define QXT_SQL_EXPORT Q_DECL_IMPORT
82# define QXT_SQL_EXPORT
85#if !defined(QXT_STATIC)
86# if defined(BUILD_QXT_WEB)
87# define QXT_WEB_EXPORT Q_DECL_EXPORT
89# define QXT_WEB_EXPORT Q_DECL_IMPORT
92# define QXT_WEB_EXPORT
95#if !defined(QXT_STATIC)
96# if defined(BUILD_QXT_BERKELEY)
97# define QXT_BERKELEY_EXPORT Q_DECL_EXPORT
99# define QXT_BERKELEY_EXPORT Q_DECL_IMPORT
102# define QXT_BERKELEY_EXPORT
105#if !defined(QXT_STATIC)
106# if defined(BUILD_QXT_ZEROCONF)
107# define QXT_ZEROCONF_EXPORT Q_DECL_EXPORT
109# define QXT_ZEROCONF_EXPORT Q_DECL_IMPORT
112# define QXT_ZEROCONF_EXPORT
115#if defined BUILD_QXT_CORE || defined BUILD_QXT_GUI || defined BUILD_QXT_SQL || defined BUILD_QXT_NETWORK || defined BUILD_QXT_WEB || defined BUILD_QXT_BERKELEY || defined BUILD_QXT_ZEROCONF
121#ifndef QT_BEGIN_NAMESPACE
122#define QT_BEGIN_NAMESPACE
125#ifndef QT_END_NAMESPACE
126#define QT_END_NAMESPACE
129#ifndef QT_FORWARD_DECLARE_CLASS
130#define QT_FORWARD_DECLARE_CLASS(Class) class Class;
145#define QXT_DECLARE_PRIVATE(PUB) friend class PUB##Private; QxtPrivateInterface<PUB, PUB##Private> qxt_d;
146#define QXT_DECLARE_PUBLIC(PUB) friend class PUB;
147#define QXT_INIT_PRIVATE(PUB) qxt_d.setPublic(this);
148#define QXT_D(PUB) PUB##Private& d = qxt_d()
149#define QXT_P(PUB) PUB& p = qxt_p()
151template <
typename PUB>
176template <
typename PUB,
typename PVT>
192 pvt->QXT_setPublic(pub);
196 return *
static_cast<PVT*
>(
pvt);
200 return *
static_cast<PVT*
>(
pvt);
~QxtPrivateInterface()
Definition qxtglobal.h:185
void setPublic(PUB *pub)
Definition qxtglobal.h:190
QxtPrivateInterface & operator=(const QxtPrivateInterface &)
Definition qxtglobal.h:204
QxtPrivateInterface(const QxtPrivateInterface &)
Definition qxtglobal.h:203
const PVT & operator()() const
Definition qxtglobal.h:198
PVT & operator()()
Definition qxtglobal.h:194
QxtPrivate< PUB > * pvt
Definition qxtglobal.h:205
QxtPrivateInterface()
Definition qxtglobal.h:181
Definition qxtglobal.h:153
PUB & qxt_p()
Definition qxtglobal.h:163
void QXT_setPublic(PUB *pub)
Definition qxtglobal.h:157
virtual ~QxtPrivate()
Definition qxtglobal.h:155
PUB * qxt_p_ptr
Definition qxtglobal.h:173
const PUB & qxt_p() const
Definition qxtglobal.h:167
#define QXT_CORE_EXPORT
Definition qxtglobal.h:52
QXT_CORE_EXPORT const char * qxtVersion()