summaryrefslogtreecommitdiffstats
path: root/src/gui/painting/qpdf.cpp
diff options
context:
space:
mode:
authorJiang Jiang <jiang.jiang@nokia.com>2011-04-05 10:49:33 (GMT)
committerJiang Jiang <jiang.jiang@nokia.com>2011-04-05 10:56:30 (GMT)
commit4dc5dafb4c5185a81446463382e7eab2c3a0b21e (patch)
treeeb25d8d59f6420a7be762ef958221f9f6721d942 /src/gui/painting/qpdf.cpp
parent0e12c56a972320a608bbb8c31b7726674f000bb1 (diff)
downloadQt-4dc5dafb4c5185a81446463382e7eab2c3a0b21e.zip
Qt-4dc5dafb4c5185a81446463382e7eab2c3a0b21e.tar.gz
Qt-4dc5dafb4c5185a81446463382e7eab2c3a0b21e.tar.bz2
Put all the declarations of qt_defaultDpi{,X,Y}() in one place
Reviewed-by: Samuel Rødal
Diffstat (limited to 'src/gui/painting/qpdf.cpp')
-rw-r--r--src/gui/painting/qpdf.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/painting/qpdf.cpp b/src/gui/painting/qpdf.cpp
index bc30038..0271a39 100644
--- a/src/gui/painting/qpdf.cpp
+++ b/src/gui/painting/qpdf.cpp
@@ -47,6 +47,7 @@
#include "private/qcups_p.h"
#include "qprinterinfo.h"
#include <qnumeric.h>
+#include "private/qfont_p.h"
#ifdef Q_OS_UNIX
#include "private/qcore_unix_p.h" // overrides QT_OPEN
@@ -54,8 +55,6 @@
QT_BEGIN_NAMESPACE
-Q_GUI_EXPORT extern int qt_defaultDpi();
-
#ifndef QT_NO_PRINTER
extern QSizeF qt_paperSizeToQSizeF(QPrinter::PaperSize size);