diff options
author | Paul Olav Tvete <paul.tvete@nokia.com> | 2010-08-20 08:26:50 (GMT) |
---|---|---|
committer | Paul Olav Tvete <paul.tvete@nokia.com> | 2010-08-20 08:26:50 (GMT) |
commit | 5508ea53b0af0c580dbf7466bf2731dcbad399de (patch) | |
tree | 279a6885ab6415c7a47029d755897903900c534d | |
parent | 872ccdcc090cec252cea2109d2fc9f2f2ee4c795 (diff) | |
download | Qt-5508ea53b0af0c580dbf7466bf2731dcbad399de.zip Qt-5508ea53b0af0c580dbf7466bf2731dcbad399de.tar.gz Qt-5508ea53b0af0c580dbf7466bf2731dcbad399de.tar.bz2 |
Clean up lighthouse header files
Fixes configure warnings
Reviewed-by: Jørgen
-rw-r--r-- | src/corelib/global/qglobal.h | 2 | ||||
-rw-r--r-- | src/corelib/global/qnaclunimplemented.h | 8 | ||||
-rw-r--r-- | src/gui/kernel/qplatformeventloopintegration_qpa.h | 12 | ||||
-rw-r--r-- | src/gui/kernel/qplatformglcontext_qpa.h | 4 | ||||
-rw-r--r-- | src/gui/kernel/qplatformintegration_qpa.h | 3 | ||||
-rw-r--r-- | src/gui/kernel/qplatformwindow_qpa.h | 2 | ||||
-rw-r--r-- | src/gui/kernel/qplatformwindowformat_qpa.h | 4 | ||||
-rw-r--r-- | src/gui/painting/qplatformcursor_qpa.h | 20 |
8 files changed, 43 insertions, 12 deletions
diff --git a/src/corelib/global/qglobal.h b/src/corelib/global/qglobal.h index 2d37a59..4b25503 100644 --- a/src/corelib/global/qglobal.h +++ b/src/corelib/global/qglobal.h @@ -2666,7 +2666,7 @@ QT_LICENSED_MODULE(DBus) #endif #ifdef Q_OS_NACL -#include <qnaclunimplemented.h> +#include <QtCore/qnaclunimplemented.h> #endif QT_END_NAMESPACE diff --git a/src/corelib/global/qnaclunimplemented.h b/src/corelib/global/qnaclunimplemented.h index 84085b5..ba43915 100644 --- a/src/corelib/global/qnaclunimplemented.h +++ b/src/corelib/global/qnaclunimplemented.h @@ -50,6 +50,10 @@ #define PTHREAD_CANCEL_ENABLE 2 #define PTHREAD_INHERIT_SCHED 3 +QT_BEGIN_HEADER + +QT_BEGIN_NAMESPACE + extern "C" { void pthread_cleanup_push(void (*handler)(void *), void *arg); @@ -80,6 +84,10 @@ int open64(const char *path, int oflag, ...); int select(int nfds, fd_set * readfds, fd_set * writefds, fd_set * errorfds, struct timeval * timeout); +QT_END_NAMESPACE + +QT_END_HEADER + #endif //Q_OS_NACL #endif //QNACLUNIMPLEMENTED_H 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 |