diff options
author | Jerome Pasion <jerome.pasion@digia.com> | 2014-08-30 16:24:59 +0200 |
---|---|---|
committer | Jerome Pasion <jerome.pasion@digia.com> | 2014-09-11 21:45:46 +0200 |
commit | a14ec355c185c4f8857ae606990ff24d5431e1f8 (patch) | |
tree | a2ffa5583fced506336a0d4d61aba67cf7dce226 /src/widgets/widgets/qmenubar.cpp | |
parent | 6a666cb07306b4aae850fb2104d27a663923a4bb (diff) |
Doc: Fixed broken links introduced by "OS X" doc change.
-qtdoc repo uses "OS X" instead of "Mac OS X" and this caused
broken links.
-more comprehensive change still needs to be done but the new
name is used in the page to maintain consistency. At least within
the page or class.
Change-Id: I8a5650046fc0413cbb18359b743ecd30fd62e417
Task-number: QTBUG-40759
Reviewed-by: Martin Smith <martin.smith@digia.com>
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Diffstat (limited to 'src/widgets/widgets/qmenubar.cpp')
-rw-r--r-- | src/widgets/widgets/qmenubar.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/widgets/widgets/qmenubar.cpp b/src/widgets/widgets/qmenubar.cpp index f523ac2777..bafce96c29 100644 --- a/src/widgets/widgets/qmenubar.cpp +++ b/src/widgets/widgets/qmenubar.cpp @@ -616,15 +616,15 @@ void QMenuBar::initStyleOption(QStyleOptionMenuItem *option, const QAction *acti for items in the menu bar are only shown when the \uicontrol{Alt} key is pressed. - \section1 QMenuBar on Mac OS X + \section1 QMenuBar on OS X - QMenuBar on Mac OS X is a wrapper for using the system-wide menu bar. + QMenuBar on OS X is a wrapper for using the system-wide menu bar. If you have multiple menu bars in one dialog the outermost menu bar (normally inside a widget with widget flag Qt::Window) will be used for the system-wide menu bar. - Qt for Mac OS X also provides a menu bar merging feature to make - QMenuBar conform more closely to accepted Mac OS X menu bar layout. + Qt for OS X also provides a menu bar merging feature to make + QMenuBar conform more closely to accepted OS X menu bar layout. The merging functionality is based on string matching the title of a QMenu entry. These strings are translated (using QObject::tr()) in the "QMenuBar" context. If an entry is moved its slots will still @@ -663,7 +663,7 @@ void QMenuBar::initStyleOption(QStyleOptionMenuItem *option, const QAction *acti \b{Note:} The text used for the application name in the menu bar is obtained from the value set in the \c{Info.plist} file in - the application's bundle. See \l{Qt for Mac OS X - Deployment} + the application's bundle. See \l{Qt for OS X - Deployment} for more information. \section1 QMenuBar on Windows CE @@ -908,7 +908,7 @@ void QMenuBar::setActiveAction(QAction *act) /*! Removes all the actions from the menu bar. - \note On Mac OS X, menu items that have been merged to the system + \note On OS X, menu items that have been merged to the system menu bar are not removed by this function. One way to handle this would be to remove the extra actions yourself. You can set the \l{QAction::MenuRole}{menu role} on the different menus, so that @@ -1806,7 +1806,7 @@ QWidget *QMenuBar::cornerWidget(Qt::Corner corner) const \since 4.6 This property specifies whether or not the menubar should be used as a native menubar on platforms - that support it. The currently supported platforms are Mac OS X and Windows CE. On these platforms + that support it. The currently supported platforms are OS X and Windows CE. On these platforms if this property is \c true, the menubar is used in the native menubar and is not in the window of its parent, if false the menubar remains in the window. On other platforms the value of this attribute has no effect. |