summaryrefslogtreecommitdiffstats
path: root/doc/qvaluelist.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/qvaluelist.doc')
-rw-r--r--doc/qvaluelist.doc12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/qvaluelist.doc b/doc/qvaluelist.doc
index ba05b7fb5..2727356f4 100644
--- a/doc/qvaluelist.doc
+++ b/doc/qvaluelist.doc
@@ -70,7 +70,7 @@
pointer-based containers.
Some classes cannot be used within a QValueList, for example, all
- classes derived from QObject and thus all classes that implement
+ 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:
\list
@@ -98,18 +98,18 @@
{
public:
Employee(): sn(0) {}
- Employee( const QString& forename, const QString& surname, int salary )
+ Employee( const TQString& forename, const TQString& surname, int salary )
: fn(forename), sn(surname), sal(salary)
{}
- QString forename() const { return fn; }
- QString surname() const { return sn; }
+ TQString forename() const { return fn; }
+ TQString surname() const { return sn; }
int salary() const { return sal; }
void setSalary( int salary ) { sal = salary; }
private:
- QString fn;
- QString sn;
+ TQString fn;
+ TQString sn;
int sal;
};