diff options
author | Geir Vattekar <geir.vattekar@nokia.com> | 2011-02-17 12:14:01 (GMT) |
---|---|---|
committer | Geir Vattekar <geir.vattekar@nokia.com> | 2011-02-17 12:14:01 (GMT) |
commit | f5f2eb86b5a9fb4bcc479a4fdba4024e5544ba24 (patch) | |
tree | f0a0cc24f418c40cc03a61e493e7412c5d9a88f9 /src/qt3support/tools/q3ptrlist.qdoc | |
parent | 45153a37e4d9e39e8c326a0f33ea17be49bb29e2 (diff) | |
parent | ebd3c48478539c7b2ec76af5c385b690460c3e15 (diff) | |
download | Qt-f5f2eb86b5a9fb4bcc479a4fdba4024e5544ba24.zip Qt-f5f2eb86b5a9fb4bcc479a4fdba4024e5544ba24.tar.gz Qt-f5f2eb86b5a9fb4bcc479a4fdba4024e5544ba24.tar.bz2 |
Merge branch '4.7' of scm.dev.nokia.troll.no:qt/qt-doc-team into 4.7
Diffstat (limited to 'src/qt3support/tools/q3ptrlist.qdoc')
-rw-r--r-- | src/qt3support/tools/q3ptrlist.qdoc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/qt3support/tools/q3ptrlist.qdoc b/src/qt3support/tools/q3ptrlist.qdoc index 13e478e..e19d6bf 100644 --- a/src/qt3support/tools/q3ptrlist.qdoc +++ b/src/qt3support/tools/q3ptrlist.qdoc @@ -54,10 +54,10 @@ \target example Example: - \snippet doc/src/snippets/code/doc_src_q3ptrlist.qdoc 0 + \snippet doc/src/snippets/code/doc_src_q3ptrlist.cpp 0 The output is - \snippet doc/src/snippets/code/doc_src_q3ptrlist.qdoc 1 + \snippet doc/src/snippets/code/doc_src_q3ptrlist.cpp 1 Q3PtrList has several member functions for traversing the list, but using a Q3PtrListIterator can be more practical. Multiple list @@ -353,7 +353,7 @@ auto-deletion\endlink is enabled. Equivalent to: - \snippet doc/src/snippets/code/doc_src_q3ptrlist.qdoc 2 + \snippet doc/src/snippets/code/doc_src_q3ptrlist.cpp 2 The item after the removed item becomes the new current list item if the removed item is not the last item in the list. If the last @@ -785,10 +785,10 @@ but it uses Q3PtrListIterator. The class Employee is defined there. - \snippet doc/src/snippets/code/doc_src_q3ptrlist.qdoc 3 + \snippet doc/src/snippets/code/doc_src_q3ptrlist.cpp 3 The output is - \snippet doc/src/snippets/code/doc_src_q3ptrlist.qdoc 4 + \snippet doc/src/snippets/code/doc_src_q3ptrlist.cpp 4 Using a list iterator is a more robust way of traversing the list than using the Q3PtrList member functions \link Q3PtrList::first() |