diff options
Diffstat (limited to 'doc/man/man3/tqvaluelist.3qt')
-rw-r--r-- | doc/man/man3/tqvaluelist.3qt | 12 |
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 |