summaryrefslogtreecommitdiffstats
path: root/doc/tqptrdict.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tqptrdict.doc')
-rw-r--r--doc/tqptrdict.doc14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/tqptrdict.doc b/doc/tqptrdict.doc
index ee4d4655e..95883730c 100644
--- a/doc/tqptrdict.doc
+++ b/doc/tqptrdict.doc
@@ -62,11 +62,11 @@
\code
TQPtrDict<char> fields; // void* keys, char* values
- QLineEdit *le1 = new QLineEdit( this );
+ TQLineEdit *le1 = new TQLineEdit( this );
le1->setText( "Simpson" );
- QLineEdit *le2 = new QLineEdit( this );
+ TQLineEdit *le2 = new TQLineEdit( this );
le2->setText( "Homer" );
- QLineEdit *le3 = new QLineEdit( this );
+ TQLineEdit *le3 = new TQLineEdit( this );
le3->setText( "45" );
fields.insert( le1, "Surname" );
@@ -334,11 +334,11 @@
\code
TQPtrDict<char> fields;
- QLineEdit *le1 = new QLineEdit( this );
+ TQLineEdit *le1 = new TQLineEdit( this );
le1->setText( "Simpson" );
- QLineEdit *le2 = new QLineEdit( this );
+ TQLineEdit *le2 = new TQLineEdit( this );
le2->setText( "Homer" );
- QLineEdit *le3 = new QLineEdit( this );
+ TQLineEdit *le3 = new TQLineEdit( this );
le3->setText( "45" );
fields.insert( le1, "Surname" );
@@ -347,7 +347,7 @@
TQPtrDictIterator<char> it( fields );
for( ; it.current(); ++it ) {
- QLineEdit *le = (QLineEdit)it.currentKey();
+ TQLineEdit *le = (TQLineEdit)it.currentKey();
cout << it.current() << ": " << le->text() << endl;
}
cout << endl;