aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/items/qsgtextinput_p.h
diff options
context:
space:
mode:
authorMartin Jones <martin.jones@nokia.com>2011-05-27 12:06:20 +1000
committerMartin Jones <martin.jones@nokia.com>2011-05-27 12:06:20 +1000
commitb52ed81c68866e9792a1db46413c74a3f8d2be03 (patch)
tree4cc95097c7d7aa380717e8d3d124f2052cb3f86d /src/declarative/items/qsgtextinput_p.h
parentb10d450e9ea99aa1ad28ff5d939958503f0bd5ea (diff)
Revert "Make QSGTextNode back-end for QML's TextInput"
This reverts commit e430f1336881850a73a54a291e0276160d568212.
Diffstat (limited to 'src/declarative/items/qsgtextinput_p.h')
-rw-r--r--src/declarative/items/qsgtextinput_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/items/qsgtextinput_p.h b/src/declarative/items/qsgtextinput_p.h
index d2bc9e3961..ccea485e99 100644
--- a/src/declarative/items/qsgtextinput_p.h
+++ b/src/declarative/items/qsgtextinput_p.h
@@ -54,7 +54,7 @@ QT_MODULE(Declarative)
class QSGTextInputPrivate;
class QValidator;
-class Q_AUTOTEST_EXPORT QSGTextInput : public QSGImplicitSizeItem
+class Q_AUTOTEST_EXPORT QSGTextInput : public QSGImplicitSizePaintedItem
{
Q_OBJECT
Q_ENUMS(HAlignment)
@@ -204,6 +204,7 @@ public:
bool hasAcceptableInput() const;
+ void paint(QPainter *p);
QVariant inputMethodQuery(Qt::InputMethodQuery property) const;
QRectF boundingRect() const;
@@ -259,7 +260,6 @@ protected:
bool event(QEvent *e);
void focusInEvent(QFocusEvent *event);
virtual void itemChange(ItemChange, const ItemChangeData &);
- QSGNode *updatePaintNode(QSGNode *oldNode, UpdatePaintNodeData *data);
public Q_SLOTS:
void selectAll();