summaryrefslogtreecommitdiffstats
path: root/src/gui/image/qpixmap_qws.cpp
diff options
context:
space:
mode:
authorPaul Olav Tvete <paul.tvete@nokia.com>2009-08-26 08:25:19 (GMT)
committerPaul Olav Tvete <paul.tvete@nokia.com>2009-08-26 08:47:37 (GMT)
commit1e87709059dcf10e41c0781d4b97ce143543e4a4 (patch)
tree140d51e62112a67ff0b285b33db6a2d0f994bac9 /src/gui/image/qpixmap_qws.cpp
parente692a4044e161c46e6b145d2f3874a0b7b929b4d (diff)
downloadQt-1e87709059dcf10e41c0781d4b97ce143543e4a4.zip
Qt-1e87709059dcf10e41c0781d4b97ce143543e4a4.tar.gz
Qt-1e87709059dcf10e41c0781d4b97ce143543e4a4.tar.bz2
Make QWS compile with namespaces
Reviewed-by: hjk
Diffstat (limited to 'src/gui/image/qpixmap_qws.cpp')
-rw-r--r--src/gui/image/qpixmap_qws.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/image/qpixmap_qws.cpp b/src/gui/image/qpixmap_qws.cpp
index e549900..a6c70a7 100644
--- a/src/gui/image/qpixmap_qws.cpp
+++ b/src/gui/image/qpixmap_qws.cpp
@@ -48,6 +48,9 @@
#include <private/qdrawhelper_p.h>
#include <private/qpixmap_raster_p.h>
+
+QT_BEGIN_NAMESPACE
+
QPixmap QPixmap::grabWindow(WId window, int x, int y, int w, int h)
{
QWidget *widget = QWidget::find(window);
@@ -148,3 +151,5 @@ int QPixmap::qwsBytesPerLine() const
return 0;
}
+
+QT_END_NAMESPACE