summaryrefslogtreecommitdiffstats
path: root/doc/qtl.doc
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-23 12:42:20 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-24 20:14:25 +0900
commitd73937a9f779e2aafa6c392f94c9c29aa32b78fd (patch)
treee2c52ad435e8cca696acae34b1f451e934675a64 /doc/qtl.doc
parenteb42871e999672a8fad5793733c58be05928c8ea (diff)
downloadtqt-r14.1.1.tar.gz
tqt-r14.1.1.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* versionr14.1.1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit b35e0845dc9b3c8b9a5e52a682c769f383933fae)
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 aac2128d9..5fd0722c7 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.
*/