summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qwindowsurface.cpp
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2010-06-24 07:32:19 (GMT)
committerJørgen Lind <jorgen.lind@nokia.com>2010-06-24 07:45:33 (GMT)
commit415c1ee359249e3eb44ff56e6078076d6024afeb (patch)
tree91181a663dff5064308e763a24fdb21b0a357775 /src/gui/painting/qwindowsurface.cpp
parent57522c3c389c133343c31770950648c3cf271406 (diff)
downloadQt-415c1ee359249e3eb44ff56e6078076d6024afeb.zip
Qt-415c1ee359249e3eb44ff56e6078076d6024afeb.tar.gz
Qt-415c1ee359249e3eb44ff56e6078076d6024afeb.tar.bz2
Say hello to Q_WS_QPA!
Rename Q_WS_LITE -> Q_WS_QPA
Diffstat (limited to 'src/gui/painting/qwindowsurface.cpp')
-rw-r--r--src/gui/painting/qwindowsurface.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gui/painting/qwindowsurface.cpp b/src/gui/painting/qwindowsurface.cpp
index c42ead0..845cf6d 100644
--- a/src/gui/painting/qwindowsurface.cpp
+++ b/src/gui/painting/qwindowsurface.cpp
@@ -58,11 +58,11 @@ public:
}
QWidget *window;
-#if !defined(Q_WS_LITE)
+#if !defined(Q_WS_QPA)
QRect geometry;
#else
QSize size;
-#endif //Q_WS_LITE
+#endif //Q_WS_QPA
QRegion staticContents;
QList<QImage*> bufferImages;
uint staticContentsSupport : 1;
@@ -157,7 +157,7 @@ void QWindowSurface::endPaint(const QRegion &)
d_ptr->bufferImages.clear();
}
-#if !defined(Q_WS_LITE)
+#if !defined(Q_WS_QPA)
/*!
Sets the currently allocated area to be the given \a rect.
@@ -188,7 +188,7 @@ QSize QWindowSurface::size() const
{
return d_ptr->size;
}
-#endif //Q_WS_LITE
+#endif //Q_WS_QPA
/*!
Scrolls the given \a area \a dx pixels to the right and \a dy
@@ -345,7 +345,7 @@ void QWindowSurface::setPartialUpdateSupport(bool enable)
d_ptr->partialUpdateSupport = enable;
}
-#ifdef Q_WS_LITE
+#ifdef Q_WS_QPA
#define Q_EXPORT_SCROLLRECT Q_GUI_EXPORT
#else
#define Q_EXPORT_SCROLLRECT