aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2016-07-06 15:25:16 +0200
committerMitch Curtis <mitch.curtis@qt.io>2016-07-06 14:21:25 +0000
commit1badc06b810603b27092a74232e60da316d7fb1b (patch)
tree1373099ab3dbbc3bc259c2b5d006fdc43b79d262 /src
parent99c170e3fcd214a15fda00e3419666c1a456b76e (diff)
Be consistent with naming of event argument in pressAndHold() signals
These were supposed to both be called "event". [ChangeLog][TextField] Aligned the name of the pressAndHold() argument with TextArea Change-Id: Icc55584df37e4de9a9f06af7968bd608e5045c05 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/quicktemplates2/qquicktextarea.cpp4
-rw-r--r--src/quicktemplates2/qquicktextfield.cpp4
-rw-r--r--src/quicktemplates2/qquicktextfield_p.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/quicktemplates2/qquicktextarea.cpp b/src/quicktemplates2/qquicktextarea.cpp
index 96b690fa..57966c38 100644
--- a/src/quicktemplates2/qquicktextarea.cpp
+++ b/src/quicktemplates2/qquicktextarea.cpp
@@ -99,10 +99,10 @@ QT_BEGIN_NAMESPACE
*/
/*!
- \qmlsignal QtQuick.Controls::TextArea::pressAndHold(MouseEvent mouse)
+ \qmlsignal QtQuick.Controls::TextArea::pressAndHold(MouseEvent event)
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
+ The \l {MouseEvent}{event} parameter provides information about the press, including the x and y
position of the press, and which button is pressed.
\sa pressed, released
diff --git a/src/quicktemplates2/qquicktextfield.cpp b/src/quicktemplates2/qquicktextfield.cpp
index 28e26cd5..cfaf3783 100644
--- a/src/quicktemplates2/qquicktextfield.cpp
+++ b/src/quicktemplates2/qquicktextfield.cpp
@@ -82,10 +82,10 @@ QT_BEGIN_NAMESPACE
*/
/*!
- \qmlsignal QtQuick.Controls::TextField::pressAndHold(MouseEvent mouse)
+ \qmlsignal QtQuick.Controls::TextField::pressAndHold(MouseEvent event)
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
+ The \l {MouseEvent}{event} parameter provides information about the press, including the x and y
position of the press, and which button is pressed.
\sa pressed, released
diff --git a/src/quicktemplates2/qquicktextfield_p.h b/src/quicktemplates2/qquicktextfield_p.h
index 79b4c39d..83b0d341 100644
--- a/src/quicktemplates2/qquicktextfield_p.h
+++ b/src/quicktemplates2/qquicktextfield_p.h
@@ -100,7 +100,7 @@ Q_SIGNALS:
void focusReasonChanged();
Q_REVISION(1) void hoveredChanged();
Q_REVISION(1) void hoverEnabledChanged();
- void pressAndHold(QQuickMouseEvent *mouse);
+ void pressAndHold(QQuickMouseEvent *event);
Q_REVISION(1) void pressed(QQuickMouseEvent *event);
Q_REVISION(1) void released(QQuickMouseEvent *event);