summaryrefslogtreecommitdiffstats
path: root/src/gui/text/qtextengine_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/text/qtextengine_p.h')
-rw-r--r--src/gui/text/qtextengine_p.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/gui/text/qtextengine_p.h b/src/gui/text/qtextengine_p.h
index 347b71e..f36cbd2 100644
--- a/src/gui/text/qtextengine_p.h
+++ b/src/gui/text/qtextengine_p.h
@@ -262,8 +262,6 @@ struct QGlyphLayout
}
void grow(char *address, int totalGlyphs);
-
- QGlyphLayout clone(char *address) const;
};
class QVarLengthGlyphLayoutArray : private QVarLengthArray<void *>, public QGlyphLayout
@@ -312,19 +310,12 @@ public:
: justified(false), underlineStyle(QTextCharFormat::NoUnderline), num_chars(0), chars(0),
logClusters(0), f(0), fontEngine(0)
{}
-
- QTextItemInt(const QTextItemInt &other);
QTextItemInt(const QScriptItem &si, QFont *font, const QTextCharFormat &format = QTextCharFormat());
- void init(const QScriptItem &si, QFont *font, const QTextCharFormat &format = QTextCharFormat());
-
- QTextItemInt clone(char *glyphLayoutMemory, unsigned short *logClusterMemory) const;
/// copy the structure items, adjusting the glyphs arrays to the right subarrays.
/// the width of the returned QTextItemInt is not adjusted, for speed reasons
QTextItemInt midItem(QFontEngine *fontEngine, int firstGlyphIndex, int numGlyphs) const;
- QTextItemInt &operator=(const QTextItemInt &other);
-
QFixed descent;
QFixed ascent;
QFixed width;
@@ -332,7 +323,7 @@ public:
RenderFlags flags;
bool justified;
QTextCharFormat::UnderlineStyle underlineStyle;
- QTextCharFormat charFormat;
+ const QTextCharFormat charFormat;
int num_chars;
const QChar *chars;
const unsigned short *logClusters;