diff options
Diffstat (limited to 'doc/html/ntqlistbox.html')
-rw-r--r-- | doc/html/ntqlistbox.html | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/doc/html/ntqlistbox.html b/doc/html/ntqlistbox.html index 145364354..28fa0835a 100644 --- a/doc/html/ntqlistbox.html +++ b/doc/html/ntqlistbox.html @@ -253,7 +253,7 @@ the mouse wheel. <p> New items can be inserted using <a href="#insertItem">insertItem</a>(), <a href="#insertStrList">insertStrList</a>() or <a href="#insertStringList">insertStringList</a>(). <a href="#inSort">inSort</a>() is obsolete because this method is quite inefficient. It's preferable to insert the items normally -and call <a href="#sort">sort</a>() afterwards, or to insert a sorted <a href="ntqstringlist.html">TQStringList</a>(). +and call <a href="#sort">sort</a>() afterwards, or to insert a sorted <a href="tqstringlist.html">TQStringList</a>(). <p> By default, vertical and horizontal scroll bars are added and removed as necessary. <a href="ntqscrollview.html#setHScrollBarMode">setHScrollBarMode</a>() and <a href="ntqscrollview.html#setVScrollBarMode">setVScrollBarMode</a>() can be used to change this policy. @@ -380,7 +380,7 @@ negative or too large, <a href="#changeItem">changeItem</a>() does nothing. <p> The item that has been changed will become selected. <p> <p>See also <a href="#insertItem">insertItem</a>() and <a href="#removeItem">removeItem</a>(). -<h3 class=fn>void <a name="changeItem-2"></a>TQListBox::changeItem ( const <a href="ntqstring.html">TQString</a> & text, int index ) +<h3 class=fn>void <a name="changeItem-2"></a>TQListBox::changeItem ( const <a href="tqstring.html">TQString</a> & text, int index ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Replaces the item at position <em>index</em> with a new list box text @@ -396,7 +396,7 @@ item with pixmap <em>pixmap</em>. <p> The operation is ignored if <em>index</em> is out of range. <p> <p>See also <a href="#insertItem">insertItem</a>() and <a href="#removeItem">removeItem</a>(). -<h3 class=fn>void <a name="changeItem-4"></a>TQListBox::changeItem ( const <a href="ntqpixmap.html">TQPixmap</a> & pixmap, const <a href="ntqstring.html">TQString</a> & text, int index ) +<h3 class=fn>void <a name="changeItem-4"></a>TQListBox::changeItem ( const <a href="ntqpixmap.html">TQPixmap</a> & pixmap, const <a href="tqstring.html">TQString</a> & text, int index ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Replaces the item at position <em>index</em> with a new list box pixmap @@ -464,7 +464,7 @@ item. <em>item</em> is the new current list box item. <h3 class=fn>int <a name="currentItem"></a>TQListBox::currentItem () const </h3><p>Returns the current highlighted item. See the <a href="ntqlistbox.html#currentItem-prop">"currentItem"</a> property for details. -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="currentText"></a>TQListBox::currentText () const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="currentText"></a>TQListBox::currentText () const </h3><p>Returns the text of the current item. See the <a href="ntqlistbox.html#currentText-prop">"currentText"</a> property for details. <h3 class=fn>void <a name="doLayout"></a>TQListBox::doLayout () const<tt> [protected]</tt> @@ -484,7 +484,7 @@ the mouse cursor isn't on any item. </h3> Ensures that the current item is visible. -<h3 class=fn><a href="qlistboxitem.html">TQListBoxItem</a> * <a name="findItem"></a>TQListBox::findItem ( const <a href="ntqstring.html">TQString</a> & text, ComparisonFlags compare = BeginsWith ) const +<h3 class=fn><a href="qlistboxitem.html">TQListBoxItem</a> * <a name="findItem"></a>TQListBox::findItem ( const <a href="tqstring.html">TQString</a> & text, ComparisonFlags compare = BeginsWith ) const </h3> Finds the first list box item that has the text <em>text</em> and returns it, or returns 0 of no such item could be found. @@ -514,7 +514,7 @@ returns 0. item. <em>index</em> is the index of the new current item. <p> <p>See also <a href="#currentChanged">currentChanged</a>(), <a href="#selected">selected</a>(), <a href="#currentItem-prop">currentItem</a>, and <a href="#selectionChanged">selectionChanged</a>(). -<h3 class=fn>void <a name="highlighted-2"></a>TQListBox::highlighted ( const <a href="ntqstring.html">TQString</a> & )<tt> [signal]</tt> +<h3 class=fn>void <a name="highlighted-2"></a>TQListBox::highlighted ( const <a href="tqstring.html">TQString</a> & )<tt> [signal]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> This signal is emitted when the user makes a new item the current @@ -541,7 +541,7 @@ order. inSort() treats any pixmap (or user-defined type) as lexicographically less than any string. <p> <p>See also <a href="#insertItem">insertItem</a>() and <a href="#sort">sort</a>(). -<h3 class=fn>int <a name="inSort-2"></a>TQListBox::inSort ( const <a href="ntqstring.html">TQString</a> & text ) +<h3 class=fn>int <a name="inSort-2"></a>TQListBox::inSort ( const <a href="tqstring.html">TQString</a> & text ) </h3> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. <p> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -575,7 +575,7 @@ This is an overloaded member function, provided for convenience. It behaves esse at the beginning if <em>after</em> is 0. <p> <p>See also <a href="#insertStrList">insertStrList</a>(). -<h3 class=fn>void <a name="insertItem-3"></a>TQListBox::insertItem ( const <a href="ntqstring.html">TQString</a> & text, int index = -1 ) +<h3 class=fn>void <a name="insertItem-3"></a>TQListBox::insertItem ( const <a href="tqstring.html">TQString</a> & text, int index = -1 ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Inserts a new list box text item with the text <em>text</em> into the @@ -593,7 +593,7 @@ the list at position <em>index</em>. list. <p> <p>See also <a href="#insertStrList">insertStrList</a>(). -<h3 class=fn>void <a name="insertItem-5"></a>TQListBox::insertItem ( const <a href="ntqpixmap.html">TQPixmap</a> & pixmap, const <a href="ntqstring.html">TQString</a> & text, int index = -1 ) +<h3 class=fn>void <a name="insertItem-5"></a>TQListBox::insertItem ( const <a href="ntqpixmap.html">TQPixmap</a> & pixmap, const <a href="tqstring.html">TQString</a> & text, int index = -1 ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Inserts a new list box pixmap item with the pixmap <em>pixmap</em> and @@ -602,12 +602,12 @@ the text <em>text</em> into the list at position <em>index</em>. list. <p> <p>See also <a href="#insertStrList">insertStrList</a>(). -<h3 class=fn>void <a name="insertStrList"></a>TQListBox::insertStrList ( const <a href="ntqstrlist.html">TQStrList</a> * list, int index = -1 ) +<h3 class=fn>void <a name="insertStrList"></a>TQListBox::insertStrList ( const <a href="tqstrlist.html">TQStrList</a> * list, int index = -1 ) </h3> Inserts the string list <em>list</em> into the list at position <em>index</em>. <p> If <em>index</em> is negative, <em>list</em> is inserted at the end of the list. If <em>index</em> is too large, the operation is ignored. -<p> <b>Warning:</b> This function uses <tt>const char *</tt> rather than <a href="ntqstring.html">TQString</a>, +<p> <b>Warning:</b> This function uses <tt>const char *</tt> rather than <a href="tqstring.html">TQString</a>, so we recommend against using it. It is provided so that legacy code will continue to work, and so that programs that certainly will not need to handle code outside a single 8-bit locale can use @@ -616,13 +616,13 @@ it. See <a href="#insertStringList">insertStringList</a>() which uses real TQStr around <a href="#insertItem">insertItem</a>(). <p> <p>See also <a href="#insertItem">insertItem</a>() and <a href="#insertStringList">insertStringList</a>(). -<h3 class=fn>void <a name="insertStrList-2"></a>TQListBox::insertStrList ( const <a href="ntqstrlist.html">TQStrList</a> & list, int index = -1 ) +<h3 class=fn>void <a name="insertStrList-2"></a>TQListBox::insertStrList ( const <a href="tqstrlist.html">TQStrList</a> & list, int index = -1 ) </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Inserts the string list <em>list</em> into the list at position <em>index</em>. <p> If <em>index</em> is negative, <em>list</em> is inserted at the end of the list. If <em>index</em> is too large, the operation is ignored. -<p> <b>Warning:</b> This function uses <tt>const char *</tt> rather than <a href="ntqstring.html">TQString</a>, +<p> <b>Warning:</b> This function uses <tt>const char *</tt> rather than <a href="tqstring.html">TQString</a>, so we recommend against using it. It is provided so that legacy code will continue to work, and so that programs that certainly will not need to handle code outside a single 8-bit locale can use @@ -639,7 +639,7 @@ list at position <em>index</em>. <p> If <em>index</em> is negative, <a href="#insertStrList">insertStrList</a>() inserts <em>strings</em> at the end of the list. If <em>index</em> is too large, the operation is ignored. -<p> <b>Warning:</b> This function uses <tt>const char *</tt> rather than <a href="ntqstring.html">TQString</a>, +<p> <b>Warning:</b> This function uses <tt>const char *</tt> rather than <a href="tqstring.html">TQString</a>, so we recommend against using it. It is provided so that legacy code will continue to work, and so that programs that certainly will not need to handle code outside a single 8-bit locale can use @@ -648,7 +648,7 @@ it. See <a href="#insertStringList">insertStringList</a>() which uses real TQStr around <a href="#insertItem">insertItem</a>(). <p> <p>See also <a href="#insertItem">insertItem</a>() and <a href="#insertStringList">insertStringList</a>(). -<h3 class=fn>void <a name="insertStringList"></a>TQListBox::insertStringList ( const <a href="ntqstringlist.html">TQStringList</a> & list, int index = -1 ) +<h3 class=fn>void <a name="insertStringList"></a>TQListBox::insertStringList ( const <a href="tqstringlist.html">TQStringList</a> & list, int index = -1 ) </h3> Inserts the string list <em>list</em> into the list at position <em>index</em>. <p> If <em>index</em> is negative, <em>list</em> is inserted at the end of the @@ -862,7 +862,7 @@ presses Enter on the current item. <em>index</em> is the index of the selected item. <p> <p>See also <a href="#currentChanged">currentChanged</a>(), <a href="#highlighted">highlighted</a>(), and <a href="#selectionChanged">selectionChanged</a>(). -<h3 class=fn>void <a name="selected-2"></a>TQListBox::selected ( const <a href="ntqstring.html">TQString</a> & )<tt> [signal]</tt> +<h3 class=fn>void <a name="selected-2"></a>TQListBox::selected ( const <a href="tqstring.html">TQString</a> & )<tt> [signal]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> This signal is emitted when the user double-clicks on an item or @@ -1006,9 +1006,9 @@ need to call this function because <a href="qlistboxitem.html#~TQListBoxItem">TQ calls it. The normal way to delete an item is with <tt>delete</tt>. <p> <p>See also <a href="#insertItem">TQListBox::insertItem</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="text"></a>TQListBox::text ( int index ) const +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="text"></a>TQListBox::text ( int index ) const </h3> -Returns the text at position <em>index</em>, or <a href="ntqstring.html#TQString-null">TQString::null</a> if there +Returns the text at position <em>index</em>, or <a href="tqstring.html#TQString-null">TQString::null</a> if there is no text at that position. <p> <p>See also <a href="#pixmap">pixmap</a>(). @@ -1073,7 +1073,7 @@ and the list box scrolled as necessary. <p> If no item is current, <a href="#currentItem">currentItem</a>() returns -1. <p>Set this property's value with <a href="#setCurrentItem">setCurrentItem</a>() and get this property's value with <a href="#currentItem">currentItem</a>(). -<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="currentText-prop"></a>currentText</h3> +<h3 class=fn><a href="tqstring.html">TQString</a> <a name="currentText-prop"></a>currentText</h3> <p>This property holds the text of the current item. <p>This is equivalent to <a href="#text">text</a>(currentItem()). |