aboutsummaryrefslogtreecommitdiffstats
path: root/src/quick/items/qquicktextinput.cpp
diff options
context:
space:
mode:
authorBea Lam <bea.lam@nokia.com>2012-08-06 14:25:24 +1000
committerQt by Nokia <qt-info@nokia.com>2012-08-08 04:11:17 +0200
commitb2120f68683b7948891d72fe077f44ab7e6baf18 (patch)
treeede9def668f55f2f32448700da5e6fdf80b3cad6 /src/quick/items/qquicktextinput.cpp
parentec519529087cc3005d55242569dcbca3dcee91bf (diff)
Fix uses of various qml doc commands
Signals documented with \qmlsignal should indicate handler name, i.e. 'onSignal' rather than 'signal'. Methods documented with \qmlmethod do not need to document 'void' return values. Also the name of any documented attribute should be qualified with 'QtQuick2::<qmltype>'. Change-Id: I206dd9e8f39c3b84e029ae9d4101b05d0bfb3478 Reviewed-by: Andrew den Exter <andrew.den-exter@nokia.com>
Diffstat (limited to 'src/quick/items/qquicktextinput.cpp')
-rw-r--r--src/quick/items/qquicktextinput.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/quick/items/qquicktextinput.cpp b/src/quick/items/qquicktextinput.cpp
index 54cea8b9ce..60157a6fe4 100644
--- a/src/quick/items/qquicktextinput.cpp
+++ b/src/quick/items/qquicktextinput.cpp
@@ -791,7 +791,7 @@ int QQuickTextInput::selectionEnd() const
return d->lastSelectionEnd;
}
/*!
- \qmlmethod void QtQuick2::TextInput::select(int start, int end)
+ \qmlmethod QtQuick2::TextInput::select(int start, int end)
Causes the text from \a start to \a end to be selected.
@@ -1853,7 +1853,7 @@ QVariant QQuickTextInput::inputMethodQuery(Qt::InputMethodQuery property) const
}
/*!
- \qmlmethod void QtQuick2::TextInput::deselect()
+ \qmlmethod QtQuick2::TextInput::deselect()
Removes active text selection.
*/
@@ -1864,7 +1864,7 @@ void QQuickTextInput::deselect()
}
/*!
- \qmlmethod void QtQuick2::TextInput::selectAll()
+ \qmlmethod QtQuick2::TextInput::selectAll()
Causes all text to be selected.
*/
@@ -1875,7 +1875,7 @@ void QQuickTextInput::selectAll()
}
/*!
- \qmlmethod void QtQuick2::TextInput::isRightToLeft(int start, int end)
+ \qmlmethod QtQuick2::TextInput::isRightToLeft(int start, int end)
Returns true if the natural reading direction of the editor text
found between positions \a start and \a end is right to left.
@@ -1962,7 +1962,7 @@ void QQuickTextInput::redo()
}
/*!
- \qmlmethod void QtQuick2::TextInput::insert(int position, string text)
+ \qmlmethod QtQuick2::TextInput::insert(int position, string text)
Inserts \a text into the TextInput at position.
*/
@@ -2114,7 +2114,7 @@ void QQuickTextInput::remove(int start, int end)
/*!
- \qmlmethod void QtQuick2::TextInput::selectWord()
+ \qmlmethod QtQuick2::TextInput::selectWord()
Causes the word closest to the current cursor position to be selected.
*/
@@ -2320,7 +2320,7 @@ void QQuickTextInput::moveCursorSelection(int position)
}
/*!
- \qmlmethod void QtQuick2::TextInput::moveCursorSelection(int position, SelectionMode mode = TextInput.SelectCharacters)
+ \qmlmethod QtQuick2::TextInput::moveCursorSelection(int position, SelectionMode mode = TextInput.SelectCharacters)
Moves the cursor to \a position and updates the selection according to the optional \a mode
parameter. (To only move the cursor, set the \l cursorPosition property.)