1 /**************************************************************************** 2 ** 3 ** DQt - D bindings for the Qt Toolkit 4 ** 5 ** GNU Lesser General Public License Usage 6 ** This file may be used under the terms of the GNU Lesser 7 ** General Public License version 3 as published by the Free Software 8 ** Foundation and appearing in the file LICENSE.LGPL3 included in the 9 ** packaging of this file. Please review the following information to 10 ** ensure the GNU Lesser General Public License version 3 requirements 11 ** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. 12 ** 13 ****************************************************************************/ 14 module qt.gui.windowdefs; 15 extern(C++): 16 17 import qt.config; 18 import qt.core.global; 19 import qt.core.list; 20 import qt.helpers; 21 22 // Class forward definitions 23 24 /+ class QPaintDevice; 25 class QWidget; +/ 26 extern(C++, class) struct QWindow; 27 /+ class QDialog; 28 class QColor; 29 class QPalette; 30 class QCursor; 31 class QPoint; 32 class QSize; 33 class QRect; 34 class QPolygon; 35 class QPainter; 36 class QRegion; 37 class QFont; 38 class QFontMetrics; 39 class QFontInfo; 40 class QPen; 41 class QBrush; 42 class QMatrix; 43 class QPixmap; 44 class QBitmap; 45 class QMovie; 46 class QImage; 47 class QTimer; 48 class QTime; +/ 49 version(QT_NO_CLIPBOARD) 50 { 51 extern(C++, class) struct QClipboard; 52 } 53 54 /+ class QString; 55 class QByteArray; 56 class QApplication; 57 58 template<typename T> class QList; +/ 59 alias QWindowList = QList!(QWindow*); 60 61 62 // Window system dependent definitions 63 64 65 /+ #if defined(Q_OS_WIN) 66 #endif +/ // Q_OS_WIN 67 68 69 70 71 /+ QT_PREPEND_NAMESPACE(quintptr) +/alias WId = quintptr; 72 73 74 75 76 /+ template<class K, class V> class QHash; 77 typedef QHash<WId, QWidget *> QWidgetMapper; 78 79 template<class V> class QSet; 80 typedef QSet<QWidget *> QWidgetSet; 81 82 83 #if defined(QT_NEEDS_QMAIN) 84 #define main qMain 85 #endif +/ 86 87 // Global platform-independent types and functions 88