aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/items/qsgtext_p_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/items/qsgtext_p_p.h')
-rw-r--r--src/declarative/items/qsgtext_p_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/items/qsgtext_p_p.h b/src/declarative/items/qsgtext_p_p.h
index 6e98d30594..21b9d594af 100644
--- a/src/declarative/items/qsgtext_p_p.h
+++ b/src/declarative/items/qsgtext_p_p.h
@@ -65,6 +65,7 @@
QT_BEGIN_NAMESPACE
class QTextLayout;
+class QDeclarativeTextDocument;
class QSGTextDocumentWithImageResources;
class QSGPlainTexture;
@@ -137,6 +138,7 @@ public:
void drawTextLayout(QPainter *p, const QPointF &pos, bool drawStyle);
QTextLayout layout;
QThread *layoutThread;
+ QDeclarativeTextDocument *textLayout;
static QPixmap drawOutline(const QPixmap &source, const QPixmap &styleSource);
static QPixmap drawOutline(const QPixmap &source, const QPixmap &styleSource, int yOffset);