diff options
author | Luca Di Sera <luca.disera@qt.io> | 2022-09-06 14:41:55 +0200 |
---|---|---|
committer | Luca Di Sera <luca.disera@qt.io> | 2022-09-08 12:46:26 +0200 |
commit | 7938e9ab438d5163897643bd03c1f8f7c32e6d34 (patch) | |
tree | 6934df1547281ebc2a79557fcc915a651594c7fc /src/quick/items/qquicktextinput.cpp | |
parent | 13b42ecf193e3406d735797add3d66f8afc1985e (diff) |
Doc: Remove usages of "\js"
QDoc provides a "\js"/"\endjs", undocumented, unsupported, command pair
to allow writers to write javascript code-blocks in the documentation.
This command is part of a never-finalized javascript support for QDoc
that is now being removed.
To avoid breakages in the documentation, the usages of the command are
now removed.
The commands were replaced by a "\qml"/"\endqml" pair, that should be
mostly equivalent, albeit some highlighting may be lost in the offline
documentation.
Task-number: QTBUG-106275
Change-Id: I765c72542ff46320332d1535fed823421514ed30
Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/quick/items/qquicktextinput.cpp')
-rw-r--r-- | src/quick/items/qquicktextinput.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/quick/items/qquicktextinput.cpp b/src/quick/items/qquicktextinput.cpp index 34f6902666..a45dae2215 100644 --- a/src/quick/items/qquicktextinput.cpp +++ b/src/quick/items/qquicktextinput.cpp @@ -937,10 +937,10 @@ void QQuickTextInput::select(int start, int end) It is equivalent to the following snippet, but is faster and easier to use. - \js + \qml myTextInput.text.toString().substring(myTextInput.selectionStart, myTextInput.selectionEnd); - \endjs + \endqml */ QString QQuickTextInput::selectedText() const { |