summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqvaluelist.3qt
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-23 12:42:20 +0900
commitb35e0845dc9b3c8b9a5e52a682c769f383933fae (patch)
treee4eeca8f6fe0ca87e774be98eabf89b4c7fca347 /doc/man/man3/tqvaluelist.3qt
parent1ba13366a7a377d50b9e8df9044ce11d8209f98c (diff)
downloadtqt-b35e0845dc9b3c8b9a5e52a682c769f383933fae.tar.gz
tqt-b35e0845dc9b3c8b9a5e52a682c769f383933fae.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqvaluelist.3qt')
-rw-r--r--doc/man/man3/tqvaluelist.3qt12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/man/man3/tqvaluelist.3qt b/doc/man/man3/tqvaluelist.3qt
index 9c4dade22..414bb6f91 100644
--- a/doc/man/man3/tqvaluelist.3qt
+++ b/doc/man/man3/tqvaluelist.3qt
@@ -234,7 +234,7 @@ QValueList<T> defines a template instance to create a list of values that all ha
.PP
QValueList contains and manages a collection of objects of type T and provides iterators that allow the contained objects to be addressed. QValueList owns the contained items. For more relaxed ownership semantics, see QPtrCollection and friends which are pointer-based containers.
.PP
-Some classes cannot be used within a QValueList, for example, all classes derived from QObject and thus all classes that implement widgets. Only values can be used in a QValueList. To qualify as a value the class must provide:
+Some classes cannot be used within a QValueList, for example, all classes derived from TQObject and thus all classes that implement widgets. Only values can be used in a QValueList. To qualify as a value the class must provide:
.TP
a copy constructor;
.TP
@@ -260,16 +260,16 @@ Example:
.br
Employee(): sn(0) {}
.br
- Employee( const QString& forename, const QString& surname, int salary )
+ Employee( const TQString& forename, const TQString& surname, int salary )
.br
: fn(forename), sn(surname), sal(salary)
.br
{}
.br
.br
- QString forename() const { return fn; }
+ TQString forename() const { return fn; }
.br
- QString surname() const { return sn; }
+ TQString surname() const { return sn; }
.br
int salary() const { return sal; }
.br
@@ -278,9 +278,9 @@ Example:
.br
private:
.br
- QString fn;
+ TQString fn;
.br
- QString sn;
+ TQString sn;
.br
int sal;
.br