aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickswipedelegate_p.h
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2016-07-12 09:22:24 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-07-13 20:12:06 +0000
commita26244b5c34c2d3415f19929dd8519305d191a09 (patch)
tree4dfe9fbb4ddc7187db3cebcb4cc961a9ad58d5fd /src/quicktemplates2/qquickswipedelegate_p.h
parent546544b347be496a484101b1b7c05e3c6bdbc9e9 (diff)
SwipeDelegate: add swipe.completed() signal
This allows users to respond to completion of the swipe by e.g. removing the item from the list it is in. [ChangeLog][SwipeDelegate] Added swipe.completed() for responding to completion of swipes. Change-Id: I3d605f18a1aff8892a6e088188b606a630e99506 Task-number: QTBUG-54651 Reviewed-by: J-P Nurmi <jpnurmi@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickswipedelegate_p.h')
-rw-r--r--src/quicktemplates2/qquickswipedelegate_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickswipedelegate_p.h b/src/quicktemplates2/qquickswipedelegate_p.h
index afd195ea..f94219cd 100644
--- a/src/quicktemplates2/qquickswipedelegate_p.h
+++ b/src/quicktemplates2/qquickswipedelegate_p.h
@@ -128,6 +128,7 @@ public:
Q_SIGNALS:
void positionChanged();
void completeChanged();
+ Q_REVISION(1) void completed();
void leftChanged();
void behindChanged();
void rightChanged();