aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/items/qquicktextedit_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/items/qquicktextedit_p.h')
-rw-r--r--src/declarative/items/qquicktextedit_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/declarative/items/qquicktextedit_p.h b/src/declarative/items/qquicktextedit_p.h
index e237e2eba2..f2bec6ce4f 100644
--- a/src/declarative/items/qquicktextedit_p.h
+++ b/src/declarative/items/qquicktextedit_p.h
@@ -217,6 +217,8 @@ public:
bool isInputMethodComposing() const;
+ Q_INVOKABLE QString getText(int start, int end) const;
+
Q_SIGNALS:
void textChanged(const QString &);
void paintedSizeChanged();
@@ -258,6 +260,8 @@ public Q_SLOTS:
void copy();
void paste();
#endif
+ void insert(int position, const QString &text);
+ void remove(int start, int end);
private Q_SLOTS:
void q_textChanged();