summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qkeysequence.h
diff options
context:
space:
mode:
authorMartin Smith <martin.smith@qt.io>2017-03-22 12:55:41 +0100
committerMartin Smith <martin.smith@qt.io>2017-12-02 14:57:26 +0000
commit87cce3e06156fd881f4491ff389b7f6cb6a22975 (patch)
treecc75ab7b32c46d491a3c316ec725f3333d5a7b6e /src/gui/kernel/qkeysequence.h
parente210b1233d93544321132aa8d202e39003395284 (diff)
doc: Don't let qdoc see some defines that cause trouble
This update surrounds some #defines with #ifndef Q_CLANG_QDOC because they define some names that conflict with formal parameter names. Otherwise, clang starts replacing formal parameter names with $27 etc, when qdoc runs, and that causes trouble for qdoc. The change also replaces one use of Q_QDOC with Q_CLANG_QDOC. Change-Id: I6e93bf1e0d30d7590280b6f18f0e694556050685 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/gui/kernel/qkeysequence.h')
-rw-r--r--src/gui/kernel/qkeysequence.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qkeysequence.h b/src/gui/kernel/qkeysequence.h
index 6bdfd84ca3..82b88e5d99 100644
--- a/src/gui/kernel/qkeysequence.h
+++ b/src/gui/kernel/qkeysequence.h
@@ -59,7 +59,7 @@ Q_GUI_EXPORT QDataStream &operator<<(QDataStream &in, const QKeySequence &ks);
Q_GUI_EXPORT QDataStream &operator>>(QDataStream &out, QKeySequence &ks);
#endif
-#ifdef Q_QDOC
+#ifdef Q_CLANG_QDOC
void qt_set_sequence_auto_mnemonic(bool b);
#endif