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>
bb10
Konstantin Ritt 2014-01-30 02:01:39 +02:00 committed by The Qt Project
parent f26928cccf
commit 16af55dda1
1 changed files with 2 additions and 0 deletions

View File

@ -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