Added ModelPropertyMapper which allows to keep track of /current/ changes in the...
[quassel.git] / src / contrib / qxt / qxtglobal.h
1 /****************************************************************************
2 **
3 ** Copyright (C) Qxt Foundation. Some rights reserved.
4 **
5 ** This file is part of the QxtCore module of the Qt eXTension library
6 **
7 ** This library is free software; you can redistribute it and/or modify it
8 ** under the terms of th Common Public License, version 1.0, as published by
9 ** IBM.
10 **
11 ** This file is provided "AS IS", without WARRANTIES OR CONDITIONS OF ANY
12 ** KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY
13 ** WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR
14 ** FITNESS FOR A PARTICULAR PURPOSE.
15 **
16 ** You should have received a copy of the CPL along with this file.
17 ** See the LICENSE file and the cpl1.0.txt file included with the source
18 ** distribution for more information. If you did not receive a copy of the
19 ** license, contact the Qxt Foundation.
20 **
21 ** <http://libqxt.sourceforge.net>  <foundation@libqxt.org>
22 **
23 ****************************************************************************/
24
25
26 /** \defgroup core Core
27         The Core contains naturaly  the most important parts of Qxt everything is based one. it has no QT depencies and is licenced under pure lgpl
28 */
29
30 /** \defgroup kit Kit
31         the kit module contains the base parts of Qxt that depend on QtCore
32 */
33
34 /** \defgroup sql Sql
35         parts that depend on QtSql (and at least QtCore)
36 */
37
38 /** \defgroup network  Network
39         parts that depend on QtNetwork (and at least QtCore)
40 */
41
42 /** \defgroup gui Gui
43         parts that depend on QtGui (and at least QtCore)
44 */
45
46
47 /** \defgroup curses  Curses
48         Qt like ncurses Frontend
49 */
50
51 /** \defgroup web  Web
52         Qt like Web Developement tools
53 */
54
55 /** \defgroup crypto  Crypto
56         Tools for encryption and hashing
57 */
58
59
60
61 /**
62
63 */
64 /*! \mainpage Qt extension librarys
65  *
66  *
67  * Qxt Provides Classes for extended needs based on the Qt Library by Trolltech
68  *
69  * Checkout the classes list
70
71 \image html logo.png
72  *
73  */
74
75
76 #ifndef QXTDEFINES_HEADER_GUARDD
77 #define QXTDEFINES_HEADER_GUARDD
78
79
80
81
82
83 #define QXT_VERSION (  (2<<16) + (2<<8) + 3 )
84
85
86
87 //--------------------------global macros------------------------------
88
89 #ifndef QXT_NO_MACROS
90
91 #endif
92
93 //--------------------------export macros------------------------------
94
95
96
97
98 #    define QXT_DLLEXPORT DO_NOT_USE_THIS_ANYMORE
99
100
101
102
103
104
105
106 #if defined(QXT_WINDOWS)
107
108 #       if defined(BUILD_QXT_CORE)
109 #               define QXT_CORE_EXPORT __declspec(dllexport)
110 #       else
111 #               define QXT_CORE_EXPORT __declspec(dllimport)
112 #       endif
113
114 #       if defined(BUILD_QXT_GUI)
115 #               define QXT_GUI_EXPORT __declspec(dllexport)
116 #       else
117 #               define QXT_GUI_EXPORT __declspec(dllimport)
118 #       endif
119
120 #       if defined(BUILD_QXT_MEDIA)
121 #               define QXT_MEDIA_EXPORT __declspec(dllexport)
122 #       else
123 #               define QXT_MEDIA_EXPORT __declspec(dllimport)
124 #       endif
125
126
127 #       if defined(BUILD_QXT_NETWORK)
128 #               define QXT_NETWORK_EXPORT __declspec(dllexport)
129 #       else
130 #               define QXT_NETWORK_EXPORT __declspec(dllimport)
131 #       endif
132
133
134 #       if defined(BUILD_QXT_SQL)
135 #               define QXT_SQL_EXPORT __declspec(dllexport)
136 #       else
137 #               define QXT_SQL_EXPORT __declspec(dllimport)
138 #       endif
139
140 #       if defined(BUILD_QXT_WEB)
141 #               define QXT_WEB_EXPORT __declspec(dllexport)
142 #       else
143 #               define QXT_WEB_EXPORT __declspec(dllimport)
144 #       endif
145
146 #       if defined(BUILD_QXT_CRYPTO)
147 #               define QXT_CRYPTO_EXPORT __declspec(dllexport)
148 #       else
149 #               define QXT_CRYPTO_EXPORT __declspec(dllimport)
150 #       endif
151
152
153 #else
154
155 #    define QXT_CORE_EXPORT
156 #    define QXT_GUI_EXPORT
157 #    define QXT_MEDIA_EXPORT
158 #    define QXT_NETWORK_EXPORT
159 #    define QXT_SQL_EXPORT
160 #    define QXT_WEB_EXPORT
161 #    define QXT_CRYPTO_EXPORT
162
163
164
165
166 #endif
167
168
169
170
171
172
173
174
175
176
177 #if defined BUILD_QXT_CORE ||  defined BUILD_QXT_GUI || defined BUILD_QXT_MEDIA  || defined  BUILD_QXT_SQL || defined BUILD_QXT_NETWORK || defined BUILD_QXT_KIT || defined BUILD_QXT_WEB || defined BUILD_QXT_CRYPTO
178 #define BUILD_QXT
179 #endif
180
181
182
183
184
185
186
187
188
189
190
191 #endif //guards
192