summaryrefslogtreecommitdiff
path: root/src/widgets
diff options
context:
space:
mode:
authorSze Howe Koh <szehowe.koh@gmail.com>2014-03-15 10:43:35 +0800
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-18 12:51:26 +0100
commit6c734a234e7460108c99c2485ac1f80d8a112f29 (patch)
tree3627272ff22bc0d221e8c304ad411489ec5efe7c /src/widgets
parentb756900bb236190cc23f8cade2bf7440e5235ba4 (diff)
downloadqtquickcontrols-6c734a234e7460108c99c2485ac1f80d8a112f29.tar.gz
Doc: Append handler names to \qmlsignal documentation
Change-Id: I5e06bdf03ba1ba8e5fe7669f690420dc9a039129 Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/qquickqcolordialog.cpp4
-rw-r--r--src/widgets/qquickqfiledialog.cpp4
-rw-r--r--src/widgets/qquickqfontdialog.cpp4
-rw-r--r--src/widgets/qquickqmessagebox.cpp4
4 files changed, 16 insertions, 0 deletions
diff --git a/src/widgets/qquickqcolordialog.cpp b/src/widgets/qquickqcolordialog.cpp
index aa88aaeb..4359bc6d 100644
--- a/src/widgets/qquickqcolordialog.cpp
+++ b/src/widgets/qquickqcolordialog.cpp
@@ -118,6 +118,8 @@ private:
onAccepted: { console.log("Selected color: " + color) }
}
\endqml
+
+ The corresponding handler is \c onAccepted.
*/
/*!
@@ -125,6 +127,8 @@ private:
The \a rejected signal is emitted when the user has dismissed the dialog,
either by closing the dialog window or by pressing the Cancel button.
+
+ The corresponding handler is \c onRejected.
*/
/*!
diff --git a/src/widgets/qquickqfiledialog.cpp b/src/widgets/qquickqfiledialog.cpp
index 9dc967dd..b37ec769 100644
--- a/src/widgets/qquickqfiledialog.cpp
+++ b/src/widgets/qquickqfiledialog.cpp
@@ -83,6 +83,8 @@ QT_BEGIN_NAMESPACE
onAccepted: { console.log("Selected file: " + fileUrl) }
}
\endqml
+
+ The corresponding handler is \c onAccepted.
*/
/*!
@@ -90,6 +92,8 @@ QT_BEGIN_NAMESPACE
The \a rejected signal is emitted when the user has dismissed the dialog,
either by closing the dialog window or by pressing the Cancel button.
+
+ The corresponding handler is \c onRejected.
*/
/*!
diff --git a/src/widgets/qquickqfontdialog.cpp b/src/widgets/qquickqfontdialog.cpp
index 6936aff7..bc889e07 100644
--- a/src/widgets/qquickqfontdialog.cpp
+++ b/src/widgets/qquickqfontdialog.cpp
@@ -121,6 +121,8 @@ private:
onAccepted: { console.log("Selected file: " + filePath) }
}
\endqml
+
+ The corresponding handler is \c onAccepted.
*/
/*!
@@ -128,6 +130,8 @@ private:
The \a rejected signal is emitted when the user has dismissed the dialog,
either by closing the dialog window or by pressing the Cancel button.
+
+ The corresponding handler is \c onRejected.
*/
/*!
diff --git a/src/widgets/qquickqmessagebox.cpp b/src/widgets/qquickqmessagebox.cpp
index 5d62bee6..c959fd74 100644
--- a/src/widgets/qquickqmessagebox.cpp
+++ b/src/widgets/qquickqmessagebox.cpp
@@ -84,6 +84,8 @@ QT_BEGIN_NAMESPACE
onAccepted: { console.log("accepted") }
}
\endqml
+
+ The corresponding handler is \c onAccepted.
*/
/*!
@@ -91,6 +93,8 @@ QT_BEGIN_NAMESPACE
The \a rejected signal is emitted when the user has dismissed the dialog,
either by closing the dialog window or by pressing the Cancel button.
+
+ The corresponding handler is \c onRejected.
*/
/*!