aboutsummaryrefslogtreecommitdiffstats
path: root/src/templates/qquicktextarea_p.h
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@theqtcompany.com>2015-11-18 13:58:15 +0100
committerLiang Qi <liang.qi@theqtcompany.com>2015-12-01 15:04:28 +0000
commit5823d6230f5b1fbbd27c3b00b334e062a21b3d65 (patch)
tree1bdaa7d71cb6900dec97415a7bb3b91b82984143 /src/templates/qquicktextarea_p.h
parent0928dc2924e09a38c58513d82887e6d75a112eb0 (diff)
Control: resolve the font a bit earlier
Also applied to QQuickLabel, QQuickTextArea and QQuickTextField. Change-Id: Icf10500905980445809eb2375e8957db2c41e03c Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
Diffstat (limited to 'src/templates/qquicktextarea_p.h')
-rw-r--r--src/templates/qquicktextarea_p.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/templates/qquicktextarea_p.h b/src/templates/qquicktextarea_p.h
index 13022ce5..d8326f66 100644
--- a/src/templates/qquicktextarea_p.h
+++ b/src/templates/qquicktextarea_p.h
@@ -88,6 +88,9 @@ Q_SIGNALS:
void pressAndHold(QQuickMouseEvent *event);
protected:
+ void classBegin() Q_DECL_OVERRIDE;
+
+ void itemChange(ItemChange change, const ItemChangeData &value) Q_DECL_OVERRIDE;
void geometryChanged(const QRectF &newGeometry, const QRectF &oldGeometry) Q_DECL_OVERRIDE;
QSGNode *updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *data) Q_DECL_OVERRIDE;
void mousePressEvent(QMouseEvent *event) Q_DECL_OVERRIDE;