aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickstackview_p.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2017-05-20 18:19:11 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2017-05-23 06:59:15 +0000
commit83a91bc0738dd9336a36a230ebd8c5cacbff65bc (patch)
treed76745c5dc25b9786be8ac287e0b99b002654457 /src/quicktemplates2/qquickstackview_p.h
parentaefb24193809b473d8d3d137b678bcdc87dd52f6 (diff)
StackView::clear() allow specifying a transition
This turns out to be a useful feature wanted for the Coffee Machine demo, which is being cleaned up. [ChangeLog][Controls][StackView] Allowed specifying a transition when clearing the stack view. Change-Id: I12ed18ca24c247980bab1fe93e1810c0d25d85e7 Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickstackview_p.h')
-rw-r--r--src/quicktemplates2/qquickstackview_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/quicktemplates2/qquickstackview_p.h b/src/quicktemplates2/qquickstackview_p.h
index b74a162d..22392698 100644
--- a/src/quicktemplates2/qquickstackview_p.h
+++ b/src/quicktemplates2/qquickstackview_p.h
@@ -135,7 +135,7 @@ public:
Q_INVOKABLE void replace(QQmlV4Function *args);
public Q_SLOTS:
- void clear();
+ void clear(Operation operation = Immediate);
Q_SIGNALS:
void busyChanged();