summaryrefslogtreecommitdiffstats
path: root/doc/qtl.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/qtl.doc')
-rw-r--r--doc/qtl.doc18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/qtl.doc b/doc/qtl.doc
index aac2128d..5fd0722c 100644
--- a/doc/qtl.doc
+++ b/doc/qtl.doc
@@ -66,7 +66,7 @@ object code.
If you cannot make copies of the objects you want to store you should
use QPtrCollection and friends, all of which operate on pointers
rather than values. This applies, for example, to all classes derived
-from \l QObject. A QObject does not have a copy constructor, so using
+from \l TQObject. A TQObject does not have a copy constructor, so using
it as value is impossible. You may choose to store pointers to
QObjects in a QValueList, but using QPtrList directly seems to be the
better choice for this kind of application domain. QPtrList, like all
@@ -90,7 +90,7 @@ If you intend sorting your data you must implement \c{operator<()} for
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.
+TQString and all simple C++ types, such as int, bool or double.
The TQt Template Library is designed for speed. Iterators are extremely
fast. To achieve this performance, less error checking is done than in
@@ -125,7 +125,7 @@ operator (it++, it--), since the former is slightly faster.
The same concept applies to the other container classes:
\code
- typedef QMap<QString,QString> Map;
+ typedef QMap<TQString,TQString> Map;
Map map;
for( Map::iterator it = map.begin(); it != map.end(); ++it )
printf( "Key=%s Data=%s\n", it.key().ascii(), it.data().ascii() );
@@ -186,8 +186,8 @@ Naturally, the sorting templates won't work with const iterators.
tqSwap() exchanges the values of two variables:
\code
- QString second( "Einstein" );
- QString name( "Albert" );
+ TQString second( "Einstein" );
+ TQString name( "Albert" );
tqSwap( second, name );
\endcode
@@ -315,7 +315,7 @@ illustrates this:
list2 << "Torben" << "Matthias";
tqCopy( list2.begin(), list2.end(), list1.begin() );
- QValueVector<QString> vec( list1.size(), "Dave" );
+ QValueVector<TQString> vec( list1.size(), "Dave" );
tqCopy( list2.begin(), list2.end(), vec.begin() );
\endcode
@@ -358,10 +358,10 @@ The same applies to QStringList, QValueStack and QMap.
*/
/*!
- \fn QPair qMakePair(T1 t1, T2 t2)
+ \fn TQPair qMakePair(T1 t1, T2 t2)
- \relates QPair
+ \relates TQPair
This is a template convenience function. It is used to create a
- QPair\<\> object that contains \a t1 and \a t2.
+ TQPair\<\> object that contains \a t1 and \a t2.
*/