diff options
Diffstat (limited to 'doc/qtl.doc')
-rw-r--r-- | doc/qtl.doc | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/qtl.doc b/doc/qtl.doc index 42eee39c7..aac2128d9 100644 --- a/doc/qtl.doc +++ b/doc/qtl.doc @@ -1,10 +1,10 @@ /**************************************************************************** ** -** Qt Template Library classes documentation +** TQt Template Library classes documentation ** ** Copyright (C) 1992-2008 Trolltech ASA. All rights reserved. ** -** This file is part of the Qt GUI Toolkit. +** This file is part of the TQt GUI Toolkit. ** ** This file may be used under the terms of the GNU General ** Public License versions 2.0 or 3.0 as published by the Free @@ -13,7 +13,7 @@ ** Alternatively you may (at your option) use any later version ** of the GNU General Public License if such license has been ** publicly approved by Trolltech ASA (or its successors, if any) -** and the KDE Free Qt Foundation. +** and the KDE Free TQt Foundation. ** ** Please review the following information to ensure GNU General ** Public Licensing requirements will be met: @@ -40,9 +40,9 @@ \page qt-template-lib.html -\title Qt Template Library +\title TQt Template Library -The Qt Template Library (QTL) is a set of templates that provide +The TQt Template Library (QTL) is a set of templates that provide object containers. If a suitable STL implementation is not available on all your target platforms, the QTL can be used instead. It provides a list of objects, a vector (dynamic array) of objects, a map relating @@ -74,7 +74,7 @@ other QPtrCollection based containers, provides far more sanity checking than a speed-optimized value based container. If you have objects that implement value semantics, and the STL is not -available on your target platform, the Qt Template Library can be used +available on your target platform, the TQt Template Library can be used instead. Value semantics require at least: \list \i a copy constructor; @@ -92,7 +92,7 @@ your data's class. Good candidates for value based classes are QRect, QPoint, QSize, QString and all simple C++ types, such as int, bool or double. -The Qt Template Library is designed for speed. Iterators are extremely +The TQt Template Library is designed for speed. Iterators are extremely fast. To achieve this performance, less error checking is done than in the QPtrCollection based containers. A QTL container, for example, does not track any associated iterators. This makes certain validity @@ -102,7 +102,7 @@ automatically, but does lead to extremely good performance. \target Iterators \section1 Iterators -The Qt Template Library deals with value objects, not with pointers. +The TQt Template Library deals with value objects, not with pointers. For that reason, there is no other way of iterating over containers other than with iterators. This is no disadvantage as the size of an iterator matches the size of a normal pointer. @@ -146,7 +146,7 @@ Iterator is not allowed as it would violate const semantics. \target Algorithms \section1 Algorithms -The Qt Template Library defines a number of algorithms that operate on +The TQt Template Library defines a number of algorithms that operate on its containers. These algorithms are implemented as template functions and provide useful generic code which can be applied to any container that provides iterators (including your own containers). @@ -304,7 +304,7 @@ a container to an OutputIterator, but in reverse order, for example: \section2 QTL Iterators -You can use any Qt Template Library iterator as the OutputIterator. +You can use any TQt Template Library iterator as the OutputIterator. Just make sure that the right hand of the iterator has as many elements present as you want to insert. The following example illustrates this: |