summaryrefslogtreecommitdiffstats
path: root/src/controls/qtstack.cpp
diff options
context:
space:
mode:
authorRichard Moe Gustavsen <richard.gustavsen@digia.com>2013-03-25 14:45:41 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-03-28 21:16:07 +0100
commit0afc935badafe8f3a0baa17a7109d65f8e076fae (patch)
tree174b60eca240be9debe14b473ba7d1d5d57ebd60 /src/controls/qtstack.cpp
parent36f6ef354dd395c73494d4535bc36012659d73aa (diff)
PageStack: rename PageStack to StackView
Change-Id: Idd859547ca7c7a87cfafc882bf7593246efc58e7 Reviewed-by: Jens Bache-Wiig <jens.bache-wiig@digia.com>
Diffstat (limited to 'src/controls/qtstack.cpp')
-rw-r--r--src/controls/qtstack.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/controls/qtstack.cpp b/src/controls/qtstack.cpp
index 2ca94115a..f3976d42f 100644
--- a/src/controls/qtstack.cpp
+++ b/src/controls/qtstack.cpp
@@ -48,7 +48,7 @@ QT_BEGIN_NAMESPACE
\instantiates QtStack
\inqmlmodule QtQuick.Controls 1.0
\ingroup views
- \brief Provides attached properties for items pushed onto a PageStack.
+ \brief Provides attached properties for items pushed onto a StackView.
The Stack attached property provides information when an item becomes
active or inactive through the \l{Stack::status}{Stack.status} property.
@@ -57,7 +57,7 @@ QT_BEGIN_NAMESPACE
transition stops. When it leaves the screen, it will be
\c Stack.Deactivating, and then \c Stack.Inactive.
- \sa PageStack
+ \sa StackView
*/
QtStack::QtStack(QObject *object)
@@ -77,8 +77,8 @@ QtStack *QtStack::qmlAttachedProperties(QObject *object)
\readonly
\qmlproperty int Stack::index
- This property holds the index of the item inside \l{pageStack}{PageStack},
- so that \l{PageStack::get()}{pageStack.get(index)} will return the item itself.
+ This property holds the index of the item inside \l{pageStack}{StackView},
+ so that \l{StackView::get()}{pageStack.get(index)} will return the item itself.
If \l{Stack::pageStack}{pageStack} is \c null, \a index will be \c -1.
*/
int QtStack::index() const
@@ -121,17 +121,17 @@ void QtStack::setStatus(Status status)
/*!
\readonly
- \qmlproperty PageStack Stack::pageStack
+ \qmlproperty StackView Stack::pageStack
- This property holds the PageStack the item is in. If the item is not inside
- a PageStack, \a pageStack will be \c null.
+ This property holds the StackView the item is in. If the item is not inside
+ a StackView, \a pageStack will be \c null.
*/
QQuickItem *QtStack::pageStack() const
{
return m_pageStack;
}
-void QtStack::setPageStack(QQuickItem *pageStack)
+void QtStack::setStackView(QQuickItem *pageStack)
{
if (m_pageStack != pageStack) {
m_pageStack = pageStack;