summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qfont.cpp
diff options
context:
space:
mode:
authorJørgen Lind <jorgen.lind@nokia.com>2010-06-24 09:32:19 +0200
committerJørgen Lind <jorgen.lind@nokia.com>2010-06-24 09:45:33 +0200
commit415c1ee359249e3eb44ff56e6078076d6024afeb (patch)
tree91181a663dff5064308e763a24fdb21b0a357775 /src/gui/text/qfont.cpp
parent57522c3c389c133343c31770950648c3cf271406 (diff)
Say hello to Q_WS_QPA!
Rename Q_WS_LITE -> Q_WS_QPA
Diffstat (limited to 'src/gui/text/qfont.cpp')
-rw-r--r--src/gui/text/qfont.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/text/qfont.cpp b/src/gui/text/qfont.cpp
index bfd4ee9673..3861196473 100644
--- a/src/gui/text/qfont.cpp
+++ b/src/gui/text/qfont.cpp
@@ -75,7 +75,7 @@
#ifdef Q_OS_SYMBIAN
#include <private/qt_s60_p.h>
#endif
-#ifdef Q_WS_LITE
+#ifdef Q_WS_QPA
#include <QtGui/qplatformscreen_lite.h>
#include <QtGui/private/qapplication_p.h>
#endif
@@ -176,7 +176,7 @@ Q_GUI_EXPORT int qt_defaultDpiX()
if (!subScreens.isEmpty())
screen = subScreens.at(0);
dpi = qRound(screen->width() / (screen->physicalWidth() / qreal(25.4)));
-#elif defined(Q_WS_LITE)
+#elif defined(Q_WS_QPA)
QPlatformIntegration *pi = QApplicationPrivate::platformIntegration();
if (pi) {
QPlatformScreen *screen = QApplicationPrivate::platformIntegration()->screens().at(0);
@@ -215,7 +215,7 @@ Q_GUI_EXPORT int qt_defaultDpiY()
if (!subScreens.isEmpty())
screen = subScreens.at(0);
dpi = qRound(screen->height() / (screen->physicalHeight() / qreal(25.4)));
-#elif defined(Q_WS_LITE)
+#elif defined(Q_WS_QPA)
QPlatformIntegration *pi = QApplicationPrivate::platformIntegration();
if (pi) {
QPlatformScreen *screen = QApplicationPrivate::platformIntegration()->screens().at(0);