aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@theqtcompany.com>2015-12-12 13:19:55 +0100
committerJ-P Nurmi <jpnurmi@theqtcompany.com>2015-12-12 16:51:38 +0000
commitca44df841600e38a54d8e8d1afed7a7e429b58e2 (patch)
tree916cbbb1e95ac49a6c680a968ab347a09675c749
parentec559b9e39834eaae804339cd74c26d09027be95 (diff)
Add missing TextArea::pressAndHold() docs
Change-Id: I09c42985a116feaacc9896a8f0ccaca5fd4c57f9 Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com>
-rw-r--r--src/templates/qquicktextarea.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/templates/qquicktextarea.cpp b/src/templates/qquicktextarea.cpp
index c78da815..dba082a4 100644
--- a/src/templates/qquicktextarea.cpp
+++ b/src/templates/qquicktextarea.cpp
@@ -70,6 +70,14 @@ QT_BEGIN_NAMESPACE
\sa TextField, {Customizing TextArea}, {Input Controls}
*/
+/*!
+ \qmlsignal Qt.labs.controls::TextArea::pressAndHold(MouseEvent mouse)
+
+ This signal is emitted when there is a long press (the delay depends on the platform plugin).
+ The \l {MouseEvent}{mouse} parameter provides information about the press, including the x and y
+ position of the press, and which button is pressed.
+*/
+
QQuickTextAreaPrivate::QQuickTextAreaPrivate()
: background(Q_NULLPTR), accessibleAttached(Q_NULLPTR)
{