summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqvaluevector.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/tqvaluevector.3qt
parent1ba13366a7a377d50b9e8df9044ce11d8209f98c (diff)
downloadtqt3-b35e0845dc9b3c8b9a5e52a682c769f383933fae.tar.gz
tqt3-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/tqvaluevector.3qt')
-rw-r--r--doc/man/man3/tqvaluevector.3qt10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/man/man3/tqvaluevector.3qt b/doc/man/man3/tqvaluevector.3qt
index e74df13a3..a291ab580 100644
--- a/doc/man/man3/tqvaluevector.3qt
+++ b/doc/man/man3/tqvaluevector.3qt
@@ -192,7 +192,7 @@ QValueVector contains and manages a collection of objects of type T and provides
.PP
QValueVector provides good performance if you append or remove elements from the end of the vector. If you insert or remove elements from anywhere but the end, performance is very bad. The reason for this is that elements must to be copied into new positions.
.PP
-Some classes cannot be used within a QValueVector: for example, all classes derived from QObject and thus all classes that implement widgets. Only values can be used in a QValueVector. To qualify as a value the class must provide:
+Some classes cannot be used within a QValueVector: for example, all classes derived from TQObject and thus all classes that implement widgets. Only values can be used in a QValueVector. To qualify as a value the class must provide:
.TP
a copy constructor;
.TP
@@ -223,14 +223,14 @@ Example:
.br
Employee(): s(0) {}
.br
- Employee( const QString& name, int salary )
+ Employee( const TQString& name, int salary )
.br
: n( name ), s( salary )
.br
{ }
.br
.br
- QString name() const { return n; }
+ TQString name() const { return n; }
.br
int salary() const { return s; }
.br
@@ -238,7 +238,7 @@ Example:
.br
private:
.br
- QString n;
+ TQString n;
.br
int s;
.br
@@ -311,7 +311,7 @@ The fastest way to access an element of a vector is by using operator[]. This fu
vec1[10] = 4; // WARNING: undefined, probably a crash
.br
.br
- QValueVector<QString> vec2(25); // initialize with 25 elements
+ QValueVector<TQString> vec2(25); // initialize with 25 elements
.br
vec2[10] = "Dave"; // OK
.br