1
/****************************************************************************
3
** Copyright (C) 1992-2005 Trolltech AS. All rights reserved.
5
** This file is part of the gui module of the Qt Toolkit.
7
** This file may be distributed under the terms of the Q Public License
8
** as defined by Trolltech AS of Norway and appearing in the file
9
** LICENSE.QPL included in the packaging of this file.
11
** This file may be distributed and/or modified under the terms of the
12
** GNU General Public License version 2 as published by the Free Software
13
** Foundation and appearing in the file LICENSE.GPL included in the
14
** packaging of this file.
16
** See http://www.trolltech.com/pricing.html or email sales@trolltech.com for
17
** information about Qt Commercial License Agreements.
18
** See http://www.trolltech.com/qpl/ for QPL licensing information.
19
** See http://www.trolltech.com/gpl/ for GPL licensing information.
21
** Contact info@trolltech.com if any conditions of this licensing are
24
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
25
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
27
****************************************************************************/
32
#include "QtCore/qobjectdefs.h"
33
#include "QtCore/qnamespace.h"
35
// Class forward definitions
71
template<typename T> class QList;
72
typedef QList<QWidget *> QWidgetList;
74
// Window system dependent definitions
77
#if (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_2)
78
typedef struct OpaqueEventLoopTimerRef* EventLoopTimerRef;
79
typedef struct OpaqueMenuHandle *MenuRef;
81
typedef struct __EventLoopTimer *EventLoopTimerRef;
82
typedef struct OpaqueMenuRef *MenuRef;
84
typedef char **MenuBarHandle;
85
typedef struct OpaqueDragRef *DragRef;
86
typedef struct OpaqueControlRef* ControlRef;
87
typedef ControlRef HIViewRef;
88
typedef struct CGImage *CGImageRef;
89
typedef struct CGContext *CGContextRef;
90
typedef struct OpaqueIconRef *IconRef;
91
typedef struct OpaqueWindowGroupRef *WindowGroupRef;
92
typedef struct OpaqueGrafPtr *CGrafPtr;
93
typedef struct OpaquePMPrintSession *PMPrintSession;
94
typedef struct OpaquePMPrintSettings *PMPrintSettings;
95
typedef struct OpaquePMPageFormat *PMPageFormat;
96
typedef struct OpaqueEventHandlerRef *EventHandlerRef;
97
typedef struct OpaqueEventHandlerCallRef *EventHandlerCallRef;
98
typedef struct OpaqueEventRef *EventRef;
99
typedef long int OSStatus;
100
typedef struct OpaqueScrapRef *ScrapRef;
101
typedef struct OpaqueRgnHandle *RgnHandle;
102
typedef struct OpaqueWindowPtr *WindowPtr;
103
typedef WindowPtr WindowRef;
104
typedef struct OpaqueGrafPtr *GWorldPtr;
105
typedef GWorldPtr GrafPtr;
106
typedef struct GDevice **GDHandle;
109
typedef struct AEDesc AppleEvent;
112
#if defined(Q_WS_WIN)
113
#include "QtGui/qwindowdefs_win.h"
117
#if defined(Q_OS_TEMP)
118
#include "qwinfunctions_wce.h"
121
#if defined(Q_WS_X11)
123
typedef struct _XDisplay Display;
124
typedef union _XEvent XEvent;
125
typedef struct _XGC *GC;
126
typedef struct _XRegion *Region;
127
typedef unsigned long WId;
131
#if defined(Q_WS_QWS)
133
typedef unsigned long WId;
138
template<class K, class V> class QHash;
139
typedef QHash<WId, QWidget *> QWidgetMapper;
141
#if defined(QT_NEEDS_QMAIN)
145
// Global platform-independent types and functions
147
#endif // QWINDOWDEFS_H