diff options
Diffstat (limited to 'doc/tqintdict.doc')
| -rw-r--r-- | doc/tqintdict.doc | 12 | 
1 files changed, 6 insertions, 6 deletions
| diff --git a/doc/tqintdict.doc b/doc/tqintdict.doc index e1df7a59c..07f7c434c 100644 --- a/doc/tqintdict.doc +++ b/doc/tqintdict.doc @@ -62,15 +62,15 @@      Example:      \code -    TQIntDict<QLineEdit> fields; // long int keys, QLineEdit* values +    TQIntDict<TQLineEdit> fields; // long int keys, TQLineEdit* values      for ( int i = 0; i < 3; i++ ) -	fields.insert( i, new QLineEdit( this ) ); +	fields.insert( i, new TQLineEdit( this ) );      fields[0]->setText( "Homer" );      fields[1]->setText( "Simpson" );      fields[2]->setText( "45" ); -    TQIntDictIterator<QLineEdit> it( fields ); +    TQIntDictIterator<TQLineEdit> it( fields );      for ( ; it.current(); ++it )  	cout << it.currentKey() << ": " << it.current()->text() << endl; @@ -327,15 +327,15 @@      Example:      \code -    TQIntDict<QLineEdit> fields; +    TQIntDict<TQLineEdit> fields;      for ( int i = 0; i < 3; i++ ) -	fields.insert( i, new QLineEdit( this ) ); +	fields.insert( i, new TQLineEdit( this ) );      fields[0]->setText( "Homer" );      fields[1]->setText( "Simpson" );      fields[2]->setText( "45" ); -    TQIntDictIterator<QLineEdit> it( fields );  +    TQIntDictIterator<TQLineEdit> it( fields );       for ( ; it.current(); ++it )  	cout << it.currentKey() << ": " << it.current()->text() << endl; | 
