summaryrefslogtreecommitdiffstats
path: root/doc/qvaluevector.doc
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-23 12:42:20 +0900
committerMichele Calgaro <[email protected]>2023-09-24 20:14:25 +0900
commitd73937a9f779e2aafa6c392f94c9c29aa32b78fd (patch)
treee2c52ad435e8cca696acae34b1f451e934675a64 /doc/qvaluevector.doc
parenteb42871e999672a8fad5793733c58be05928c8ea (diff)
downloadtqt3-d73937a9f779e2aafa6c392f94c9c29aa32b78fd.tar.gz
tqt3-d73937a9f779e2aafa6c392f94c9c29aa32b78fd.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* versionr14.1.1
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit b35e0845dc9b3c8b9a5e52a682c769f383933fae)
Diffstat (limited to 'doc/qvaluevector.doc')
-rw-r--r--doc/qvaluevector.doc10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/qvaluevector.doc b/doc/qvaluevector.doc
index 262b66b58..c4df61f85 100644
--- a/doc/qvaluevector.doc
+++ b/doc/qvaluevector.doc
@@ -75,7 +75,7 @@
positions.
Some classes cannot be used within a QValueVector: for example,
- all classes derived from QObject and thus all classes that
+ 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:
\list
@@ -102,15 +102,15 @@
{
public:
Employee(): s(0) {}
- Employee( const QString& name, int salary )
+ Employee( const TQString& name, int salary )
: n( name ), s( salary )
{ }
- QString name() const { return n; }
+ TQString name() const { return n; }
int salary() const { return s; }
void setSalary( int salary ) { s = salary; }
private:
- QString n;
+ TQString n;
int s;
};
@@ -174,7 +174,7 @@
QValueVector<int> vec1; // an empty vector
vec1[10] = 4; // WARNING: undefined, probably a crash
- QValueVector<QString> vec2(25); // initialize with 25 elements
+ QValueVector<TQString> vec2(25); // initialize with 25 elements
vec2[10] = "Dave"; // OK
\endcode