From bd0f3345a938b35ce6a12f6150373b0955b8dd12 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 10 Jul 2011 15:24:15 -0500 Subject: Add Qt3 development HEAD version --- src/tools/qwinexport.h | 224 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 224 insertions(+) create mode 100644 src/tools/qwinexport.h (limited to 'src/tools/qwinexport.h') diff --git a/src/tools/qwinexport.h b/src/tools/qwinexport.h new file mode 100644 index 0000000..67c13e9 --- /dev/null +++ b/src/tools/qwinexport.h @@ -0,0 +1,224 @@ +/**************************************************************************** +** +** Global type declarations and definitions +** +** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. +** +** This file is part of the tools module of the Qt GUI Toolkit. +** +** This file may be used under the terms of the GNU General +** Public License versions 2.0 or 3.0 as published by the Free +** Software Foundation and appearing in the files LICENSE.GPL2 +** and LICENSE.GPL3 included in the packaging of this file. +** Alternatively you may (at your option) use any later version +** of the GNU General Public License if such license has been +** publicly approved by Trolltech ASA (or its successors, if any) +** and the KDE Free Qt Foundation. +** +** Please review the following information to ensure GNU General +** Public Licensing requirements will be met: +** http://trolltech.com/products/qt/licenses/licensing/opensource/. +** If you are unsure which license is appropriate for your use, please +** review the following information: +** http://trolltech.com/products/qt/licenses/licensing/licensingoverview +** or contact the sales department at sales@trolltech.com. +** +** This file may be used under the terms of the Q Public License as +** defined by Trolltech ASA and appearing in the file LICENSE.QPL +** included in the packaging of this file. Licensees holding valid Qt +** Commercial licenses may use this file in accordance with the Qt +** Commercial License Agreement provided with the Software. +** +** This file is provided "AS IS" with NO WARRANTY OF ANY KIND, +** INCLUDING THE WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR +** A PARTICULAR PURPOSE. Trolltech reserves all rights not granted +** herein. +** +**********************************************************************/ + +#if defined(Q_TEMPLATEDLL) && ( !defined(Q_CC_BOR) || !defined(QT_MAKEDLL) || defined(Q_EXPORT_TEMPLATES) ) +// MOC_SKIP_BEGIN + +#if defined(Q_DEFINED_QASCIIDICT) && defined(Q_DEFINED_QCONNECTION_LIST) && !defined(Q_EXPORTED_QASCIIDICT_TEMPLATES) +#define Q_EXPORTED_QASCIIDICT_TEMPLATES +Q_TEMPLATE_EXTERN template class Q_EXPORT QAsciiDictIterator; +Q_TEMPLATE_EXTERN template class Q_EXPORT QAsciiDict; +#endif + +#if defined(Q_DEFINED_QSTYLESHEET) && defined(Q_DEFINED_QDICT) && !defined(Q_EXPORTED_QSTYLESHEET_TEMPLATES) +#define Q_EXPORTED_QSTYLESHEET_TEMPLATES +Q_TEMPLATE_EXTERN template class Q_EXPORT QDict; +#endif + +#if defined(Q_DEFINED_QLIBRARY) && defined(Q_DEFINED_QDICT) && !defined(Q_EXPORTED_QDICTLIBRARY_TEMPLATES) +#define Q_EXPORTED_QDICTLIBRARY_TEMPLATES +Q_TEMPLATE_EXTERN template class Q_EXPORT QDict; // for Qtopia +#endif + +#if defined(Q_DEFINED_QGUARDEDPTR) && defined(Q_DEFINED_QOBJECT) && !defined(Q_EXPORTED_QGUARDEDPTROBJECT_TEMPLATES) +#define Q_EXPORTED_QGUARDEDPTROBJECT_TEMPLATES +Q_TEMPLATE_EXTERN template class Q_EXPORT QGuardedPtr; +#endif + +// needed for Qtopia +#if defined(Q_DEFINED_QGUARDEDPTR) && defined(Q_DEFINED_QWIDGET) && !defined(Q_EXPORTED_QGUARDEDPTRQWIDGET_TEMPLATES) +#define Q_EXPORTED_QGUARDEDPTRQWIDGET_TEMPLATES +Q_TEMPLATE_EXTERN template class Q_EXPORT QGuardedPtr; +#endif + +#if defined(Q_DEFINED_QGUARDEDPTR) && defined(Q_DEFINED_QACCESSIBLE_OBJECT) && !defined(Q_EXPORTED_QACCESSIBLEOBJECT_TEMPLATES) +#define Q_EXPORTED_QACCESSIBLEOBJECT_TEMPLATES +Q_TEMPLATE_EXTERN template class Q_EXPORT QGuardedPtr; +#endif + +#if defined(Q_DEFINED_QINTDICT) && !defined(Q_EXPORTED_QINTDICT_TEMPLATES) +#define Q_EXPORTED_QINTDICT_TEMPLATES +Q_TEMPLATE_EXTERN template class Q_EXPORT QIntDict; +#endif + +#if defined(Q_DEFINED_QINTDICT) && defined(Q_DEFINED_QWIDGET) && !defined(Q_EXPORTED__TEMPLATES) +#define Q_EXPORTED__TEMPLATES +Q_TEMPLATE_EXTERN template class Q_EXPORT QIntDictIterator; +Q_TEMPLATE_EXTERN template class Q_EXPORT QIntDict; +#endif + +#if defined(Q_DEFINED_QMAP) && !defined(Q_EXPORTED_QMAPBASIC_TEMPLATES) +#define Q_EXPORTED_QMAPBASIC_TEMPLATES +Q_TEMPLATE_EXTERN template class Q_EXPORT QMap; // for Qtopia +Q_TEMPLATE_EXTERN template class Q_EXPORT QMap; // for Qtopia +#endif + +#if defined(Q_DEFINED_QMAP) && defined(Q_DEFINED_QSTRING) && !defined(Q_EXPORTED_QMAPQSTRING_TEMPLATES) +#define Q_EXPORTED_QMAPQSTRING_TEMPLATES +Q_TEMPLATE_EXTERN template class Q_EXPORT QMap; +Q_TEMPLATE_EXTERN template class Q_EXPORT QMap; // for Qtopia +Q_TEMPLATE_EXTERN template class Q_EXPORT QMap; // for Qtopia +#endif + +#if defined(Q_DEFINED_QMEMARRAY) && !defined(Q_EXPORTED_QMEMARRAY_BASIC_TEMPLATES) +#define Q_EXPORTED_QMEMARRAY_BASIC_TEMPLATES +Q_TEMPLATE_EXTERN template class Q_EXPORT QMemArray; +Q_TEMPLATE_EXTERN template class Q_EXPORT QMemArray; +Q_TEMPLATE_EXTERN template class Q_EXPORT QMemArray; +#endif + +#if defined(Q_DEFINED_QMEMARRAY) && defined(Q_DEFINED_QPOINT) && !defined(Q_EXPORTED_QMEMARAYPOINT_TEMPLATES) +#define Q_EXPORTED_QMEMARAYPOINT_TEMPLATES +Q_TEMPLATE_EXTERN template class Q_EXPORT QMemArray; +#endif + +#if defined(Q_DEFINED_QPTRLIST) && !defined(Q_EXPORTED_QPTRLIST_BASIC_TEMPLATES) +#define Q_EXPORTED_QPTRLIST_BASIC_TEMPLATES +Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrListIterator; +Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrList; +#endif + +#if defined(Q_DEFINED_QPTRLIST) && defined(Q_DEFINED_QWIDGET) && !defined(Q_EXPORTED_QPTRLISTWIDGET_TEMPLATES) +#define Q_EXPORTED_QPTRLISTWIDGET_TEMPLATES +Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrListIterator; +Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrList; +#endif + +#if defined(Q_DEFINED_QPTRLIST) && defined(Q_DEFINED_QCONNECTION) && !defined(Q_EXPORTED_QPTRLISTCONNECTION_TEMPLATES) +#define Q_EXPORTED_QPTRLISTCONNECTION_TEMPLATES +Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrListIterator; +Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrList; +#endif + +#if defined(Q_DEFINED_QPTRLIST) && defined(Q_DEFINED_QOBJECT) && !defined(Q_EXPORTED_QPTRLISTOBJECT_TEMPLATES) +#define Q_EXPORTED_QPTRLISTOBJECT_TEMPLATES +Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrListIterator; +Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrList; +#endif + +#if defined(Q_DEFINED_QPTRLIST) && defined(Q_DEFINED_QDOCKWINDOW) && !defined(Q_EXPORTED_QPTRLISTDOCWINDOW_TEMPLATES) +#define Q_EXPORTED_QPTRLISTDOCWINDOW_TEMPLATES +Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrListIterator; +Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrList; +#endif + +#if defined(Q_DEFINED_QPTRVECTOR) && !defined(Q_EXPORTED_QPTRVECTOR_BASIC_TEMPLATES) +#define Q_EXPORTED_QPTRVECTOR_BASIC_TEMPLATES +Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrVector; +#endif + +#if defined(Q_DEFINED_QPTRVECTOR) && defined(Q_DEFINED_QSTYLESHEET) && !defined(Q_EXPORTED_QPTRVECTORSTYLESHEETITEM_TEMPLATES) +#define Q_EXPORTED_QPTRVECTORSTYLESHEETITEM_TEMPLATES +Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrVector; +#endif + +#if defined(Q_DEFINED_QPTRVECTOR) && defined(Q_DEFINED_QWIDGET) && !defined(Q_EXPORTED_QPTRVECTORWIDGET_TEMPLATES) +#define Q_EXPORTED_QPTRVECTORWIDGET_TEMPLATES +Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrVector; +#endif + +#if defined(Q_DEFINED_QPTRVECTOR) && defined(Q_DEFINED_QCONNECTION_LIST) && !defined(Q_EXPORTED_QPTRVECTORCONNECTTIONLIST_TEMPLATES) +#define Q_EXPORTED_QPTRVECTORCONNECTTIONLIST_TEMPLATES +Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrVector; +#endif + +#if defined(Q_DEFINED_QVALUELIST) && !defined(Q_EXPORTED_QVALUELIST_BASIC_TEMPLATES) +#define Q_EXPORTED_QVALUELIST_BASIC_TEMPLATES +Q_TEMPLATE_EXTERN template class Q_EXPORT QValueListIterator; +Q_TEMPLATE_EXTERN template class Q_EXPORT QValueList; +Q_TEMPLATE_EXTERN template class Q_EXPORT QValueListIterator; +Q_TEMPLATE_EXTERN template class Q_EXPORT QValueList; +#endif + +#if defined(Q_DEFINED_QVALUELIST) && defined(Q_DEFINED_QRECT) && !defined(Q_EXPORTED_QVALUELISTRECT_TEMPLATES) +#define Q_EXPORTED_QVALUELISTRECT_TEMPLATES +Q_TEMPLATE_EXTERN template class Q_EXPORT QValueListIterator; +Q_TEMPLATE_EXTERN template class Q_EXPORT QValueList; +#endif + +#if defined(Q_DEFINED_QVALUELIST) && defined(Q_DEFINED_QSTRING) && !defined(Q_EXPORTED_QVALUELISTSTRING_TEMPLATES) +#define Q_EXPORTED_QVALUELISTSTRING_TEMPLATES +Q_TEMPLATE_EXTERN template class Q_EXPORT QValueListIterator; +Q_TEMPLATE_EXTERN template class Q_EXPORT QValueList; +#endif + +// QStylesheet template exports +#if defined(Q_DEFINED_QVALUELIST) && defined(Q_DEFINED_QPTRVECTOR) && defined(Q_DEFINED_QSTYLESHEET) && !defined(Q_EXPORTED_QSTYLESHEETITEM1_TEMPLATES) +#define Q_EXPORTED_QSTYLESHEETITEM1_TEMPLATES +Q_TEMPLATE_EXTERN template class Q_EXPORT QValueList< QPtrVector< QStyleSheetItem> >; +#endif + +#if defined(Q_DEFINED_QVALUELIST) && defined(Q_DEFINED_QSTYLESHEET) && !defined(Q_EXPORTED_QSTYLESHEETITEM2_TEMPLATES) +#define Q_EXPORTED_QSTYLESHEETITEM2_TEMPLATES +Q_TEMPLATE_EXTERN template class Q_EXPORT QValueList; +#endif + +// qcanvas template exports +#if defined(Q_DEFINED_QPTRLIST) && defined(Q_DEFINED_QCANVAS) && !defined(Q_EXPORTED_QCANVAS1_TEMPLATES) +#define Q_EXPORTED_QCANVAS1_TEMPLATES +QM_TEMPLATE_EXTERN_CANVAS template class QM_EXPORT_CANVAS QPtrListIterator< QCanvasItem >; +QM_TEMPLATE_EXTERN_CANVAS template class QM_EXPORT_CANVAS QPtrList< QCanvasItem >; +QM_TEMPLATE_EXTERN_CANVAS template class QM_EXPORT_CANVAS QPtrListIterator< QCanvasView >; +QM_TEMPLATE_EXTERN_CANVAS template class QM_EXPORT_CANVAS QPtrList< QCanvasView >; +#endif + +// qtable template exports +#if defined(Q_DEFINED_QPTRLIST) && defined(Q_DEFINED_QTABLE_SELECTION) && !defined(Q_EXPORTED_QTABLESELECTION_TEMPLATES) +#define Q_EXPORTED_QTABLESELECTION_TEMPLATES +QM_TEMPLATE_EXTERN_TABLE template class QM_EXPORT_TABLE QPtrList; +#endif + +#if defined(Q_DEFINED_QTABLE_ITEM) && defined(Q_DEFINED_QPTRVECTOR) && !defined(Q_EXPORTED_QTABLEITEM_TEMPLATES) +#define Q_EXPORTED_QTABLEITEM_TEMPLATES +QM_TEMPLATE_EXTERN_TABLE template class QM_EXPORT_TABLE QPtrVector; +#endif + +#if defined(Q_DEFINED_QTABLE) && defined(Q_DEFINED_QPTRVECTOR) +//Q_TEMPLATE_EXTERN template class Q_EXPORT QPtrVector; +#endif + +// qsqlextension template exports +#if defined(Q_DEFINED_QSQLEXTENSION) && defined(Q_DEFINED_QMAP) && defined(Q_DEFINED_QVALUEVECTOR) && defined(Q_DEFINED_QSTRING) && !defined(Q_EXPORTED_QSQLEXTENSION_TEMPLATES) +#define Q_EXPORTED_QSQLEXTENSION_TEMPLATES +QM_TEMPLATE_EXTERN_SQL template class QM_EXPORT_SQL QMap; +QM_TEMPLATE_EXTERN_SQL template class QM_EXPORT_SQL QValueVector; +#endif + + +// MOC_SKIP_END +#endif // template defined -- cgit v1.2.1