summaryrefslogtreecommitdiffstats
path: root/src/gui/text
diff options
context:
space:
mode:
authorJerome Pasion <jerome.pasion@nokia.com>2010-08-31 14:42:50 (GMT)
committerJerome Pasion <jerome.pasion@nokia.com>2010-08-31 14:42:50 (GMT)
commit9e4a58cd4fc2e041ec311b471508abbb65179339 (patch)
treec0a677dd39784984465388c0a64a057648bb815c /src/gui/text
parent8b2fdaf81ed4c52a75fe3a160c20f76a4eaf1d2b (diff)
downloadQt-9e4a58cd4fc2e041ec311b471508abbb65179339.zip
Qt-9e4a58cd4fc2e041ec311b471508abbb65179339.tar.gz
Qt-9e4a58cd4fc2e041ec311b471508abbb65179339.tar.bz2
Clarified iterator semantic in documentation and added a code snippet to a QML signal handler.
Reviewed by: David Boddie Tasks:QTBUG-13243, QTBUG-11779
Diffstat (limited to 'src/gui/text')
-rw-r--r--src/gui/text/qtextobject.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/text/qtextobject.cpp b/src/gui/text/qtextobject.cpp
index d25fb05..ea2ef2d 100644
--- a/src/gui/text/qtextobject.cpp
+++ b/src/gui/text/qtextobject.cpp
@@ -616,6 +616,7 @@ void QTextFramePrivate::remove_me()
/*!
Returns an iterator pointing to the first document element inside the frame.
+ Please see the document \l{STL-style-Iterators} for more information.
\sa end()
*/
@@ -628,8 +629,8 @@ QTextFrame::iterator QTextFrame::begin() const
}
/*!
- Returns an iterator pointing to the last document element inside the frame.
-
+ Returns an iterator pointing to the position past the last document element inside the frame.
+ Please see the document \l{STL-Style Iterators} for more information.
\sa begin()
*/
QTextFrame::iterator QTextFrame::end() const