summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qmainwindow.cpp
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@qt.io>2018-01-18 11:40:43 +0100
committerMartin Smith <martin.smith@qt.io>2018-01-24 10:01:26 +0000
commit43fbf30efaffca2b95625f5b04429e5fc31bc770 (patch)
tree319966191bd06976a169cc8ff923dfc4fb0007fa /src/widgets/widgets/qmainwindow.cpp
parentd5aaa5635cbcc3b71a4ca695bf3fa7fddf064957 (diff)
doc: Fix many qdoc warnings, mostly missing return types
Fixed many cases of missing return types in \fn commands. Added a fake GLxxx typedef for a GL type that wasn't there because the GL includes weren't accessible. Also added some fake declarations for a few functions declared in namespace Qt in QtWidgets that must be seen by qdoc in QtCore. Change-Id: Id82476042d0563d32fa85c4ae81a58c1298a468a Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/widgets/widgets/qmainwindow.cpp')
-rw-r--r--src/widgets/widgets/qmainwindow.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/widgets/widgets/qmainwindow.cpp b/src/widgets/widgets/qmainwindow.cpp
index 00ee0a9d10..bf0a88e7fb 100644
--- a/src/widgets/widgets/qmainwindow.cpp
+++ b/src/widgets/widgets/qmainwindow.cpp
@@ -951,7 +951,9 @@ void QMainWindow::setDockNestingEnabled(bool enabled)
}
#if 0
-/*! \property QMainWindow::verticalTabsEnabled
+// If added back in, add the '!' to the qdoc comment marker as well.
+/*
+ \property QMainWindow::verticalTabsEnabled
\brief whether left and right dock areas use vertical tabs
\since 4.2