Export QTextImageHandler and add accessor for image
authorEskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
Tue, 20 Sep 2011 08:19:18 +0000 (10:19 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 21 Sep 2011 11:46:08 +0000 (13:46 +0200)
commit0992a24653eacf2f32741dce91c54980a7cefe10
treec5c0b5527635ff26f87e0828730c29f30750614c
parentbc60b6787c791be0168820c42febfdb57b5070e0
Export QTextImageHandler and add accessor for image

To allow optimizations in the scene graph, we export the private
QTextImageHandler class and add a function which will fetch
a given image when required, or return the cached image in the
document resources.

Task-number: QTBUG-20917
Change-Id: If45e51b0d9a267bc198623165e7a2cc1fb2b961f
Reviewed-on: http://codereview.qt-project.org/5227
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Jiang Jiang <jiang.jiang@nokia.com>
src/gui/text/qtextimagehandler.cpp
src/gui/text/qtextimagehandler_p.h