summaryrefslogtreecommitdiffstats
path: root/doc/tqasciidict.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/tqasciidict.doc')
-rw-r--r--doc/tqasciidict.doc18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/tqasciidict.doc b/doc/tqasciidict.doc
index 07234c504..e3ae6ca00 100644
--- a/doc/tqasciidict.doc
+++ b/doc/tqasciidict.doc
@@ -64,14 +64,14 @@
Example:
\code
- TQAsciiDict<QLineEdit> fields; // char* keys, QLineEdit* values
- fields.insert( "forename", new QLineEdit( this ) );
- fields.insert( "surname", new QLineEdit( this ) );
+ TQAsciiDict<TQLineEdit> fields; // char* keys, TQLineEdit* values
+ fields.insert( "forename", new TQLineEdit( this ) );
+ fields.insert( "surname", new TQLineEdit( this ) );
fields["forename"]->setText( "Homer" );
fields["surname"]->setText( "Simpson" );
- TQAsciiDictIterator<QLineEdit> it( fields ); // See TQAsciiDictIterator
+ TQAsciiDictIterator<TQLineEdit> it( fields ); // See TQAsciiDictIterator
for( ; it.current(); ++it )
cout << it.currentKey() << ": " << it.current()->text() << endl;
cout << endl;
@@ -350,16 +350,16 @@
Example:
\code
- TQAsciiDict<QLineEdit> fields;
- fields.insert( "forename", new QLineEdit( this ) );
- fields.insert( "surname", new QLineEdit( this ) );
- fields.insert( "age", new QLineEdit( this ) );
+ TQAsciiDict<TQLineEdit> fields;
+ fields.insert( "forename", new TQLineEdit( this ) );
+ fields.insert( "surname", new TQLineEdit( this ) );
+ fields.insert( "age", new TQLineEdit( this ) );
fields["forename"]->setText( "Homer" );
fields["surname"]->setText( "Simpson" );
fields["age"]->setText( "45" );
- TQAsciiDictIterator<QLineEdit> it( fields );
+ TQAsciiDictIterator<TQLineEdit> it( fields );
for( ; it.current(); ++it )
cout << it.currentKey() << ": " << it.current()->text() << endl;
cout << endl;