diff options
author | J-P Nurmi <jpnurmi@theqtcompany.com> | 2016-01-25 15:14:27 +0100 |
---|---|---|
committer | J-P Nurmi <jpnurmi@theqtcompany.com> | 2016-01-28 09:29:39 +0000 |
commit | 2ed9dc9cbb6fbf3a68780b48a456ce3ef9bf82c0 (patch) | |
tree | 46621e3d80423c47f0b6d9b0f6d083824da95390 /src/imports/controls | |
parent | 147c215ec9174c394bcaa2c33760df735f4d1ebf (diff) |
AbstractButton: remove the mouse params from signals
If we ever want to expose these, the name would be something else
than "mouse"... :)
Change-Id: Ie9dad16e84708059fd0b43d4764925db7b014d64
Reviewed-by: Mitch Curtis <mitch.curtis@theqtcompany.com>
Diffstat (limited to 'src/imports/controls')
-rw-r--r-- | src/imports/controls/plugins.qmltypes | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/src/imports/controls/plugins.qmltypes b/src/imports/controls/plugins.qmltypes index bbccc210..d52c6153 100644 --- a/src/imports/controls/plugins.qmltypes +++ b/src/imports/controls/plugins.qmltypes @@ -29,23 +29,11 @@ Module { Property { name: "autoRepeat"; type: "bool" } Property { name: "indicator"; type: "QQuickItem"; isPointer: true } Property { name: "label"; type: "QQuickItem"; isPointer: true } - Signal { - name: "pressed" - Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } - } - Signal { - name: "released" - Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } - } + Signal { name: "pressed" } + Signal { name: "released" } Signal { name: "canceled" } - Signal { - name: "clicked" - Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } - } - Signal { - name: "doubleClicked" - Parameter { name: "mouse"; type: "QQuickMouseEvent"; isPointer: true } - } + Signal { name: "clicked" } + Signal { name: "doubleClicked" } Method { name: "toggle" } } Component { |