Fix some qdoc-warnings.
qtbase/src/widgets/kernel/qaction.cpp:1257: warning: Can't link to 'QApplication::setAttribute()' qtbase/src/widgets/kernel/qapplication.cpp:519: warning: Can't link to 'arguments()' qtbase/src/widgets/kernel/qapplication.cpp:1939: warning: Can't link to 'quit()' qtbase/src/widgets/kernel/qapplication.cpp:2946: warning: Can't link to 'quit()' qtbase/src/widgets/kernel/qapplication.cpp:2946: warning: Can't link to 'exit()' qtbase/src/widgets/kernel/qapplication.cpp:2946: warning: Can't link to 'processEvents()' qtbase/src/widgets/widgets/qmenu.cpp:1354: warning: Can't link to 'Recent Files Example' qtbase/examples/widgets/doc/src/tetrix.qdoc:28: warning: Can't link to 'QApplication::quit()' qtbase/src/testlib/qtestcase.cpp:268: warning: Undocumented parameter 'timeout' in QTRY_VERIFY2_WITH_TIMEOUT() qtbase/src/corelib/global/qnamespace.qdoc:2427: warning: Can't link to 'QApplication::setLayoutDirection()' qtbase/src/corelib/global/qnamespace.qdoc:751: warning: Can't link to 'QApplication::setDesktopSettingsAware()' Change-Id: Ic8170a40fb1cd84e3fb4dd75d9429f4b485f8bd9 Reviewed-by: Martin Smith <martin.smith@digia.com>
This commit is contained in:
parent
2117a76136
commit
79a4cb1e4f
@ -108,7 +108,7 @@
|
|||||||
|
|
||||||
We connect \l{QAbstractButton::}{clicked()} signals from the \uicontrol{Start}
|
We connect \l{QAbstractButton::}{clicked()} signals from the \uicontrol{Start}
|
||||||
and \uicontrol{Pause} buttons to the board, and from the \uicontrol{Quit} button to the
|
and \uicontrol{Pause} buttons to the board, and from the \uicontrol{Quit} button to the
|
||||||
application's \l{QApplication::}{quit()} slot.
|
application's \l{QCoreApplication::quit()} slot.
|
||||||
|
|
||||||
\snippet widgets/tetrix/tetrixwindow.cpp 4
|
\snippet widgets/tetrix/tetrixwindow.cpp 4
|
||||||
\snippet widgets/tetrix/tetrixwindow.cpp 5
|
\snippet widgets/tetrix/tetrixwindow.cpp 5
|
||||||
|
@ -772,7 +772,7 @@
|
|||||||
\value UI_FadeTooltip Show tooltip fading effects.
|
\value UI_FadeTooltip Show tooltip fading effects.
|
||||||
\value UI_AnimateToolBox Reserved
|
\value UI_AnimateToolBox Reserved
|
||||||
|
|
||||||
\sa QApplication::setEffectEnabled(), QApplication::setDesktopSettingsAware()
|
\sa QApplication::setEffectEnabled(), QGuiApplication::setDesktopSettingsAware()
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*! \enum Qt::AspectRatioMode
|
/*! \enum Qt::AspectRatioMode
|
||||||
@ -2443,7 +2443,7 @@
|
|||||||
When LayoutDirectionAuto is used in conjunction with text layouting, it will imply that the text
|
When LayoutDirectionAuto is used in conjunction with text layouting, it will imply that the text
|
||||||
directionality is determined from the content of the string to be layouted.
|
directionality is determined from the content of the string to be layouted.
|
||||||
|
|
||||||
\sa QApplication::setLayoutDirection(), QWidget::setLayoutDirection(), QTextOption::setTextDirection(), QString::isRightToLeft()
|
\sa QGuiApplication::setLayoutDirection(), QWidget::setLayoutDirection(), QTextOption::setTextDirection(), QString::isRightToLeft()
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
@ -272,7 +272,7 @@ static void stackTrace()
|
|||||||
|
|
||||||
The QTRY_VERIFY2_WITH_TIMEOUT macro is similar to QTRY_VERIFY_WITH_TIMEOUT()
|
The QTRY_VERIFY2_WITH_TIMEOUT macro is similar to QTRY_VERIFY_WITH_TIMEOUT()
|
||||||
except that it outputs a verbose \a message when \a condition is still false
|
except that it outputs a verbose \a message when \a condition is still false
|
||||||
after the specified timeout. The \a message is a plain C string.
|
after the specified \a timeout. The \a message is a plain C string.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
\code
|
\code
|
||||||
|
@ -1270,7 +1270,7 @@ QAction::MenuRole QAction::menuRole() const
|
|||||||
For example:
|
For example:
|
||||||
\snippet code/src_gui_kernel_qaction.cpp 0
|
\snippet code/src_gui_kernel_qaction.cpp 0
|
||||||
|
|
||||||
\sa QAction::icon, QApplication::setAttribute()
|
\sa QAction::icon, QCoreApplication::setAttribute()
|
||||||
*/
|
*/
|
||||||
void QAction::setIconVisibleInMenu(bool visible)
|
void QAction::setIconVisibleInMenu(bool visible)
|
||||||
{
|
{
|
||||||
|
@ -558,7 +558,7 @@ void QApplicationPrivate::process_cmdline()
|
|||||||
and will make the application wait until a debugger connects to it.
|
and will make the application wait until a debugger connects to it.
|
||||||
\endlist
|
\endlist
|
||||||
|
|
||||||
\sa arguments()
|
\sa QCoreApplication::arguments()
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef Q_QDOC
|
#ifdef Q_QDOC
|
||||||
@ -1951,7 +1951,7 @@ bool QApplicationPrivate::tryCloseAllWindows()
|
|||||||
\l quitOnLastWindowClosed to false.
|
\l quitOnLastWindowClosed to false.
|
||||||
|
|
||||||
\sa quitOnLastWindowClosed, lastWindowClosed(), QWidget::close(),
|
\sa quitOnLastWindowClosed, lastWindowClosed(), QWidget::close(),
|
||||||
QWidget::closeEvent(), lastWindowClosed(), quit(), topLevelWidgets(),
|
QWidget::closeEvent(), lastWindowClosed(), QCoreApplication::quit(), topLevelWidgets(),
|
||||||
QWidget::isWindow()
|
QWidget::isWindow()
|
||||||
*/
|
*/
|
||||||
void QApplication::closeAllWindows()
|
void QApplication::closeAllWindows()
|
||||||
@ -2969,8 +2969,8 @@ int QApplication::startDragDistance()
|
|||||||
application will have time to exit its event loop and execute code at the
|
application will have time to exit its event loop and execute code at the
|
||||||
end of the \c{main()} function, after the QApplication::exec() call.
|
end of the \c{main()} function, after the QApplication::exec() call.
|
||||||
|
|
||||||
\sa quitOnLastWindowClosed, quit(), exit(), processEvents(),
|
\sa quitOnLastWindowClosed, QCoreApplication::quit(), QCoreApplication::exit(),
|
||||||
QCoreApplication::exec()
|
QCoreApplication::processEvents(), QCoreApplication::exec()
|
||||||
*/
|
*/
|
||||||
int QApplication::exec()
|
int QApplication::exec()
|
||||||
{
|
{
|
||||||
|
@ -1443,7 +1443,7 @@ void QMenu::initStyleOption(QStyleOptionMenuItem *option, const QAction *action)
|
|||||||
addSeparator(), and addMenu().
|
addSeparator(), and addMenu().
|
||||||
|
|
||||||
\sa QMenuBar, {fowler}{GUI Design Handbook: Menu, Drop-Down and Pop-Up},
|
\sa QMenuBar, {fowler}{GUI Design Handbook: Menu, Drop-Down and Pop-Up},
|
||||||
{Application Example}, {Menus Example}, {Recent Files Example}
|
{Application Example}, {Menus Example}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user