summaryrefslogtreecommitdiffstats
path: root/src/controls/Styles/Base/PieMenuStyle.qml
diff options
context:
space:
mode:
authorCaroline Chao <[email protected]>2015-03-12 10:02:36 +0100
committerCaroline Chao <[email protected]>2015-03-13 14:59:12 +0000
commit95abac09523df5f0563f46ceb5365f80cb87a18c (patch)
treecab91b55cebb14df0bfb20b44ec426b860308c4c /src/controls/Styles/Base/PieMenuStyle.qml
parentd04eb32908cfa7c6692bacfc292494b85ce3cd8a (diff)
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 <[email protected]> Reviewed-by: Martin Smith <[email protected]>
Diffstat (limited to 'src/controls/Styles/Base/PieMenuStyle.qml')
-rw-r--r--src/controls/Styles/Base/PieMenuStyle.qml3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/controls/Styles/Base/PieMenuStyle.qml b/src/controls/Styles/Base/PieMenuStyle.qml
index 916a0c9ec..fdfa92e7e 100644
--- a/src/controls/Styles/Base/PieMenuStyle.qml
+++ b/src/controls/Styles/Base/PieMenuStyle.qml
@@ -165,6 +165,7 @@ Style {
property real endAngle: 90
/*!
+ \qmlmethod real PieMenuStyle::sectionStartAngle(int itemIndex)
Returns the start of the section at \a itemIndex as an angle in degrees.
*/
function sectionStartAngle(itemIndex) {
@@ -172,6 +173,7 @@ Style {
}
/*!
+ \qmlmethod real PieMenuStyle::sectionCenterAngle(int itemIndex)
Returns the center of the section at \a itemIndex as an angle in
degrees.
*/
@@ -180,6 +182,7 @@ Style {
}
/*!
+ \qmlmethod real PieMenuStyle::sectionEndAngle(int itemIndex)
Returns the end of the section at \a itemIndex as an angle in degrees.
*/
function sectionEndAngle(itemIndex) {