diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-05-12 17:00:15 (GMT) |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2011-05-12 17:00:15 (GMT) |
commit | 7a1c29f101b95c9cc2cb53f8b80d231b5a994a9a (patch) | |
tree | 158ed4b3b1bc9aa34eb7e0597ed48f754facf75d | |
parent | bff68fc7094a50af57f7da23ecf9b25cab00f188 (diff) | |
download | Qt-7a1c29f101b95c9cc2cb53f8b80d231b5a994a9a.zip Qt-7a1c29f101b95c9cc2cb53f8b80d231b5a994a9a.tar.gz Qt-7a1c29f101b95c9cc2cb53f8b80d231b5a994a9a.tar.bz2 |
fix compilation with namespaces
-rw-r--r-- | src/gui/painting/qcosmeticstroker.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/painting/qcosmeticstroker.cpp b/src/gui/painting/qcosmeticstroker.cpp index 24d625e..3ee262f 100644 --- a/src/gui/painting/qcosmeticstroker.cpp +++ b/src/gui/painting/qcosmeticstroker.cpp @@ -150,28 +150,28 @@ static StrokeLine strokeLine(int strokeSelection) switch (strokeSelection) { case Aliased|Solid|RegularDraw: - stroke = &::drawLine<drawPixel, NoDasher>; + stroke = &QT_PREPEND_NAMESPACE(drawLine)<drawPixel, NoDasher>; break; case Aliased|Solid|FastDraw: - stroke = &::drawLine<drawPixelARGB32Opaque, NoDasher>; + stroke = &QT_PREPEND_NAMESPACE(drawLine)<drawPixelARGB32Opaque, NoDasher>; break; case Aliased|Dashed|RegularDraw: - stroke = &::drawLine<drawPixel, Dasher>; + stroke = &QT_PREPEND_NAMESPACE(drawLine)<drawPixel, Dasher>; break; case Aliased|Dashed|FastDraw: - stroke = &::drawLine<drawPixelARGB32Opaque, Dasher>; + stroke = &QT_PREPEND_NAMESPACE(drawLine)<drawPixelARGB32Opaque, Dasher>; break; case AntiAliased|Solid|RegularDraw: - stroke = &drawLineAA<drawPixel, NoDasher>; + stroke = &QT_PREPEND_NAMESPACE(drawLineAA)<drawPixel, NoDasher>; break; case AntiAliased|Solid|FastDraw: - stroke = &drawLineAA<drawPixelARGB32, NoDasher>; + stroke = &QT_PREPEND_NAMESPACE(drawLineAA)<drawPixelARGB32, NoDasher>; break; case AntiAliased|Dashed|RegularDraw: - stroke = &drawLineAA<drawPixel, Dasher>; + stroke = &QT_PREPEND_NAMESPACE(drawLineAA)<drawPixel, Dasher>; break; case AntiAliased|Dashed|FastDraw: - stroke = &drawLineAA<drawPixelARGB32, Dasher>; + stroke = &QT_PREPEND_NAMESPACE(drawLineAA)<drawPixelARGB32, Dasher>; break; default: Q_ASSERT(false); |