summaryrefslogtreecommitdiffstats
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/kernel/qplatformeventloopintegration_qpa.h12
-rw-r--r--src/gui/kernel/qplatformglcontext_qpa.h4
-rw-r--r--src/gui/kernel/qplatformintegration_qpa.h3
-rw-r--r--src/gui/kernel/qplatformwindow_qpa.h2
-rw-r--r--src/gui/kernel/qplatformwindowformat_qpa.h4
-rw-r--r--src/gui/painting/qplatformcursor_qpa.h20
6 files changed, 34 insertions, 11 deletions
diff --git a/src/gui/kernel/qplatformeventloopintegration_qpa.h b/src/gui/kernel/qplatformeventloopintegration_qpa.h
index 5e4c227..7343566 100644
--- a/src/gui/kernel/qplatformeventloopintegration_qpa.h
+++ b/src/gui/kernel/qplatformeventloopintegration_qpa.h
@@ -1,7 +1,13 @@
#ifndef QPLATFORMEVENTLOOPINTEGRATION_QPA_H
#define QPLATFORMEVENTLOOPINTEGRATION_QPA_H
-#include <qglobal.h>
+#include <QtCore/qglobal.h>
+
+QT_BEGIN_HEADER
+
+QT_BEGIN_NAMESPACE
+
+QT_MODULE(Gui)
class QPlatformEventLoopIntegration
{
@@ -10,4 +16,8 @@ public:
virtual void wakeup() = 0;
};
+QT_END_NAMESPACE
+
+QT_END_HEADER
+
#endif // QPLATFORMEVENTLOOPINTEGRATION_QPA_H
diff --git a/src/gui/kernel/qplatformglcontext_qpa.h b/src/gui/kernel/qplatformglcontext_qpa.h
index ff848ed..ed41723 100644
--- a/src/gui/kernel/qplatformglcontext_qpa.h
+++ b/src/gui/kernel/qplatformglcontext_qpa.h
@@ -43,12 +43,14 @@
#define QPLATFORM_GL_CONTEXT_H
#include <QtCore/qnamespace.h>
-#include <QPlatformWindowFormat>
+#include <QtGui/QPlatformWindowFormat>
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
+QT_MODULE(Gui)
+
class Q_OPENGL_EXPORT QPlatformGLContext
{
public:
diff --git a/src/gui/kernel/qplatformintegration_qpa.h b/src/gui/kernel/qplatformintegration_qpa.h
index 8cecbb4..9460910 100644
--- a/src/gui/kernel/qplatformintegration_qpa.h
+++ b/src/gui/kernel/qplatformintegration_qpa.h
@@ -51,7 +51,8 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
-//QT_MODULE(Gui)
+QT_MODULE(Gui)
+
class QPlatformWindow;
class QWindowSurface;
class QBlittable;
diff --git a/src/gui/kernel/qplatformwindow_qpa.h b/src/gui/kernel/qplatformwindow_qpa.h
index 2275c02..6dfba05 100644
--- a/src/gui/kernel/qplatformwindow_qpa.h
+++ b/src/gui/kernel/qplatformwindow_qpa.h
@@ -52,6 +52,8 @@ QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
+QT_MODULE(Gui)
+
class QPlatformWindowPrivate;
class QWidget;
class QPlatformGLContext;
diff --git a/src/gui/kernel/qplatformwindowformat_qpa.h b/src/gui/kernel/qplatformwindowformat_qpa.h
index 075e796..63df76a 100644
--- a/src/gui/kernel/qplatformwindowformat_qpa.h
+++ b/src/gui/kernel/qplatformwindowformat_qpa.h
@@ -41,12 +41,14 @@
#ifndef QPLATFORMWINDOWFORMAT_QPA_H
#define QPLATFORMWINDOWFORMAT_QPA_H
-#include <QPlatformWindow>
+#include <QtGui/QPlatformWindow>
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
+QT_MODULE(Gui)
+
class QPlatformWindowFormatPrivate;
class Q_GUI_EXPORT QPlatformWindowFormat
diff --git a/src/gui/painting/qplatformcursor_qpa.h b/src/gui/painting/qplatformcursor_qpa.h
index 5f1654d..abdbfee 100644
--- a/src/gui/painting/qplatformcursor_qpa.h
+++ b/src/gui/painting/qplatformcursor_qpa.h
@@ -41,16 +41,20 @@
#ifndef QGRAPHICSSYSTEMCURSOR_H
#define QGRAPHICSSYSTEMCURSOR_H
-#include <QList>
-#include <QImage>
-#include <QMouseEvent>
-#include <QWeakPointer>
-#include <QObject>
-#include <QPlatformScreen>
-#include <QCursor>
+#include <QtCore/QList>
+#include <QtGui/QImage>
+#include <QtGui/QMouseEvent>
+#include <QtCore/QWeakPointer>
+#include <QtCore/QObject>
+#include <QtGui/QPlatformScreen>
+#include <QtGui/QCursor>
+
+QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
+QT_MODULE(Gui)
+
// Cursor graphics management
class Q_GUI_EXPORT QPlatformCursorImage {
public:
@@ -94,4 +98,6 @@ private:
QT_END_NAMESPACE
+QT_END_HEADER
+
#endif // QGRAPHICSSYSTEMCURSOR_H