Doc: WS only change

Change-Id: I0e6f296b9da48de2886672586ee1f3509d87aee1
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2015-06-18 16:52:38 +02:00
parent 45da8a57d5
commit bc322c056a

View File

@@ -207,113 +207,113 @@
\table \table
\header \header
\li Id \li Id
\li Severity \li Severity
\li Message \li Message
\li Description \li Description
\row \row
\li M1 \li M1
\li Error \li Error
\li Invalid value for enum \li Invalid value for enum
\li \li
\row \row
\li M2 \li M2
\li Error \li Error
\li Enum value must be a string or a number \li Enum value must be a string or a number
\li \li
\row \row
\li M3 \li M3
\li Error \li Error
\li Number value expected \li Number value expected
\li \li
\row \row
\li M4 \li M4
\li Error \li Error
\li Boolean value expected \li Boolean value expected
\li \li
\row \row
\li M5 \li M5
\li Error \li Error
\li String value expected \li String value expected
\li \li
\row \row
\li M6 \li M6
\li Error \li Error
\li Invalid URL \li Invalid URL
\li \li
\row \row
\li M7 \li M7
\li Warning \li Warning
\li File or directory does not exist \li File or directory does not exist
\li \li
\row \row
\li M8 \li M8
\li Error \li Error
\li Invalid color \li Invalid color
\li \li
\row \row
\li M9 \li M9
\li Error \li Error
\li Anchor line expected \li Anchor line expected
\li \li
\row \row
\li M10 \li M10
\li Error \li Error
\li Duplicate property binding \li Duplicate property binding
\li \li
\row \row
\li M11 \li M11
\li Error \li Error
\li Id expected \li Id expected
\li \li
\row \row
\li M14 \li M14
\li Error \li Error
\li Invalid id \li Invalid id
\li \li
\row \row
\li M15 \li M15
\li Error \li Error
\li Duplicate id \li Duplicate id
\li Ids in a file must be unique. \li Ids in a file must be unique.
\row \row
\li M16 \li M16
\li Error \li Error
\li Invalid property name 'name' \li Invalid property name 'name'
\li \li
\row \row
\li M17 \li M17
\li Error \li Error
\li 'Name' does not have members \li 'Name' does not have members
\li \li
\row \row
\li M18 \li M18
\li Error \li Error
\li 'Field' is not a member of 'object' \li 'Field' is not a member of 'object'
\li \li
\row \row
\li M19 \li M19
\li Warning \li Warning
\li Assignment in condition \li Assignment in condition
\li It could be a typing error. If it is intentional, wrap the \li It could be a typing error. If it is intentional, wrap the
assignment in parentheses. assignment in parentheses.
\row \row
\li M20 \li M20
@@ -325,9 +325,9 @@
ending with a '// fall through' comment. ending with a '// fall through' comment.
\row \row
\li M23 \li M23
\li Warning \li Warning
\li Do not use 'eval' \li Do not use 'eval'
\li \li
\row \row
@@ -338,45 +338,45 @@
executed. executed.
\row \row
\li M29 \li M29
\li Warning \li Warning
\li Do not use 'with' \li Do not use 'with'
\li \li
\row \row
\li M30 \li M30
\li Warning \li Warning
\li Do not use comma expressions \li Do not use comma expressions
\li \li
\row \row
\li M31 \li M31
\li Warning \li Warning
\li Unnecessary message suppression \li Unnecessary message suppression
\li \li
\row \row
\li M103 \li M103
\li Warning \li Warning
\li 'Name' is already a formal parameter \li 'Name' is already a formal parameter
\li \li
\row \row
\li M104 \li M104
\li Warning \li Warning
\li 'Name' is already a function \li 'Name' is already a function
\li \li
\row \row
\li M105 \li M105
\li Warning \li Warning
\li Var 'name' is used before its declaration \li Var 'name' is used before its declaration
\li \li
\row \row
\li M106 \li M106
\li Warning \li Warning
\li 'Name' is already a var \li 'Name' is already a var
\li \li
\row \row
@@ -389,39 +389,39 @@
effect. effect.
\row \row
\li M108 \li M108
\li Warning \li Warning
\li Function 'name' is used before its declaration \li Function 'name' is used before its declaration
\li \li
\row \row
\li M109 \li M109
\li Warning \li Warning
\li Do not use 'Boolean' as a constructor \li Do not use 'Boolean' as a constructor
\li \li
\row \row
\li M110 \li M110
\li Warning \li Warning
\li Do not use 'String' as a constructor \li Do not use 'String' as a constructor
\li \li
\row \row
\li M111 \li M111
\li Warning \li Warning
\li Do not use 'Object' as a constructor \li Do not use 'Object' as a constructor
\li \li
\row \row
\li M112 \li M112
\li Warning \li Warning
\li Do not use 'Array' as a constructor \li Do not use 'Array' as a constructor
\li \li
\row \row
\li M113 \li M113
\li Warning \li Warning
\li Do not use 'Function' as a constructor \li Do not use 'Function' as a constructor
\li \li
\row \row
@@ -439,33 +439,33 @@
should be avoided. should be avoided.
\row \row
\li M116 \li M116
\li Warning \li Warning
\li Do not use void expressions \li Do not use void expressions
\li \li
\row \row
\li M117 \li M117
\li Warning \li Warning
\li Confusing pluses \li Confusing pluses
\li \li
\row \row
\li M119 \li M119
\li Warning \li Warning
\li Confusing minuses \li Confusing minuses
\li \li
\row \row
\li M121 \li M121
\li Hint \li Hint
\li Declare all function vars on a single line \li Declare all function vars on a single line
\li \li
\row \row
\li M123 \li M123
\li Hint \li Hint
\li Unnecessary parentheses \li Unnecessary parentheses
\li \li
\target m126 \target m126
@@ -486,27 +486,27 @@
\li \li
\row \row
\li M201 \li M201
\li Hint \li Hint
\li Place var declarations at the start of a function \li Place var declarations at the start of a function
\li \li
\row \row
\li M202 \li M202
\li Hint \li Hint
\li Use only one statement per line \li Use only one statement per line
\li \li
\row \row
\li M203 \li M203
\li Warning \li Warning
\li Imperative code is not supported in the Qt Quick Designer \li Imperative code is not supported in the Qt Quick Designer
\li \li
\row \row
\li M204 \li M204
\li Warning \li Warning
\li This QML type is not supported in the Qt Quick Designer \li This QML type is not supported in the Qt Quick Designer
\li \li
\row \row
\li M205 \li M205
@@ -516,16 +516,16 @@
\li \li
\row \row
\li M206 \li M206
\li Warning \li Warning
\li This visual property binding cannot be evaluated in the local \li This visual property binding cannot be evaluated in the local
context and might not show up in Qt Quick Designer as expected context and might not show up in Qt Quick Designer as expected
\li \li
\row \row
\li M207 \li M207
\li Warning \li Warning
\li Qt Quick Designer only supports states in the root QML type \li Qt Quick Designer only supports states in the root QML type
\li \li
\row \row
@@ -548,64 +548,64 @@
\li \li
\row \row
\li M222 \li M222
\li Error \li Error
\li Functions are not supported in a Qt Quick UI form. \li Functions are not supported in a Qt Quick UI form.
\li \li
\row \row
\li M223 \li M223
\li Error \li Error
\li Java Script blocks are not supported in a Qt Quick UI form. \li Java Script blocks are not supported in a Qt Quick UI form.
\li \li
\row \row
\li M224 \li M224
\li Error \li Error
\li Behavior type is not supported in a Qt Quick UI form. \li Behavior type is not supported in a Qt Quick UI form.
\li \li
\row \row
\li M225 \li M225
\li Error \li Error
\li States are only supported in the root item in a Qt Quick UI form. \li States are only supported in the root item in a Qt Quick UI form.
\li \li
\row \row
\li M226 \li M226
\li Error \li Error
\li Referencing the parent of the root item is not supported in a Qt \li Referencing the parent of the root item is not supported in a Qt
Quick UI form. Quick UI form.
\li \li
\row \row
\li M300 \li M300
\li Error \li Error
\li Unknown component \li Unknown component
\li \li
\row \row
\li M301 \li M301
\li Error \li Error
\li Could not resolve the prototype 'name' of 'object' \li Could not resolve the prototype 'name' of 'object'
\li \li
\row \row
\li M302 \li M302
\li Error \li Error
\li Could not resolve the prototype 'name' \li Could not resolve the prototype 'name'
\li \li
\row \row
\li M303 \li M303
\li Error \li Error
\li Prototype cycle, the last non-repeated component is 'name' \li Prototype cycle, the last non-repeated component is 'name'
\li \li
\row \row
\li M304 \li M304
\li Error \li Error
\li Invalid property type 'name' \li Invalid property type 'name'
\li \li
\row \row
\li M305 \li M305
@@ -626,21 +626,21 @@
\li \li
\row \row
\li M308 \li M308
\li Warning \li Warning
\li Do not use 'Number' as a constructor \li Do not use 'Number' as a constructor
\li \li
\row \row
\li M309 \li M309
\li Hint \li Hint
\li Use spaces around binary operators \li Use spaces around binary operators
\li \li
\row \row
\li M310 \li M310
\li Warning \li Warning
\li Unintentional empty block, use ({}) for empty object literal \li Unintentional empty block, use ({}) for empty object literal
\li \li
\row \row
@@ -650,75 +650,75 @@
\li \li
\row \row
\li M312 \li M312
\li Error \li Error
\li Missing property 'number' \li Missing property 'number'
\li \li
\row \row
\li M313 \li M313
\li Error \li Error
\li Object value expected \li Object value expected
\li \li
\row \row
\li M314 \li M314
\li Error \li Error
\li Array value expected \li Array value expected
\li \li
\row \row
\li M315 \li M315
\li Error \li Error
\li 'Value' value expected \li 'Value' value expected
\li \li
\row \row
\li M316 \li M316
\li Error \li Error
\li Maximum number value is 'number' \li Maximum number value is 'number'
\li \li
\row \row
\li M317 \li M317
\li Error \li Error
\li Minimum number value is 'number' \li Minimum number value is 'number'
\li \li
\row \row
\li M318 \li M318
\li Error \li Error
\li Maximum number value is exclusive \li Maximum number value is exclusive
\li \li
\row \row
\li M319 \li M319
\li Error \li Error
\li Minimum number value is exclusive \li Minimum number value is exclusive
\li \li
\row \row
\li M320 \li M320
\li Error \li Error
\li String value does not match required pattern \li String value does not match required pattern
\li \li
\row \row
\li M321 \li M321
\li Error \li Error
\li Minimum string value length is 'number' \li Minimum string value length is 'number'
\li \li
\row \row
\li M322 \li M322
\li Error \li Error
\li Maximum string value length is 'number' \li Maximum string value length is 'number'
\li \li
\row \row
\li M323 \li M323
\li Error \li Error
\li 'Number' elements expected in array value \li 'Number' elements expected in array value
\li \li
\row \row
@@ -774,7 +774,7 @@
\image qtcreator-codecompletion.png \image qtcreator-codecompletion.png
To open the list of suggestions at any time, press \key{Ctrl+Space}. To open the list of suggestions at any time, press \key {Ctrl+Space}.
If only one option is available, \QC inserts it automatically. If only one option is available, \QC inserts it automatically.
When completion is invoked manually, \QC completes the common prefix When completion is invoked manually, \QC completes the common prefix
@@ -983,13 +983,13 @@
\list \list
\li \uicontrol{Pastebin.Com} \li \uicontrol {Pastebin.Com}
\li \uicontrol{Pastebin.Ca} \li \uicontrol {Pastebin.Ca}
\li \uicontrol{Paste.KDE.Org} \li \uicontrol {Paste.KDE.Org}
\li \uicontrol{Shared network drives} \li \uicontrol {Shared network drives}
\endlist \endlist
@@ -1411,7 +1411,7 @@
search is conducted within the selection. search is conducted within the selection.
To replace occurrences of the existing text, enter the new text in the To replace occurrences of the existing text, enter the new text in the
\uicontrol{Replace with} field. \uicontrol {Replace with} field.
\list \list
@@ -1439,9 +1439,9 @@
\li All lower-case occurrences are replaced with the lower-case new text. \li All lower-case occurrences are replaced with the lower-case new text.
\li Capitalized occurrences are replaced with the capitalized new text. \li Capitalized occurrences are replaced with the capitalized new text.
\li Other occurrences are replaced with the new text as entered. \li Other occurrences are replaced with the new text as entered.
\li If an occurrence and the new text have the same prefix or suffix, \li If an occurrence and the new text have the same prefix or suffix,
then the case of the prefix and/or suffix are preserved, and the then the case of the prefix and/or suffix are preserved, and the
@@ -1474,10 +1474,10 @@
\li \uicontrol{Current Project} searches files matching the defined \li \uicontrol{Current Project} searches files matching the defined
file pattern only in the project you are currently editing. file pattern only in the project you are currently editing.
\li \uicontrol{Files on File System} recursively searches files \li \uicontrol {Files on File System} recursively searches files
matching the defined file pattern in the selected directory. matching the defined file pattern in the selected directory.
\li \uicontrol{Current File} searches only the current file. \li \uicontrol {Current File} searches only the current file.
\li \uicontrol {Open Documents} searches all open files. \li \uicontrol {Open Documents} searches all open files.
@@ -1488,7 +1488,7 @@
\image qtcreator-searchresults.png \image qtcreator-searchresults.png
A list of files containing the searched text is displayed in the A list of files containing the searched text is displayed in the
\uicontrol{Search Results} pane. \uicontrol {Search Results} pane.
\list \list
@@ -1587,7 +1587,7 @@
\list \list
\li To go directly to an instance, double-click the instance in the \li To go directly to an instance, double-click the instance in the
\uicontrol{Search Results} pane. \uicontrol {Search Results} pane.
\li To move between instances, click \li To move between instances, click
\inlineimage qtcreator-forward.png \inlineimage qtcreator-forward.png
@@ -1627,7 +1627,7 @@
To omit an instance, uncheck the check-box next to the instance. To omit an instance, uncheck the check-box next to the instance.
\note This action replaces all selected instances of the symbol in \note This action replaces all selected instances of the symbol in
all files listed in the \uicontrol{Search Results} pane. You cannot all files listed in the \uicontrol {Search Results} pane. You cannot
undo this action. undo this action.
\endlist \endlist
@@ -1686,9 +1686,9 @@
\table \table
\header \header
\li Refactoring Action \li Refactoring Action
\li Description \li Description
\li Activation \li Activation
\row \row
\li Add Curly Braces \li Add Curly Braces
\li Adds curly braces to an if statement that does not contain a \li Adds curly braces to an if statement that does not contain a
@@ -1722,7 +1722,7 @@
Type name = foo; Type name = foo;
if (name) {} if (name) {}
\endcode \endcode
\li Name of the introduced variable \li Name of the introduced variable
\row \row
\li Rewrite Condition Using || \li Rewrite Condition Using ||
\li Rewrites the expression according to De Morgan's laws. For example, \li Rewrites the expression according to De Morgan's laws. For example,
@@ -1791,7 +1791,7 @@
int *a; int *a;
int b; int b;
\endcode \endcode
\li Type name or variable name \li Type name or variable name
\row \row
\li Split if Statement \li Split if Statement
\li Splits an if statement into several statements. For example, rewrites: \li Splits an if statement into several statements. For example, rewrites:
@@ -1840,17 +1840,17 @@
\endcode \endcode
\li <= < > >= == != && || \li <= < > >= == != && ||
\row \row
\li Convert to Decimal \li Convert to Decimal
\li Converts an integer literal to decimal representation \li Converts an integer literal to decimal representation
\li Numeric literal \li Numeric literal
\row \row
\li Convert to Hexadecimal \li Convert to Hexadecimal
\li Converts an integer literal to hexadecimal representation \li Converts an integer literal to hexadecimal representation
\li Numeric literal \li Numeric literal
\row \row
\li Convert to Octal \li Convert to Octal
\li Converts an integer literal to octal representation \li Converts an integer literal to octal representation
\li Numeric literal \li Numeric literal
\row \row
\li Convert to Objective-C String Literal \li Convert to Objective-C String Literal
\li Converts a string literal to an Objective-C string literal \li Converts a string literal to an Objective-C string literal
@@ -1867,7 +1867,7 @@
\code \code
@"abcd" @"abcd"
\endcode \endcode
\li String literal \li String literal
\row \row
\li Enclose in QLatin1Char() \li Enclose in QLatin1Char()
\li Sets the encoding for a character to Latin-1, unless the character is \li Sets the encoding for a character to Latin-1, unless the character is
@@ -1883,7 +1883,7 @@
\code \code
QLatin1Char('a') QLatin1Char('a')
\endcode \endcode
\li String literal \li String literal
\row \row
\li Enclose in QLatin1String() \li Enclose in QLatin1String()
\li Sets the encoding for a string to Latin-1, unless the string is \li Sets the encoding for a string to Latin-1, unless the string is
@@ -1899,7 +1899,7 @@
QLatin1String("abcd") QLatin1String("abcd")
\endcode \endcode
\li String literal \li String literal
\row \row
\li Mark as Translatable \li Mark as Translatable
@@ -1912,7 +1912,7 @@
QT_TRANSLATE_NOOP("GLOBAL", "abcd") QT_TRANSLATE_NOOP("GLOBAL", "abcd")
\endcode \endcode
\li String literal \li String literal
\row \row
\li Add Definition in ... \li Add Definition in ...
@@ -1966,7 +1966,7 @@
} }
\endcode \endcode
\li Function name \li Function name
\row \row
\li Add 'Function' Declaration \li Add 'Function' Declaration
\li Inserts the member function declaration that matches the member function \li Inserts the member function declaration that matches the member function
@@ -1974,9 +1974,9 @@
protected, private, public slot, protected slot, or private slot. protected, private, public slot, protected slot, or private slot.
\li Function name \li Function name
\row \row
\li Switch with Next/Previous Parameter \li Switch with Next/Previous Parameter
\li Moves a parameter down or up one position in a parameter list. \li Moves a parameter down or up one position in a parameter list.
\li Parameter in the declaration or definition of a function \li Parameter in the declaration or definition of a function
\row \row
\li Extract Function \li Extract Function
\li Moves the selected code to a new function and replaces the block of \li Moves the selected code to a new function and replaces the block of
@@ -2007,7 +2007,7 @@
where Type is the return type of \c {foo()} where Type is the return type of \c {foo()}
\li Assignee \li Assignee
\row \row
\li Convert to Camel Case \li Convert to Camel Case
@@ -2024,10 +2024,10 @@
\li Generate Missing Q_PROPERTY Members \li Generate Missing Q_PROPERTY Members
\li Adds missing members to a Q_PROPERTY: \li Adds missing members to a Q_PROPERTY:
\list \list
\li \c read function \li \c read function
\li \c write function, if there is a WRITE \li \c write function, if there is a WRITE
\li \c {onChanged} signal, if there is a NOTIFY \li \c {onChanged} signal, if there is a NOTIFY
\li data member with the name \c {m_<propertyName>} \li data member with the name \c {m_<propertyName>}
\endlist \endlist
\li Q_PROPERTY \li Q_PROPERTY
\row \row
@@ -2241,9 +2241,9 @@
\list \list
\li Rename IDs \li Rename IDs
\li Split initializers \li Split initializers
\li Move a QML type into a separate file to reuse it in other \li Move a QML type into a separate file to reuse it in other
.qml files .qml files
@@ -2256,14 +2256,14 @@
\table \table
\header \header
\li Refactoring Action \li Refactoring Action
\li Description \li Description
\li Activation \li Activation
\row \row
\li Move Component into 'filename.qml' \li Move Component into 'filename.qml'
\li Moves a QML type into a separate file \li Moves a QML type into a separate file
\li QML type name \li QML type name
\row \row
\li Split Initializer \li Split Initializer
\li Reformats a one-line type into a multi-line type. For example, \li Reformats a one-line type into a multi-line type. For example,
@@ -2281,7 +2281,8 @@
width: 10 width: 10
} }
\endcode \endcode
\li QML type property
\li QML type property
\row \row
\li Wrap in Loader \li Wrap in Loader
\li Wraps the type in a Component type and loads it dynamically in \li Wraps the type in a Component type and loads it dynamically in
@@ -2464,7 +2465,7 @@
\li Specify the prefix string. \li Specify the prefix string.
\li To show only results matching this filter, select \li To show only results matching this filter, select
\uicontrol{Limit to prefix}. \uicontrol {Limit to prefix}.
\li Specify other available options. For more information, see \li Specify other available options. For more information, see
\l{Adding Web Search Engines}. \l{Adding Web Search Engines}.
@@ -2518,7 +2519,7 @@
\li Click \uicontrol Add. \li Click \uicontrol Add.
\li In the \uicontrol{Filter Configuration} dialog: \li In the \uicontrol {Filter Configuration} dialog:
\list \list
@@ -2533,7 +2534,7 @@
\li Specify the prefix string. \li Specify the prefix string.
To show only results matching this filter, select To show only results matching this filter, select
\uicontrol{Limit to prefix}. \uicontrol {Limit to prefix}.
\image qtcreator-navigate-customfilter.png \image qtcreator-navigate-customfilter.png
@@ -2559,7 +2560,7 @@
\li Select \uicontrol {Tools > Options > Environment > Locator}. \li Select \uicontrol {Tools > Options > Environment > Locator}.
\li In \uicontrol{Refresh interval}, define new time in minutes. \li In \uicontrol {Refresh interval}, define new time in minutes.
\endlist \endlist