summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNikolai Kosjar <nikolai.kosjar@digia.com>2014-10-08 15:41:02 +0200
committerNikolai Kosjar <nikolai.kosjar@theqtcompany.com>2014-10-22 11:58:48 +0200
commit7a3c942f357faa28094046ecf1fe9dbe4ca14683 (patch)
treedbeadc5a2e32a3511ac2c75883881eaaabe7c11f /doc
parent65e9da282fc79f590e58825f177adc33891280bc (diff)
downloadqt-creator-7a3c942f357faa28094046ecf1fe9dbe4ca14683.tar.gz
CppEditor: Merge AddIncludeForForwardDeclaration into AddIncludeForUndefinedIdentifier
* Fixes multiple addition of same include. * Takes over the check of AddIncludeForForwardDeclaration for forward headers. Task-number: QTCREATORBUG-9704 Change-Id: I84629d35ae433385942a9157e5d32ef04159d07f Reviewed-by: Christian Stenger <christian.stenger@digia.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/src/editors/creator-editors.qdoc8
1 files changed, 2 insertions, 6 deletions
diff --git a/doc/src/editors/creator-editors.qdoc b/doc/src/editors/creator-editors.qdoc
index 0ba58b85c0..975de5d5b1 100644
--- a/doc/src/editors/creator-editors.qdoc
+++ b/doc/src/editors/creator-editors.qdoc
@@ -1828,10 +1828,6 @@
\li String literal
\row
- \li #include Header File
- \li Adds the matching #include statement for a forward-declared class or struct
- \li Forward-declared class or struct
- \row
\li Add Definition in ...
\li Inserts a definition stub for a function declaration either in the header file
(inside or outside the class) or in the implementation file. For free functions, inserts
@@ -1957,9 +1953,9 @@
icon appears:
\inlineimage qml-toolbar-indicator.png
\row
- \li Add #include for undeclared identifier
+ \li Add #include for undeclared or forward declared identifier
\li Adds an #include directive to the current file to make the
- declaration of a symbol available.
+ definition of a symbol available.
\li Undeclared identifier
\row
\li Reformat Pointers or References