Fix ́́macros' function test of tst_headers'

Task-number: QTQAINFRA-324
Change-Id: I3202d9ee42de8174c5170f1b853884b19d5895e3
Reviewed-on: http://codereview.qt-project.org/5925
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
This commit is contained in:
Sergio Ahumada 2011-10-03 13:17:30 +02:00 committed by Qt by Nokia
parent e4207a79d1
commit 9557395c96
6 changed files with 36 additions and 0 deletions

View File

@ -56,8 +56,12 @@
#include <QtGui/qpixmap.h>
#include <QtCore/qatomic.h>
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
QT_MODULE(Gui)
class QImageReader;
class Q_GUI_EXPORT QPlatformPixmap
@ -157,4 +161,6 @@ extern bool qt_xForm_helper(const QTransform&, int, int, int, uchar*, int, int,
QT_END_NAMESPACE
QT_END_HEADER
#endif // QPIXMAPDATA_P_H

View File

@ -44,8 +44,12 @@
#include <QtCore/qglobal.h>
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
QT_MODULE(Gui)
class QMimeData;
class QMouseEvent;
@ -64,4 +68,6 @@ public:
QT_END_NAMESPACE
QT_END_HEADER
#endif

View File

@ -46,6 +46,10 @@
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
QT_MODULE(Gui)
#if 1
#if defined(QT_OPENGL_ES_2)
# if defined(Q_OS_MAC)
@ -71,6 +75,8 @@ typedef GLfloat GLdouble;
#endif
#endif
QT_END_NAMESPACE
QT_END_HEADER
#endif // QOPENGL_H

View File

@ -47,8 +47,12 @@
#include <QtGui/qwindow.h>
#include <QtGui/qregion.h>
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
QT_MODULE(Gui)
class QRegion;
class QRect;
class QPoint;
@ -90,4 +94,6 @@ private:
QT_END_NAMESPACE
QT_END_HEADER
#endif // QBACKINGSTORE_H

View File

@ -47,8 +47,12 @@
#include <QtGui/qwindow.h>
#include <QtGui/qregion.h>
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
QT_MODULE(Gui)
class QRegion;
class QRect;
class QPoint;
@ -83,4 +87,6 @@ private:
QT_END_NAMESPACE
QT_END_HEADER
#endif // QPLATFORMBACKINGSTORE_QPA_H

View File

@ -46,8 +46,12 @@
#include <QtCore/qpointer.h>
#include <QtWidgets/qaction.h>
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
QT_MODULE(Gui)
class QMenuPrivate;
class Q_WIDGETS_EXPORT QPlatformMenuAction
{
@ -85,5 +89,7 @@ public:
QT_END_NAMESPACE
QT_END_HEADER
#endif