summaryrefslogtreecommitdiff
path: root/src/controls/Styles
diff options
context:
space:
mode:
Diffstat (limited to 'src/controls/Styles')
-rw-r--r--src/controls/Styles/Base/MenuBarStyle.qml6
-rw-r--r--src/controls/Styles/Base/MenuStyle.qml6
2 files changed, 6 insertions, 6 deletions
diff --git a/src/controls/Styles/Base/MenuBarStyle.qml b/src/controls/Styles/Base/MenuBarStyle.qml
index 5992d981..ade34b0a 100644
--- a/src/controls/Styles/Base/MenuBarStyle.qml
+++ b/src/controls/Styles/Base/MenuBarStyle.qml
@@ -57,13 +57,13 @@ Style {
/*!
\qmlmethod string MenuBarStyle::formatMnemonic(string text, bool underline = false)
- Returns a formatted string to render mnemonics for a given menu item.
+ Returns a formatted string to render mnemonics for a given menu item \a text.
The mnemonic character is prefixed by an ampersand in the original string.
- Passing \c true for \c underline will underline the mnemonic character (e.g.,
+ Passing \c true for \e underline will underline the mnemonic character (e.g.,
\c formatMnemonic("&File", true) will return \c "<u>F</u>ile"). Passing \c false
- for \c underline will return the plain text form (e.g., \c formatMnemonic("&File", false)
+ for \a underline will return the plain text form (e.g., \c formatMnemonic("&File", false)
will return \c "File").
\sa Label
diff --git a/src/controls/Styles/Base/MenuStyle.qml b/src/controls/Styles/Base/MenuStyle.qml
index 13a889c4..f40e0af7 100644
--- a/src/controls/Styles/Base/MenuStyle.qml
+++ b/src/controls/Styles/Base/MenuStyle.qml
@@ -98,13 +98,13 @@ Style {
/*!
\qmlmethod string MenuStyle::formatMnemonic(string text, bool underline = false)
- Returns a rich-text string to render mnemonics for a given menu item.
+ Returns a rich-text string to render mnemonics for a given menu item \a text.
The mnemonic character is prefixed by an ampersand in the original string.
- Passing \c true for \c underline will underline the mnemonic character (e.g.,
+ Passing \c true for \a underline will underline the mnemonic character (e.g.,
\c formatMnemonic("&Open...", true) will return \c "<u>O</u>pen..."). Passing \c false
- for \c underline will return the plain text form (e.g., \c formatMnemonic("&Open...", false)
+ for \a underline will return the plain text form (e.g., \c formatMnemonic("&Open...", false)
will return \c "Open...").
\sa Label