summaryrefslogtreecommitdiffstats
path: root/src/gui/painting
diff options
context:
space:
mode:
authorSamuel Rødal <samuel.rodal@nokia.com>2011-07-12 09:49:12 +0200
committerJørgen Lind <jorgen.lind@nokia.com>2011-07-18 10:50:12 +0200
commitbc0a0281d535079745ed1544a063571b86ca718e (patch)
tree8994e4f02518ebb4acc6d4672c942aa276752295 /src/gui/painting
parenta81093b9150b2f1727de6e9e77b8bdddb1c909ee (diff)
Get rid of some obsolete functions in QImage / QPixmap / QPixmapData.
Change-Id: I0d2412c9196475b926a17de9fcc3281f6625fae0 Reviewed-on: http://codereview.qt.nokia.com/1733 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Olivier Goffart <olivier.goffart@nokia.com> Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'src/gui/painting')
-rw-r--r--src/gui/painting/qprintengine_pdf.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/gui/painting/qprintengine_pdf.cpp b/src/gui/painting/qprintengine_pdf.cpp
index 2b0bca8024..4b5d41cf1c 100644
--- a/src/gui/painting/qprintengine_pdf.cpp
+++ b/src/gui/painting/qprintengine_pdf.cpp
@@ -68,9 +68,6 @@
QT_BEGIN_NAMESPACE
-extern qint64 qt_pixmap_id(const QPixmap &pixmap);
-extern qint64 qt_image_id(const QImage &image);
-
//#define FONT_DUMP
// might be helpful for smooth transforms of images
@@ -469,7 +466,7 @@ int QPdfEnginePrivate::addBrushPattern(const QTransform &m, bool *specifyColor,
return 0;
QImage image = brush.texture().toImage();
bool bitmap = true;
- imageObject = addImage(image, &bitmap, qt_pixmap_id(brush.texture()));
+ imageObject = addImage(image, &bitmap, brush.texture().cacheKey());
if (imageObject != -1) {
QImage::Format f = image.format();
if (f != QImage::Format_MonoLSB && f != QImage::Format_Mono) {