| 1 | /**************************************************************************** | 
|---|
| 2 | ** $Id: qwinexport.h 2 2005-11-16 15:49:26Z dmik $ | 
|---|
| 3 | ** | 
|---|
| 4 | ** Global type declarations and definitions | 
|---|
| 5 | ** | 
|---|
| 6 | ** Copyright (C) 1992-2002 Trolltech AS.  All rights reserved. | 
|---|
| 7 | ** | 
|---|
| 8 | ** This file is part of the tools module of the Qt GUI Toolkit. | 
|---|
| 9 | ** | 
|---|
| 10 | ** This file may be distributed under the terms of the Q Public License | 
|---|
| 11 | ** as defined by Trolltech AS of Norway and appearing in the file | 
|---|
| 12 | ** LICENSE.QPL included in the packaging of this file. | 
|---|
| 13 | ** | 
|---|
| 14 | ** This file may be distributed and/or modified under the terms of the | 
|---|
| 15 | ** GNU General Public License version 2 as published by the Free Software | 
|---|
| 16 | ** Foundation and appearing in the file LICENSE.GPL included in the | 
|---|
| 17 | ** packaging of this file. | 
|---|
| 18 | ** | 
|---|
| 19 | ** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition | 
|---|
| 20 | ** licenses may use this file in accordance with the Qt Commercial License | 
|---|
| 21 | ** Agreement provided with the Software. | 
|---|
| 22 | ** | 
|---|
| 23 | ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE | 
|---|
| 24 | ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. | 
|---|
| 25 | ** | 
|---|
| 26 | ** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for | 
|---|
| 27 | **   information about Qt Commercial License Agreements. | 
|---|
| 28 | ** See http://www.trolltech.com/qpl/ for QPL licensing information. | 
|---|
| 29 | ** See http://www.trolltech.com/gpl/ for GPL licensing information. | 
|---|
| 30 | ** | 
|---|
| 31 | ** Contact info@trolltech.com if any conditions of this licensing are | 
|---|
| 32 | ** not clear to you. | 
|---|
| 33 | ** | 
|---|
| 34 | **********************************************************************/ | 
|---|
| 35 |  | 
|---|
| 36 | #if defined(Q_TEMPLATEDLL) && ( !defined(Q_CC_BOR) || !defined(QT_MAKEDLL) || defined(Q_EXPORT_TEMPLATES) ) | 
|---|
| 37 | // MOC_SKIP_BEGIN | 
|---|
| 38 |  | 
|---|
| 39 | #if defined(Q_DEFINED_QASCIIDICT) && defined(Q_DEFINED_QCONNECTION_LIST) && !defined(Q_EXPORTED_QASCIIDICT_TEMPLATES) | 
|---|
| 40 | #define Q_EXPORTED_QASCIIDICT_TEMPLATES | 
|---|
| 41 | Q_TEMPLATE_EXTERN template class Q_EXPORT QAsciiDictIterator<QConnectionList>; | 
|---|
| 42 | Q_TEMPLATE_EXTERN template class Q_EXPORT QAsciiDict<QConnectionList>; | 
|---|
| 43 | #endif | 
|---|
| 44 |  | 
|---|
| 45 | #if defined(Q_DEFINED_QSTYLESHEET) && defined(Q_DEFINED_QDICT) && !defined(Q_EXPORTED_QSTYLESHEET_TEMPLATES) | 
|---|
| 46 | #define Q_EXPORTED_QSTYLESHEET_TEMPLATES | 
|---|
| 47 | Q_TEMPLATE_EXTERN template class Q_EXPORT QDict<QStyleSheetItem>; | 
|---|
| 48 | #endif | 
|---|
| 49 |  | 
|---|
| 50 | #if defined(Q_DEFINED_QLIBRARY) && defined(Q_DEFINED_QDICT) && !defined(Q_EXPORTED_QDICTLIBRARY_TEMPLATES) | 
|---|
| 51 | #define Q_EXPORTED_QDICTLIBRARY_TEMPLATES | 
|---|
| 52 | Q_TEMPLATE_EXTERN template class Q_EXPORT QDict<QLibrary>; // for Qtopia | 
|---|
| 53 | #endif | 
|---|
| 54 |  | 
|---|
| 55 | #if defined(Q_DEFINED_QGUARDEDPTR) && defined(Q_DEFINED_QOBJECT) && !defined(Q_EXPORTED_QGUARDEDPTROBJECT_TEMPLATES) | 
|---|
| 56 | #define Q_EXPORTED_QGUARDEDPTROBJECT_TEMPLATES | 
|---|
| 57 | Q_TEMPLATE_EXTERN template class Q_EXPORT QGuardedPtr<QObject>; | 
|---|
| 58 | #endif | 
|---|
| 59 |  | 
|---|
| 60 | // needed for Qtopia | 
|---|
| 61 | #if defined(Q_DEFINED_QGUARDEDPTR) && defined(Q_DEFINED_QWIDGET) && !defined(Q_EXPORTED_QGUARDEDPTRQWIDGET_TEMPLATES) | 
|---|
| 62 | #define Q_EXPORTED_QGUARDEDPTRQWIDGET_TEMPLATES | 
|---|
| 63 | Q_TEMPLATE_EXTERN template class Q_EXPORT QGuardedPtr<QWidget>; | 
|---|
| 64 | #endif | 
|---|
| 65 |  | 
|---|
| 66 | #if defined(Q_DEFINED_QGUARDEDPTR) && defined(Q_DEFINED_QACCESSIBLE_OBJECT) && !defined(Q_EXPORTED_QACCESSIBLEOBJECT_TEMPLATES) | 
|---|
| 67 | #define Q_EXPORTED_QACCESSIBLEOBJECT_TEMPLATES | 
|---|
| 68 | Q_TEMPLATE_EXTERN template class Q_EXPORT QGuardedPtr<QAccessibleObject>; | 
|---|
| 69 | #endif | 
|---|
| 70 |  | 
|---|
| 71 | #if defined(Q_DEFINED_QINTDICT) && !defined(Q_EXPORTED_QINTDICT_TEMPLATES) | 
|---|
| 72 | #define Q_EXPORTED_QINTDICT_TEMPLATES | 
|---|
| 73 | Q_TEMPLATE_EXTERN template class Q_EXPORT QIntDict<int>; | 
|---|
| 74 | #endif | 
|---|
| 75 |  | 
|---|
| 76 | #if defined(Q_DEFINED_QINTDICT) && defined(Q_DEFINED_QWIDGET) && !defined(Q_EXPORTED__TEMPLATES) | 
|---|
| 77 | #define Q_EXPORTED__TEMPLATES | 
|---|
| 78 | Q_TEMPLATE_EXTERN template class Q_EXPORT QIntDictIterator<QWidget>; | 
|---|
| 79 | Q_TEMPLATE_EXTERN template class Q_EXPORT QIntDict<QWidget>; | 
|---|
| 80 | #endif | 
|---|
| 81 |  | 
|---|
| 82 | #if defined(Q_DEFINED_QMAP) && !defined(Q_EXPORTED_QMAPBASIC_TEMPLATES) | 
|---|
| 83 | #define Q_EXPORTED_QMAPBASIC_TEMPLATES | 
|---|
| 84 | Q_TEMPLATE_EXTERN template class Q_EXPORT QMap<int, int>; // for Qtopia | 
|---|
| 85 | Q_TEMPLATE_EXTERN template class Q_EXPORT QMap<int, bool>; // for Qtopia | 
|---|
| 86 | #endif | 
|---|
| 87 |  | 
|---|
| 88 | #if defined(Q_DEFINED_QMAP) && defined(Q_DEFINED_QSTRING) && !defined(Q_EXPORTED_QMAPQSTRING_TEMPLATES) | 
|---|
| 89 | #define Q_EXPORTED_QMAPQSTRING_TEMPLATES | 
|---|
| 90 | Q_TEMPLATE_EXTERN template class Q_EXPORT QMap<QString, QString>; | 
|---|
| 91 | Q_TEMPLATE_EXTERN template class Q_EXPORT QMap<QString, int>; // for Qtopia | 
|---|
| 92 | Q_TEMPLATE_EXTERN template class Q_EXPORT QMap<int, QString>; // for Qtopia | 
|---|
| 93 | #endif | 
|---|
| 94 |  | 
|---|
| 95 | #if defined(Q_DEFINED_QMEMARRAY)  && !defined(Q_EXPORTED_QMEMARRAY_BASIC_TEMPLATES) | 
|---|
| 96 | #define Q_EXPORTED_QMEMARRAY_BASIC_TEMPLATES | 
|---|
| 97 | Q_TEMPLATE_EXTERN template class Q_EXPORT QMemArray<int>; | 
|---|
| 98 | Q_TEMPLATE_EXTERN template class Q_EXPORT QMemArray<bool>; | 
|---|
| 99 | Q_TEMPLATE_EXTERN template class Q_EXPORT QMemArray<char>; | 
|---|
| 100 | #endif | 
|---|
| 101 |  | 
|---|
| 102 | #if defined(Q_DEFINED_QMEMARRAY) && defined(Q_DEFINED_QPOINT)  && !defined(Q_EXPORTED_QMEMARAYPOINT_TEMPLATES) | 
|---|
| 103 | #define Q_EXPORTED_QMEMARAYPOINT_TEMPLATES | 
|---|
| 104 | Q_TEMPLATE_EXTERN template class Q_EXPORT QMemArray<QPoint>; | 
|---|
| 105 | #endif | 
|---|
| 106 |  | 
|---|
| 107 | #if defined(Q_DEFINED_QPTRLIST)  && !defined(Q_EXPORTED_QPTRLIST_BASIC_TEMPLATES) | 
|---|
| 108 | #define Q_EXPORTED_QPTRLIST_BASIC_TEMPLATES | 
|---|
| 109 | Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrListIterator<char>; | 
|---|
| 110 | Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrList<char>; | 
|---|
| 111 | #endif | 
|---|
| 112 |  | 
|---|
| 113 | #if defined(Q_DEFINED_QPTRLIST) && defined(Q_DEFINED_QWIDGET)  && !defined(Q_EXPORTED_QPTRLISTWIDGET_TEMPLATES) | 
|---|
| 114 | #define Q_EXPORTED_QPTRLISTWIDGET_TEMPLATES | 
|---|
| 115 | Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrListIterator<QWidget>; | 
|---|
| 116 | Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrList<QWidget>; | 
|---|
| 117 | #endif | 
|---|
| 118 |  | 
|---|
| 119 | #if defined(Q_DEFINED_QPTRLIST) && defined(Q_DEFINED_QCONNECTION)  && !defined(Q_EXPORTED_QPTRLISTCONNECTION_TEMPLATES) | 
|---|
| 120 | #define Q_EXPORTED_QPTRLISTCONNECTION_TEMPLATES | 
|---|
| 121 | Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrListIterator<QConnection>; | 
|---|
| 122 | Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrList<QConnection>; | 
|---|
| 123 | #endif | 
|---|
| 124 |  | 
|---|
| 125 | #if defined(Q_DEFINED_QPTRLIST) && defined(Q_DEFINED_QOBJECT)  && !defined(Q_EXPORTED_QPTRLISTOBJECT_TEMPLATES) | 
|---|
| 126 | #define Q_EXPORTED_QPTRLISTOBJECT_TEMPLATES | 
|---|
| 127 | Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrListIterator<QObject>; | 
|---|
| 128 | Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrList<QObject>; | 
|---|
| 129 | #endif | 
|---|
| 130 |  | 
|---|
| 131 | #if defined(Q_DEFINED_QPTRLIST) && defined(Q_DEFINED_QDOCKWINDOW)  && !defined(Q_EXPORTED_QPTRLISTDOCWINDOW_TEMPLATES) | 
|---|
| 132 | #define Q_EXPORTED_QPTRLISTDOCWINDOW_TEMPLATES | 
|---|
| 133 | Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrListIterator<QDockWindow>; | 
|---|
| 134 | Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrList<QDockWindow>; | 
|---|
| 135 | #endif | 
|---|
| 136 |  | 
|---|
| 137 | #if defined(Q_DEFINED_QPTRVECTOR)  && !defined(Q_EXPORTED_QPTRVECTOR_BASIC_TEMPLATES) | 
|---|
| 138 | #define Q_EXPORTED_QPTRVECTOR_BASIC_TEMPLATES | 
|---|
| 139 | Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrVector<int>; | 
|---|
| 140 | #endif | 
|---|
| 141 |  | 
|---|
| 142 | #if defined(Q_DEFINED_QPTRVECTOR) && defined(Q_DEFINED_QSTYLESHEET)  && !defined(Q_EXPORTED_QPTRVECTORSTYLESHEETITEM_TEMPLATES) | 
|---|
| 143 | #define Q_EXPORTED_QPTRVECTORSTYLESHEETITEM_TEMPLATES | 
|---|
| 144 | Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrVector<QStyleSheetItem>; | 
|---|
| 145 | #endif | 
|---|
| 146 |  | 
|---|
| 147 | #if defined(Q_DEFINED_QPTRVECTOR) && defined(Q_DEFINED_QWIDGET)  && !defined(Q_EXPORTED_QPTRVECTORWIDGET_TEMPLATES) | 
|---|
| 148 | #define Q_EXPORTED_QPTRVECTORWIDGET_TEMPLATES | 
|---|
| 149 | Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrVector<QWidget>; | 
|---|
| 150 | #endif | 
|---|
| 151 |  | 
|---|
| 152 | #if defined(Q_DEFINED_QPTRVECTOR) && defined(Q_DEFINED_QCONNECTION_LIST)  && !defined(Q_EXPORTED_QPTRVECTORCONNECTTIONLIST_TEMPLATES) | 
|---|
| 153 | #define Q_EXPORTED_QPTRVECTORCONNECTTIONLIST_TEMPLATES | 
|---|
| 154 | Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrVector<QConnectionList>; | 
|---|
| 155 | #endif | 
|---|
| 156 |  | 
|---|
| 157 | #if defined(Q_DEFINED_QVALUELIST)  && !defined(Q_EXPORTED_QVALUELIST_BASIC_TEMPLATES) | 
|---|
| 158 | #define Q_EXPORTED_QVALUELIST_BASIC_TEMPLATES | 
|---|
| 159 | Q_TEMPLATE_EXTERN template class Q_EXPORT QValueListIterator<bool>; | 
|---|
| 160 | Q_TEMPLATE_EXTERN template class Q_EXPORT QValueList<bool>; | 
|---|
| 161 | Q_TEMPLATE_EXTERN template class Q_EXPORT QValueListIterator<int>; | 
|---|
| 162 | Q_TEMPLATE_EXTERN template class Q_EXPORT QValueList<int>; | 
|---|
| 163 | #endif | 
|---|
| 164 |  | 
|---|
| 165 | #if defined(Q_DEFINED_QVALUELIST) && defined(Q_DEFINED_QRECT)  && !defined(Q_EXPORTED_QVALUELISTRECT_TEMPLATES) | 
|---|
| 166 | #define Q_EXPORTED_QVALUELISTRECT_TEMPLATES | 
|---|
| 167 | Q_TEMPLATE_EXTERN template class Q_EXPORT QValueListIterator<QRect>; | 
|---|
| 168 | Q_TEMPLATE_EXTERN template class Q_EXPORT QValueList<QRect>; | 
|---|
| 169 | #endif | 
|---|
| 170 |  | 
|---|
| 171 | #if defined(Q_DEFINED_QVALUELIST) && defined(Q_DEFINED_QSTRING)  && !defined(Q_EXPORTED_QVALUELISTSTRING_TEMPLATES) | 
|---|
| 172 | #define Q_EXPORTED_QVALUELISTSTRING_TEMPLATES | 
|---|
| 173 | Q_TEMPLATE_EXTERN template class Q_EXPORT QValueListIterator<QString>; | 
|---|
| 174 | Q_TEMPLATE_EXTERN template class Q_EXPORT QValueList<QString>; | 
|---|
| 175 | #endif | 
|---|
| 176 |  | 
|---|
| 177 | // QStylesheet template exports | 
|---|
| 178 | #if defined(Q_DEFINED_QVALUELIST) && defined(Q_DEFINED_QPTRVECTOR) && defined(Q_DEFINED_QSTYLESHEET)  && !defined(Q_EXPORTED_QSTYLESHEETITEM1_TEMPLATES) | 
|---|
| 179 | #define Q_EXPORTED_QSTYLESHEETITEM1_TEMPLATES | 
|---|
| 180 | Q_TEMPLATE_EXTERN template class Q_EXPORT QValueList< QPtrVector< QStyleSheetItem> >; | 
|---|
| 181 | #endif | 
|---|
| 182 |  | 
|---|
| 183 | #if defined(Q_DEFINED_QVALUELIST) && defined(Q_DEFINED_QSTYLESHEET)  && !defined(Q_EXPORTED_QSTYLESHEETITEM2_TEMPLATES) | 
|---|
| 184 | #define Q_EXPORTED_QSTYLESHEETITEM2_TEMPLATES | 
|---|
| 185 | Q_TEMPLATE_EXTERN template class Q_EXPORT QValueList<QStyleSheetItem::ListStyle>; | 
|---|
| 186 | #endif | 
|---|
| 187 |  | 
|---|
| 188 | // qcanvas template exports | 
|---|
| 189 | #if defined(Q_DEFINED_QPTRLIST)  && defined(Q_DEFINED_QCANVAS) && !defined(Q_EXPORTED_QCANVAS1_TEMPLATES) | 
|---|
| 190 | #define Q_EXPORTED_QCANVAS1_TEMPLATES | 
|---|
| 191 | QM_TEMPLATE_EXTERN_CANVAS template class QM_EXPORT_CANVAS QPtrListIterator< QCanvasItem >; | 
|---|
| 192 | QM_TEMPLATE_EXTERN_CANVAS template class QM_EXPORT_CANVAS QPtrList< QCanvasItem >; | 
|---|
| 193 | QM_TEMPLATE_EXTERN_CANVAS template class QM_EXPORT_CANVAS QPtrListIterator< QCanvasView >; | 
|---|
| 194 | QM_TEMPLATE_EXTERN_CANVAS template class QM_EXPORT_CANVAS QPtrList< QCanvasView >; | 
|---|
| 195 | #endif | 
|---|
| 196 |  | 
|---|
| 197 | // qtable template exports | 
|---|
| 198 | #if defined(Q_DEFINED_QPTRLIST) && defined(Q_DEFINED_QTABLE_SELECTION) && !defined(Q_EXPORTED_QTABLESELECTION_TEMPLATES) | 
|---|
| 199 | #define Q_EXPORTED_QTABLESELECTION_TEMPLATES | 
|---|
| 200 | QM_TEMPLATE_EXTERN_TABLE template class QM_EXPORT_TABLE QPtrList<QTableSelection>; | 
|---|
| 201 | #endif | 
|---|
| 202 |  | 
|---|
| 203 | #if defined(Q_DEFINED_QTABLE_ITEM) && defined(Q_DEFINED_QPTRVECTOR) && !defined(Q_EXPORTED_QTABLEITEM_TEMPLATES) | 
|---|
| 204 | #define Q_EXPORTED_QTABLEITEM_TEMPLATES | 
|---|
| 205 | QM_TEMPLATE_EXTERN_TABLE template class QM_EXPORT_TABLE QPtrVector<QTableItem>; | 
|---|
| 206 | #endif | 
|---|
| 207 |  | 
|---|
| 208 | #if defined(Q_DEFINED_QTABLE) && defined(Q_DEFINED_QPTRVECTOR) | 
|---|
| 209 | //Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrVector<QTable>; | 
|---|
| 210 | #endif | 
|---|
| 211 |  | 
|---|
| 212 | // qsqlextension template exports | 
|---|
| 213 | #if defined(Q_DEFINED_QSQLEXTENSION) && defined(Q_DEFINED_QMAP) && defined(Q_DEFINED_QVALUEVECTOR) && defined(Q_DEFINED_QSTRING) && !defined(Q_EXPORTED_QSQLEXTENSION_TEMPLATES) | 
|---|
| 214 | #define Q_EXPORTED_QSQLEXTENSION_TEMPLATES | 
|---|
| 215 | QM_TEMPLATE_EXTERN_SQL template class QM_EXPORT_SQL QMap<QString,Param>; | 
|---|
| 216 | QM_TEMPLATE_EXTERN_SQL template class QM_EXPORT_SQL QValueVector<Holder>; | 
|---|
| 217 | #endif | 
|---|
| 218 |  | 
|---|
| 219 |  | 
|---|
| 220 | // MOC_SKIP_END | 
|---|
| 221 | #endif // template defined | 
|---|