summaryrefslogtreecommitdiff
path: root/src/controls/Calendar.qml
diff options
context:
space:
mode:
authorCaroline Chao <caroline.chao@theqtcompany.com>2015-03-12 10:02:36 +0100
committerCaroline Chao <caroline.chao@theqtcompany.com>2015-03-13 14:59:12 +0000
commit95abac09523df5f0563f46ceb5365f80cb87a18c (patch)
treecab91b55cebb14df0bfb20b44ec426b860308c4c /src/controls/Calendar.qml
parentd04eb32908cfa7c6692bacfc292494b85ce3cd8a (diff)
downloadqtquickcontrols-95abac09523df5f0563f46ceb5365f80cb87a18c.tar.gz
Doc: Fix qml method signatures
So the return value and parameters can be seen in the documentation. + Fix minor doc issues Change-Id: I99e520c103bb0faeb88b26eb7b9ff73922851abc Reviewed-by: J-P Nurmi <jpnurmi@theqtcompany.com> Reviewed-by: Martin Smith <martin.smith@digia.com>
Diffstat (limited to 'src/controls/Calendar.qml')
-rw-r--r--src/controls/Calendar.qml4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/controls/Calendar.qml b/src/controls/Calendar.qml
index 9958068a..b5dadc0b 100644
--- a/src/controls/Calendar.qml
+++ b/src/controls/Calendar.qml
@@ -290,6 +290,7 @@ Control {
signal pressAndHold(date date)
/*!
+ \qmlmethod void Calendar::showPreviousMonth()
Sets visibleMonth to the previous month.
*/
function showPreviousMonth() {
@@ -302,6 +303,7 @@ Control {
}
/*!
+ \qmlmethod void Calendar::showNextMonth()
Sets visibleMonth to the next month.
*/
function showNextMonth() {
@@ -314,6 +316,7 @@ Control {
}
/*!
+ \qmlmethod void Calendar::showPreviousYear()
Sets visibleYear to the previous year.
*/
function showPreviousYear() {
@@ -323,6 +326,7 @@ Control {
}
/*!
+ \qmlmethod void Calendar::showNextYear()
Sets visibleYear to the next year.
*/
function showNextYear() {