1 | // Copyright (C) 2016 The Qt Company Ltd. |
---|---|
2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
3 | |
4 | #ifndef QWINDOWDEFS_H |
5 | #define QWINDOWDEFS_H |
6 | |
7 | #include <QtGui/qtguiglobal.h> |
8 | #include <QtCore/qobjectdefs.h> |
9 | #include <QtCore/qnamespace.h> |
10 | #include <QtCore/qcontainerfwd.h> |
11 | |
12 | QT_BEGIN_NAMESPACE |
13 | |
14 | |
15 | // Class forward definitions |
16 | |
17 | class QPaintDevice; |
18 | class QWidget; |
19 | class QWindow; |
20 | class QDialog; |
21 | class QColor; |
22 | class QPalette; |
23 | class QCursor; |
24 | class QPoint; |
25 | class QSize; |
26 | class QRect; |
27 | class QPolygon; |
28 | class QPainter; |
29 | class QRegion; |
30 | class QFont; |
31 | class QFontMetrics; |
32 | class QFontInfo; |
33 | class QPen; |
34 | class QBrush; |
35 | class QPixmap; |
36 | class QBitmap; |
37 | class QMovie; |
38 | class QImage; |
39 | class QPicture; |
40 | class QTimer; |
41 | class QTime; |
42 | class QClipboard; |
43 | class QString; |
44 | class QByteArray; |
45 | class QApplication; |
46 | |
47 | typedef QList<QWidget *> QWidgetList; |
48 | typedef QList<QWindow *> QWindowList; |
49 | |
50 | QT_END_NAMESPACE |
51 | |
52 | // Window system dependent definitions |
53 | |
54 | |
55 | #if defined(Q_OS_WIN) || defined(Q_QDOC) |
56 | # include <QtGui/qwindowdefs_win.h> |
57 | #endif // Q_OS_WIN |
58 | |
59 | |
60 | |
61 | |
62 | typedef QT_PREPEND_NAMESPACE(quintptr) WId; |
63 | |
64 | |
65 | |
66 | QT_BEGIN_NAMESPACE |
67 | |
68 | typedef QHash<WId, QWidget *> QWidgetMapper; |
69 | typedef QSet<QWidget *> QWidgetSet; |
70 | |
71 | QT_END_NAMESPACE |
72 | |
73 | #if defined(QT_NEEDS_QMAIN) |
74 | #define main qMain |
75 | #endif |
76 | |
77 | // Global platform-independent types and functions |
78 | |
79 | #endif // QWINDOWDEFS_H |
80 |