summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtextengine_p.h
diff options
context:
space:
mode:
authorKonstantin Ritt <ritt.ks@gmail.com>2014-01-30 02:01:39 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-01-31 00:24:48 +0100
commit16af55dda11a770bdb53afd46dfc67acbc7d3f0d (patch)
tree7a913152afcdf89c912fad3bbac482c61daca398 /src/gui/text/qtextengine_p.h
parentf26928cccf7e0fd9f06236476f2a6b52151e5dca (diff)
QTextEngine: Make FontEngineCache inaccessible from outside
This is really an implementation detail and shouldn't be accessible in any way. Change-Id: Icd9f2ea6f9a1d5ebd613ce65eebe2823301f87ea Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/gui/text/qtextengine_p.h')
-rw-r--r--src/gui/text/qtextengine_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/text/qtextengine_p.h b/src/gui/text/qtextengine_p.h
index fce2bd808d..d399123609 100644
--- a/src/gui/text/qtextengine_p.h
+++ b/src/gui/text/qtextengine_p.h
@@ -543,6 +543,7 @@ public:
mutable QScriptLineArray lines;
+private:
struct FontEngineCache {
FontEngineCache();
mutable QFontEngine *prevFontEngine;
@@ -560,6 +561,7 @@ public:
};
mutable FontEngineCache feCache;
+public:
QString text;
mutable QFont fnt;
#ifndef QT_NO_RAWFONT