summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqdict.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/ntqdict.html')
-rw-r--r--doc/html/ntqdict.html34
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/html/ntqdict.html b/doc/html/ntqdict.html
index e8eade98..7e182d8f 100644
--- a/doc/html/ntqdict.html
+++ b/doc/html/ntqdict.html
@@ -70,7 +70,7 @@ dictionary based on TQString keys.
The TQDict class is a template class that provides a
-dictionary based on <a href="ntqstring.html">TQString</a> keys.
+dictionary based on <a href="tqstring.html">TQString</a> keys.
<p>
@@ -150,23 +150,23 @@ with a unique name and then access the line edits via the
dictionary.
<p> Example #2:
<pre>
- <a href="ntqstringlist.html">TQStringList</a> styleList = TQStyleFactory::styles();
- styleList.<a href="ntqstringlist.html#sort">sort</a>();
+ <a href="tqstringlist.html">TQStringList</a> styleList = TQStyleFactory::styles();
+ styleList.<a href="tqstringlist.html#sort">sort</a>();
TQDict&lt;int&gt; letterDict( 17, FALSE );
for ( TQStringList::Iterator it = styleList.<a href="tqvaluelist.html#begin">begin</a>(); it != styleList.<a href="tqvaluelist.html#end">end</a>(); ++it ) {
- <a href="ntqstring.html">TQString</a> styleName = *it;
- <a href="ntqstring.html">TQString</a> styleAccel = styleName;
- if ( letterDict[styleAccel.<a href="ntqstring.html#left">left</a>(1)] ) {
- for ( uint i = 0; i &lt; styleAccel.<a href="ntqstring.html#length">length</a>(); i++ ) {
- if ( ! letterDict[styleAccel.<a href="ntqstring.html#mid">mid</a>( i, 1 )] ) {
- styleAccel = styleAccel.<a href="ntqstring.html#insert">insert</a>( i, '&amp;' );
- letterDict.<a href="#insert">insert</a>(styleAccel.<a href="ntqstring.html#mid">mid</a>( i, 1 ), (const int *)1);
+ <a href="tqstring.html">TQString</a> styleName = *it;
+ <a href="tqstring.html">TQString</a> styleAccel = styleName;
+ if ( letterDict[styleAccel.<a href="tqstring.html#left">left</a>(1)] ) {
+ for ( uint i = 0; i &lt; styleAccel.<a href="tqstring.html#length">length</a>(); i++ ) {
+ if ( ! letterDict[styleAccel.<a href="tqstring.html#mid">mid</a>( i, 1 )] ) {
+ styleAccel = styleAccel.<a href="tqstring.html#insert">insert</a>( i, '&amp;' );
+ letterDict.<a href="#insert">insert</a>(styleAccel.<a href="tqstring.html#mid">mid</a>( i, 1 ), (const int *)1);
break;
}
}
} else {
styleAccel = "&amp;" + styleAccel;
- letterDict.<a href="#insert">insert</a>(styleAccel.<a href="ntqstring.html#left">left</a>(1), (const int *)1);
+ letterDict.<a href="#insert">insert</a>(styleAccel.<a href="tqstring.html#left">left</a>(1), (const int *)1);
}
(void) new <a href="ntqaction.html">TQAction</a>( styleName, TQIconSet(), styleAccel, parent );
}
@@ -242,7 +242,7 @@ access this dictionary will be reset.
<p> <p>See also <a href="#isEmpty">isEmpty</a>().
<p>Reimplemented from <a href="tqptrcollection.html#count">TQPtrCollection</a>.
-<h3 class=fn>type * <a name="find"></a>TQDict::find ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;key ) const
+<h3 class=fn>type * <a name="find"></a>TQDict::find ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;key ) const
</h3>
<p> Returns the item with key <em>key</em>, or 0 if the key does not exist
@@ -252,7 +252,7 @@ recently inserted item will be found.
<p> Equivalent to the [] operator.
<p> <p>See also <a href="#operator[]">operator[]</a>().
-<h3 class=fn>void <a name="insert"></a>TQDict::insert ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;key, const&nbsp;type&nbsp;*&nbsp;item )
+<h3 class=fn>void <a name="insert"></a>TQDict::insert ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;key, const&nbsp;type&nbsp;*&nbsp;item )
</h3>
<p> Inserts the key <em>key</em> with value <em>item</em> into the dictionary.
@@ -278,7 +278,7 @@ dictionary.
inserted into this dictionary. Only the pointers are copied
(shallow copy), unless <a href="tqptrcollection.html#newItem">newItem</a>() has been reimplemented.
-<h3 class=fn>type * <a name="operator[]"></a>TQDict::operator[] ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;key ) const
+<h3 class=fn>type * <a name="operator[]"></a>TQDict::operator[] ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;key ) const
</h3>
<p> Returns the item with key <em>key</em>, or 0 if the key does not
@@ -296,7 +296,7 @@ reference to the stream.
<p> The default implementation sets <em>item</em> to 0.
<p> <p>See also <a href="#write">write</a>().
-<h3 class=fn>bool <a name="remove"></a>TQDict::remove ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;key )
+<h3 class=fn>bool <a name="remove"></a>TQDict::remove ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;key )
</h3>
<p> Removes the item with <em>key</em> from the dictionary. Returns TRUE if
@@ -309,7 +309,7 @@ that was inserted will be removed.
set to point to the next item in the dictionary's traversal order.
<p> <p>See also <a href="#take">take</a>(), <a href="#clear">clear</a>(), and <a href="tqptrcollection.html#setAutoDelete">setAutoDelete</a>().
-<h3 class=fn>void <a name="replace"></a>TQDict::replace ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;key, const&nbsp;type&nbsp;*&nbsp;item )
+<h3 class=fn>void <a name="replace"></a>TQDict::replace ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;key, const&nbsp;type&nbsp;*&nbsp;item )
</h3>
<p> Replaces the value of the key, <em>key</em> with <em>item</em>.
@@ -366,7 +366,7 @@ constructor).
<p> Debugging-only function that prints out the dictionary
distribution using <a href="ntqapplication.html#qDebug">tqDebug</a>().
-<h3 class=fn>type * <a name="take"></a>TQDict::take ( const&nbsp;<a href="ntqstring.html">TQString</a>&nbsp;&amp;&nbsp;key )
+<h3 class=fn>type * <a name="take"></a>TQDict::take ( const&nbsp;<a href="tqstring.html">TQString</a>&nbsp;&amp;&nbsp;key )
</h3>
<p> Takes the item with <em>key</em> out of the dictionary without deleting