aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2/qquickstackview_p.h
diff options
context:
space:
mode:
authorJ-P Nurmi <jpnurmi@qt.io>2016-05-27 09:51:35 +0200
committerJ-P Nurmi <jpnurmi@qt.io>2016-06-06 18:16:46 +0000
commit3ec6f508aa485b1162d7d8f7bc57401b43ded470 (patch)
tree924fe6c0da4951dd92459e2becfc8da9c4d66110 /src/quicktemplates2/qquickstackview_p.h
parent51c181776f2c389d6b12d78514008d3208841192 (diff)
StackView: add attached activated() etc. signals
For initializing and cleaning up item-specific resources, these are much more convenient than a StackView.onStatusChanged handler. [ChangeLog][StackView] Added attached activated(), deactivated(), activating(), and deactivating() signals that are convenient for initializing and cleaning up item-specific resources. Change-Id: If8df45b31a14cd2491db2c87eeb1c071af4e695f Reviewed-by: Mitch Curtis <mitch.curtis@qt.io>
Diffstat (limited to 'src/quicktemplates2/qquickstackview_p.h')
-rw-r--r--src/quicktemplates2/qquickstackview_p.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickstackview_p.h b/src/quicktemplates2/qquickstackview_p.h
index 5c119627..790ac4c5 100644
--- a/src/quicktemplates2/qquickstackview_p.h
+++ b/src/quicktemplates2/qquickstackview_p.h
@@ -175,6 +175,10 @@ Q_SIGNALS:
void indexChanged();
void viewChanged();
void statusChanged();
+ Q_REVISION(1) void activated();
+ Q_REVISION(1) void activating();
+ Q_REVISION(1) void deactivated();
+ Q_REVISION(1) void deactivating();
private:
Q_DISABLE_COPY(QQuickStackAttached)