Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging

* 'master' of git://scm.dev.nokia.troll.no/qt/qtbase-staging:
  Fix compilation with namespaces enabled
This commit is contained in:
Qt Continuous Integration System 2011-05-13 01:11:57 +10:00
commit d4a649e8b0
2 changed files with 14 additions and 0 deletions

View File

@ -3,6 +3,8 @@
#include <qdebug.h>
#include <math.h>
QT_BEGIN_NAMESPACE
#if 0
inline QString capString(int caps)
{
@ -952,3 +954,5 @@ static void drawLineAA(QCosmeticStroker *stroker, qreal rx1, qreal ry1, qreal rx
}
}
}
QT_END_NAMESPACE

View File

@ -6,6 +6,12 @@
#include <private/qpaintengine_raster_p.h>
#include <qpen.h>
QT_BEGIN_HEADER
QT_BEGIN_NAMESPACE
QT_MODULE(Gui)
class QCosmeticStroker;
@ -98,4 +104,8 @@ public:
bool clipLine(qreal &x1, qreal &y1, qreal &x2, qreal &y2);
};
QT_END_NAMESPACE
QT_END_HEADER
#endif // QCOSMETICLINE_H