aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlbuiltinfunctions.cpp
diff options
context:
space:
mode:
authorShawn Rutledge <shawn.rutledge@qt.io>2021-09-21 23:42:07 +0200
committerShawn Rutledge <shawn.rutledge@qt.io>2021-09-29 23:16:33 +0200
commit0c4851e12b9ec42fddbb64a9f86003a435644f80 (patch)
treeff6ff37c332d3bcd3a07ad3e732a9bd132afaab0 /src/qml/qml/qqmlbuiltinfunctions.cpp
parent3c1599cb8c16f615b14b50155ffcb3f7bad99d0a (diff)
doc: Replace qmlscene with qml
We deprecated qmlscene in a9c93e2716a097c637515aded49a3308e257204b so we should stop recommending it in docs, too. Task-number: QTBUG-53219 Pick-to: 6.2 Change-Id: Ic729624a8ef849bd13f38087e20b5a410c5c5756 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlbuiltinfunctions.cpp')
-rw-r--r--src/qml/qml/qqmlbuiltinfunctions.cpp19
1 files changed, 11 insertions, 8 deletions
diff --git a/src/qml/qml/qqmlbuiltinfunctions.cpp b/src/qml/qml/qqmlbuiltinfunctions.cpp
index fe8420e27f..aeaa56b12d 100644
--- a/src/qml/qml/qqmlbuiltinfunctions.cpp
+++ b/src/qml/qml/qqmlbuiltinfunctions.cpp
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2016 The Qt Company Ltd.
+** Copyright (C) 2021 The Qt Company Ltd.
** Contact: https://www.qt.io/licensing/
**
** This file is part of the QtQml module of the Qt Toolkit.
@@ -909,13 +909,15 @@ QString QtObject::atob(const QString &data) const
}
/*!
-\qmlmethod Qt::quit()
-This function causes the QQmlEngine::quit() signal to be emitted.
-Within the \l {Prototyping with qmlscene}, this causes the launcher application to exit;
-to quit a C++ application when this method is called, connect the
-QQmlEngine::quit() signal to the QCoreApplication::quit() slot.
+ \qmlmethod Qt::quit()
-\sa exit()
+ This function causes the QQmlEngine::quit() signal to be emitted.
+ Within the \l {Prototyping with the QML Runtime Tool}{qml tool},
+ this causes the launcher application to exit; to quit a C++ application
+ when this method is called, connect the QQmlEngine::quit() signal to the
+ QCoreApplication::quit() slot.
+
+ \sa exit()
*/
void QtObject::quit() const
{
@@ -927,7 +929,8 @@ void QtObject::quit() const
\qmlmethod Qt::exit(int retCode)
This function causes the QQmlEngine::exit(int) signal to be emitted.
- Within the \l {Prototyping with qmlscene}, this causes the launcher application to exit
+ Within the \l {Prototyping with the QML Runtime Tool}{qml tool},
+ this causes the launcher application to exit with
the specified return code (\a retCode). To exit from the event loop with a specified
return code when this method is called, a C++ application can connect the
QQmlEngine::exit(int) signal to the QCoreApplication::exit(int) slot.