diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-29 12:43:23 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-29 12:43:23 +0900 |
commit | fef846914f8db6dc117e206ef913d519bf6bb33e (patch) | |
tree | d6567b31f7f22d0c8c66eec947dff1960efa25ac /doc/tqdict.doc | |
parent | 8ef4ea451dd81dd66b34ed31aaa631f6df24a192 (diff) | |
download | tqt3-fef846914f8db6dc117e206ef913d519bf6bb33e.tar.gz tqt3-fef846914f8db6dc117e206ef913d519bf6bb33e.zip |
Rename basic widget nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/tqdict.doc')
-rw-r--r-- | doc/tqdict.doc | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/tqdict.doc b/doc/tqdict.doc index 6b8823ff9..0dffb2032 100644 --- a/doc/tqdict.doc +++ b/doc/tqdict.doc @@ -112,14 +112,14 @@ Example #1: \code - TQDict<QLineEdit> fields; // TQString keys, QLineEdit* values - fields.insert( "forename", new QLineEdit( this ) ); - fields.insert( "surname", new QLineEdit( this ) ); + TQDict<TQLineEdit> fields; // TQString keys, TQLineEdit* values + fields.insert( "forename", new TQLineEdit( this ) ); + fields.insert( "surname", new TQLineEdit( this ) ); fields["forename"]->setText( "Homer" ); fields["surname"]->setText( "Simpson" ); - TQDictIterator<QLineEdit> it( fields ); // See TQDictIterator + TQDictIterator<TQLineEdit> it( fields ); // See TQDictIterator for( ; it.current(); ++it ) cout << it.currentKey() << ": " << it.current()->text() << endl; cout << endl; @@ -433,16 +433,16 @@ Example: \code - TQDict<QLineEdit> fields; - fields.insert( "forename", new QLineEdit( this ) ); - fields.insert( "surname", new QLineEdit( this ) ); - fields.insert( "age", new QLineEdit( this ) ); + TQDict<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" ); - TQDictIterator<QLineEdit> it( fields ); + TQDictIterator<TQLineEdit> it( fields ); for( ; it.current(); ++it ) cout << it.currentKey() << ": " << it.current()->text() << endl; cout << endl; |