Eneboo - Documentación para desarrolladores
|
00001 /**************************************************************************** 00002 ** $Id: qt/qwinexport.h 3.3.8 edited Jan 11 14:38 $ 00003 ** 00004 ** Global type declarations and definitions 00005 ** 00006 ** Copyright (C) 1992-2007 Trolltech ASA. All rights reserved. 00007 ** 00008 ** This file is part of the tools module of the Qt GUI Toolkit. 00009 ** 00010 ** This file may be distributed under the terms of the Q Public License 00011 ** as defined by Trolltech ASA of Norway and appearing in the file 00012 ** LICENSE.QPL included in the packaging of this file. 00013 ** 00014 ** This file may be distributed and/or modified under the terms of the 00015 ** GNU General Public License version 2 as published by the Free Software 00016 ** Foundation and appearing in the file LICENSE.GPL included in the 00017 ** packaging of this file. 00018 ** 00019 ** Licensees holding valid Qt Enterprise Edition or Qt Professional Edition 00020 ** licenses may use this file in accordance with the Qt Commercial License 00021 ** Agreement provided with the Software. 00022 ** 00023 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE 00024 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 00025 ** 00026 ** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for 00027 ** information about Qt Commercial License Agreements. 00028 ** See http://www.trolltech.com/qpl/ for QPL licensing information. 00029 ** See http://www.trolltech.com/gpl/ for GPL licensing information. 00030 ** 00031 ** Contact info@trolltech.com if any conditions of this licensing are 00032 ** not clear to you. 00033 ** 00034 **********************************************************************/ 00035 00036 #if defined(Q_TEMPLATEDLL) && ( !defined(Q_CC_BOR) || !defined(QT_MAKEDLL) || defined(Q_EXPORT_TEMPLATES) ) 00037 // MOC_SKIP_BEGIN 00038 00039 #if defined(Q_DEFINED_QASCIIDICT) && defined(Q_DEFINED_QCONNECTION_LIST) && !defined(Q_EXPORTED_QASCIIDICT_TEMPLATES) 00040 #define Q_EXPORTED_QASCIIDICT_TEMPLATES 00041 Q_TEMPLATE_EXTERN template class Q_EXPORT QAsciiDictIterator<QConnectionList>; 00042 Q_TEMPLATE_EXTERN template class Q_EXPORT QAsciiDict<QConnectionList>; 00043 #endif 00044 00045 #if defined(Q_DEFINED_QSTYLESHEET) && defined(Q_DEFINED_QDICT) && !defined(Q_EXPORTED_QSTYLESHEET_TEMPLATES) 00046 #define Q_EXPORTED_QSTYLESHEET_TEMPLATES 00047 Q_TEMPLATE_EXTERN template class Q_EXPORT QDict<QStyleSheetItem>; 00048 #endif 00049 00050 #if defined(Q_DEFINED_QLIBRARY) && defined(Q_DEFINED_QDICT) && !defined(Q_EXPORTED_QDICTLIBRARY_TEMPLATES) 00051 #define Q_EXPORTED_QDICTLIBRARY_TEMPLATES 00052 Q_TEMPLATE_EXTERN template class Q_EXPORT QDict<QLibrary>; // for Qtopia 00053 #endif 00054 00055 #if defined(Q_DEFINED_QGUARDEDPTR) && defined(Q_DEFINED_QOBJECT) && !defined(Q_EXPORTED_QGUARDEDPTROBJECT_TEMPLATES) 00056 #define Q_EXPORTED_QGUARDEDPTROBJECT_TEMPLATES 00057 Q_TEMPLATE_EXTERN template class Q_EXPORT QGuardedPtr<QObject>; 00058 #endif 00059 00060 // needed for Qtopia 00061 #if defined(Q_DEFINED_QGUARDEDPTR) && defined(Q_DEFINED_QWIDGET) && !defined(Q_EXPORTED_QGUARDEDPTRQWIDGET_TEMPLATES) 00062 #define Q_EXPORTED_QGUARDEDPTRQWIDGET_TEMPLATES 00063 Q_TEMPLATE_EXTERN template class Q_EXPORT QGuardedPtr<QWidget>; 00064 #endif 00065 00066 #if defined(Q_DEFINED_QGUARDEDPTR) && defined(Q_DEFINED_QACCESSIBLE_OBJECT) && !defined(Q_EXPORTED_QACCESSIBLEOBJECT_TEMPLATES) 00067 #define Q_EXPORTED_QACCESSIBLEOBJECT_TEMPLATES 00068 Q_TEMPLATE_EXTERN template class Q_EXPORT QGuardedPtr<QAccessibleObject>; 00069 #endif 00070 00071 #if defined(Q_DEFINED_QINTDICT) && !defined(Q_EXPORTED_QINTDICT_TEMPLATES) 00072 #define Q_EXPORTED_QINTDICT_TEMPLATES 00073 Q_TEMPLATE_EXTERN template class Q_EXPORT QIntDict<int>; 00074 #endif 00075 00076 #if defined(Q_DEFINED_QINTDICT) && defined(Q_DEFINED_QWIDGET) && !defined(Q_EXPORTED__TEMPLATES) 00077 #define Q_EXPORTED__TEMPLATES 00078 Q_TEMPLATE_EXTERN template class Q_EXPORT QIntDictIterator<QWidget>; 00079 Q_TEMPLATE_EXTERN template class Q_EXPORT QIntDict<QWidget>; 00080 #endif 00081 00082 #if defined(Q_DEFINED_QMAP) && !defined(Q_EXPORTED_QMAPBASIC_TEMPLATES) 00083 #define Q_EXPORTED_QMAPBASIC_TEMPLATES 00084 Q_TEMPLATE_EXTERN template class Q_EXPORT QMap<int, int>; // for Qtopia 00085 Q_TEMPLATE_EXTERN template class Q_EXPORT QMap<int, bool>; // for Qtopia 00086 #endif 00087 00088 #if defined(Q_DEFINED_QMAP) && defined(Q_DEFINED_QSTRING) && !defined(Q_EXPORTED_QMAPQSTRING_TEMPLATES) 00089 #define Q_EXPORTED_QMAPQSTRING_TEMPLATES 00090 Q_TEMPLATE_EXTERN template class Q_EXPORT QMap<QString, QString>; 00091 Q_TEMPLATE_EXTERN template class Q_EXPORT QMap<QString, int>; // for Qtopia 00092 Q_TEMPLATE_EXTERN template class Q_EXPORT QMap<int, QString>; // for Qtopia 00093 #endif 00094 00095 #if defined(Q_DEFINED_QMEMARRAY) && !defined(Q_EXPORTED_QMEMARRAY_BASIC_TEMPLATES) 00096 #define Q_EXPORTED_QMEMARRAY_BASIC_TEMPLATES 00097 Q_TEMPLATE_EXTERN template class Q_EXPORT QMemArray<int>; 00098 Q_TEMPLATE_EXTERN template class Q_EXPORT QMemArray<bool>; 00099 Q_TEMPLATE_EXTERN template class Q_EXPORT QMemArray<char>; 00100 #endif 00101 00102 #if defined(Q_DEFINED_QMEMARRAY) && defined(Q_DEFINED_QPOINT) && !defined(Q_EXPORTED_QMEMARAYPOINT_TEMPLATES) 00103 #define Q_EXPORTED_QMEMARAYPOINT_TEMPLATES 00104 Q_TEMPLATE_EXTERN template class Q_EXPORT QMemArray<QPoint>; 00105 #endif 00106 00107 #if defined(Q_DEFINED_QPTRLIST) && !defined(Q_EXPORTED_QPTRLIST_BASIC_TEMPLATES) 00108 #define Q_EXPORTED_QPTRLIST_BASIC_TEMPLATES 00109 Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrListIterator<char>; 00110 Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrList<char>; 00111 #endif 00112 00113 #if defined(Q_DEFINED_QPTRLIST) && defined(Q_DEFINED_QWIDGET) && !defined(Q_EXPORTED_QPTRLISTWIDGET_TEMPLATES) 00114 #define Q_EXPORTED_QPTRLISTWIDGET_TEMPLATES 00115 Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrListIterator<QWidget>; 00116 Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrList<QWidget>; 00117 #endif 00118 00119 #if defined(Q_DEFINED_QPTRLIST) && defined(Q_DEFINED_QCONNECTION) && !defined(Q_EXPORTED_QPTRLISTCONNECTION_TEMPLATES) 00120 #define Q_EXPORTED_QPTRLISTCONNECTION_TEMPLATES 00121 Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrListIterator<QConnection>; 00122 Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrList<QConnection>; 00123 #endif 00124 00125 #if defined(Q_DEFINED_QPTRLIST) && defined(Q_DEFINED_QOBJECT) && !defined(Q_EXPORTED_QPTRLISTOBJECT_TEMPLATES) 00126 #define Q_EXPORTED_QPTRLISTOBJECT_TEMPLATES 00127 Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrListIterator<QObject>; 00128 Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrList<QObject>; 00129 #endif 00130 00131 #if defined(Q_DEFINED_QPTRLIST) && defined(Q_DEFINED_QDOCKWINDOW) && !defined(Q_EXPORTED_QPTRLISTDOCWINDOW_TEMPLATES) 00132 #define Q_EXPORTED_QPTRLISTDOCWINDOW_TEMPLATES 00133 Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrListIterator<QDockWindow>; 00134 Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrList<QDockWindow>; 00135 #endif 00136 00137 #if defined(Q_DEFINED_QPTRVECTOR) && !defined(Q_EXPORTED_QPTRVECTOR_BASIC_TEMPLATES) 00138 #define Q_EXPORTED_QPTRVECTOR_BASIC_TEMPLATES 00139 Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrVector<int>; 00140 #endif 00141 00142 #if defined(Q_DEFINED_QPTRVECTOR) && defined(Q_DEFINED_QSTYLESHEET) && !defined(Q_EXPORTED_QPTRVECTORSTYLESHEETITEM_TEMPLATES) 00143 #define Q_EXPORTED_QPTRVECTORSTYLESHEETITEM_TEMPLATES 00144 Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrVector<QStyleSheetItem>; 00145 #endif 00146 00147 #if defined(Q_DEFINED_QPTRVECTOR) && defined(Q_DEFINED_QWIDGET) && !defined(Q_EXPORTED_QPTRVECTORWIDGET_TEMPLATES) 00148 #define Q_EXPORTED_QPTRVECTORWIDGET_TEMPLATES 00149 Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrVector<QWidget>; 00150 #endif 00151 00152 #if defined(Q_DEFINED_QPTRVECTOR) && defined(Q_DEFINED_QCONNECTION_LIST) && !defined(Q_EXPORTED_QPTRVECTORCONNECTTIONLIST_TEMPLATES) 00153 #define Q_EXPORTED_QPTRVECTORCONNECTTIONLIST_TEMPLATES 00154 Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrVector<QConnectionList>; 00155 #endif 00156 00157 #if defined(Q_DEFINED_QVALUELIST) && !defined(Q_EXPORTED_QVALUELIST_BASIC_TEMPLATES) 00158 #define Q_EXPORTED_QVALUELIST_BASIC_TEMPLATES 00159 Q_TEMPLATE_EXTERN template class Q_EXPORT QValueListIterator<bool>; 00160 Q_TEMPLATE_EXTERN template class Q_EXPORT QValueList<bool>; 00161 Q_TEMPLATE_EXTERN template class Q_EXPORT QValueListIterator<int>; 00162 Q_TEMPLATE_EXTERN template class Q_EXPORT QValueList<int>; 00163 #endif 00164 00165 #if defined(Q_DEFINED_QVALUELIST) && defined(Q_DEFINED_QRECT) && !defined(Q_EXPORTED_QVALUELISTRECT_TEMPLATES) 00166 #define Q_EXPORTED_QVALUELISTRECT_TEMPLATES 00167 Q_TEMPLATE_EXTERN template class Q_EXPORT QValueListIterator<QRect>; 00168 Q_TEMPLATE_EXTERN template class Q_EXPORT QValueList<QRect>; 00169 #endif 00170 00171 #if defined(Q_DEFINED_QVALUELIST) && defined(Q_DEFINED_QSTRING) && !defined(Q_EXPORTED_QVALUELISTSTRING_TEMPLATES) 00172 #define Q_EXPORTED_QVALUELISTSTRING_TEMPLATES 00173 Q_TEMPLATE_EXTERN template class Q_EXPORT QValueListIterator<QString>; 00174 Q_TEMPLATE_EXTERN template class Q_EXPORT QValueList<QString>; 00175 #endif 00176 00177 // QStylesheet template exports 00178 #if defined(Q_DEFINED_QVALUELIST) && defined(Q_DEFINED_QPTRVECTOR) && defined(Q_DEFINED_QSTYLESHEET) && !defined(Q_EXPORTED_QSTYLESHEETITEM1_TEMPLATES) 00179 #define Q_EXPORTED_QSTYLESHEETITEM1_TEMPLATES 00180 Q_TEMPLATE_EXTERN template class Q_EXPORT QValueList< QPtrVector< QStyleSheetItem> >; 00181 #endif 00182 00183 #if defined(Q_DEFINED_QVALUELIST) && defined(Q_DEFINED_QSTYLESHEET) && !defined(Q_EXPORTED_QSTYLESHEETITEM2_TEMPLATES) 00184 #define Q_EXPORTED_QSTYLESHEETITEM2_TEMPLATES 00185 Q_TEMPLATE_EXTERN template class Q_EXPORT QValueList<QStyleSheetItem::ListStyle>; 00186 #endif 00187 00188 // qcanvas template exports 00189 #if defined(Q_DEFINED_QPTRLIST) && defined(Q_DEFINED_QCANVAS) && !defined(Q_EXPORTED_QCANVAS1_TEMPLATES) 00190 #define Q_EXPORTED_QCANVAS1_TEMPLATES 00191 QM_TEMPLATE_EXTERN_CANVAS template class QM_EXPORT_CANVAS QPtrListIterator< QCanvasItem >; 00192 QM_TEMPLATE_EXTERN_CANVAS template class QM_EXPORT_CANVAS QPtrList< QCanvasItem >; 00193 QM_TEMPLATE_EXTERN_CANVAS template class QM_EXPORT_CANVAS QPtrListIterator< QCanvasView >; 00194 QM_TEMPLATE_EXTERN_CANVAS template class QM_EXPORT_CANVAS QPtrList< QCanvasView >; 00195 #endif 00196 00197 // qtable template exports 00198 #if defined(Q_DEFINED_QPTRLIST) && defined(Q_DEFINED_QTABLE_SELECTION) && !defined(Q_EXPORTED_QTABLESELECTION_TEMPLATES) 00199 #define Q_EXPORTED_QTABLESELECTION_TEMPLATES 00200 QM_TEMPLATE_EXTERN_TABLE template class QM_EXPORT_TABLE QPtrList<QTableSelection>; 00201 #endif 00202 00203 #if defined(Q_DEFINED_QTABLE_ITEM) && defined(Q_DEFINED_QPTRVECTOR) && !defined(Q_EXPORTED_QTABLEITEM_TEMPLATES) 00204 #define Q_EXPORTED_QTABLEITEM_TEMPLATES 00205 QM_TEMPLATE_EXTERN_TABLE template class QM_EXPORT_TABLE QPtrVector<QTableItem>; 00206 #endif 00207 00208 #if defined(Q_DEFINED_QTABLE) && defined(Q_DEFINED_QPTRVECTOR) 00209 //Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrVector<QTable>; 00210 #endif 00211 00212 // qsqlextension template exports 00213 #if defined(Q_DEFINED_QSQLEXTENSION) && defined(Q_DEFINED_QMAP) && defined(Q_DEFINED_QVALUEVECTOR) && defined(Q_DEFINED_QSTRING) && !defined(Q_EXPORTED_QSQLEXTENSION_TEMPLATES) 00214 #define Q_EXPORTED_QSQLEXTENSION_TEMPLATES 00215 QM_TEMPLATE_EXTERN_SQL template class QM_EXPORT_SQL QMap<QString,Param>; 00216 QM_TEMPLATE_EXTERN_SQL template class QM_EXPORT_SQL QValueVector<Holder>; 00217 #endif 00218 00219 00220 // MOC_SKIP_END 00221 #endif // template defined