summaryrefslogtreecommitdiffstats
path: root/doc/html/tqptrdict.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-29 12:43:23 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-29 12:43:23 +0900
commitfef846914f8db6dc117e206ef913d519bf6bb33e (patch)
treed6567b31f7f22d0c8c66eec947dff1960efa25ac /doc/html/tqptrdict.html
parent8ef4ea451dd81dd66b34ed31aaa631f6df24a192 (diff)
downloadtqt-fef84691.tar.gz
tqt-fef84691.zip
Rename basic widget nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tqptrdict.html')
-rw-r--r--doc/html/tqptrdict.html18
1 files changed, 9 insertions, 9 deletions
diff --git a/doc/html/tqptrdict.html b/doc/html/tqptrdict.html
index 5bd2fe8be..8332ded16 100644
--- a/doc/html/tqptrdict.html
+++ b/doc/html/tqptrdict.html
@@ -82,12 +82,12 @@ pointer. Dictionaries provide very fast insertion and lookup.
<pre>
TQPtrDict&lt;char&gt; fields; // void* keys, char* values
- <a href="ntqlineedit.html">TQLineEdit</a> *le1 = new <a href="ntqlineedit.html">TQLineEdit</a>( this );
- le1-&gt;<a href="ntqlineedit.html#setText">setText</a>( "Simpson" );
- <a href="ntqlineedit.html">TQLineEdit</a> *le2 = new <a href="ntqlineedit.html">TQLineEdit</a>( this );
- le2-&gt;<a href="ntqlineedit.html#setText">setText</a>( "Homer" );
- <a href="ntqlineedit.html">TQLineEdit</a> *le3 = new <a href="ntqlineedit.html">TQLineEdit</a>( this );
- le3-&gt;<a href="ntqlineedit.html#setText">setText</a>( "45" );
+ <a href="tqlineedit.html">TQLineEdit</a> *le1 = new <a href="tqlineedit.html">TQLineEdit</a>( this );
+ le1-&gt;<a href="tqlineedit.html#setText">setText</a>( "Simpson" );
+ <a href="tqlineedit.html">TQLineEdit</a> *le2 = new <a href="tqlineedit.html">TQLineEdit</a>( this );
+ le2-&gt;<a href="tqlineedit.html#setText">setText</a>( "Homer" );
+ <a href="tqlineedit.html">TQLineEdit</a> *le3 = new <a href="tqlineedit.html">TQLineEdit</a>( this );
+ le3-&gt;<a href="tqlineedit.html#setText">setText</a>( "45" );
fields.<a href="#insert">insert</a>( le1, "Surname" );
fields.<a href="#insert">insert</a>( le2, "Forename" );
@@ -99,12 +99,12 @@ pointer. Dictionaries provide very fast insertion and lookup.
cout &lt;&lt; endl;
if ( fields[le1] ) // Prints "Surname: Simpson"
- cout &lt;&lt; fields[le1] &lt;&lt; ": " &lt;&lt; le1-&gt;<a href="ntqlineedit.html#text">text</a>() &lt;&lt; endl;
+ cout &lt;&lt; fields[le1] &lt;&lt; ": " &lt;&lt; le1-&gt;<a href="tqlineedit.html#text">text</a>() &lt;&lt; endl;
if ( fields[le2] ) // Prints "Forename: Homer"
- cout &lt;&lt; fields[le2] &lt;&lt; ": " &lt;&lt; le2-&gt;<a href="ntqlineedit.html#text">text</a>() &lt;&lt; endl;
+ cout &lt;&lt; fields[le2] &lt;&lt; ": " &lt;&lt; le2-&gt;<a href="tqlineedit.html#text">text</a>() &lt;&lt; endl;
fields.<a href="#remove">remove</a>( le1 ); // Removes le1 from the dictionary
- cout &lt;&lt; le1-&gt;<a href="ntqlineedit.html#text">text</a>() &lt;&lt; endl; // Prints "Simpson"
+ cout &lt;&lt; le1-&gt;<a href="tqlineedit.html#text">text</a>() &lt;&lt; endl; // Prints "Simpson"
</pre>
In this example we use a dictionary to add an extra property (a