summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Colby <git@colby.id.au>2018-05-01 23:03:35 +1000
committerPaul Wicking <paul.wicking@qt.io>2018-07-11 15:21:56 +0000
commitabbd28f551a128cc0959b8c6ba25ac6a2f821217 (patch)
tree8728819089924346e57eb781359614277c4345ba
parent4ebe4f4b727ee374fe5d5465f065ec1570fe3090 (diff)
Correct the documented visibility of some Widget methods
Specifically, commit e80a3b49c0aac237104e1696fc64b3a924c89ca1 introduced the use of some QT_VERSION_CHECK macros to distinguish some methods' visibility between Qt 5 and Qt 6, however the QDoc falsehoods variable (added sometime prior) was sensitive to whitespace, and did not correctly recognize those version checks. This resulted in some methods being incorrectly documented as public instead of protected, or vice versa. This change simply makes the QT_VERSION_CHECK in QDoc falsehoods allow for optional whitespace. Methods affected by this change (in documentation only): * QListWidget::dropEvent() * QTableWidget::items(), ::indexFromItem(), itemFromIndex() * QTreeWidget::items(), ::indexFromItem(), and itemFromIndex() Task-number: QTBUG-68005 Change-Id: Ibe3e780334a9a915989ed43b5cdda6915c9161ec Reviewed-by: Luca Beldi <v.ronin@yahoo.it> Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> Reviewed-by: Paul Wicking <paul.wicking@qt.io> Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
-rw-r--r--doc/global/qt-cpp-defines.qdocconf2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/global/qt-cpp-defines.qdocconf b/doc/global/qt-cpp-defines.qdocconf
index 13533555c5..a486470187 100644
--- a/doc/global/qt-cpp-defines.qdocconf
+++ b/doc/global/qt-cpp-defines.qdocconf
@@ -221,7 +221,7 @@ Cpp.ignoredirectives += \
# Qt 6: Remove
falsehoods += \
- "QT_VERSION >= QT_VERSION_CHECK\\(6,0,0\\)"
+ "QT_VERSION >= QT_VERSION_CHECK\\(\\s*6\\s*,\\s*0\\s*,\\s*0\\s*\\)"
excludefiles += \