diff options
Diffstat (limited to 'doc/html/qcombotableitem.html')
-rw-r--r-- | doc/html/qcombotableitem.html | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/doc/html/qcombotableitem.html b/doc/html/qcombotableitem.html index f88fd505b..5b844d99d 100644 --- a/doc/html/qcombotableitem.html +++ b/doc/html/qcombotableitem.html @@ -34,7 +34,7 @@ body { background: #ffffff; color: black; } <p>The TQComboTableItem class provides a means of using comboboxes in TQTables. <a href="#details">More...</a> -<p><tt>#include <<a href="qtable-h.html">qtable.h</a>></tt> +<p><tt>#include <<a href="qtable-h.html">ntqtable.h</a>></tt> <p>Inherits <a href="qtableitem.html">TQTableItem</a>. <p><a href="qcombotableitem-members.html">List of all member functions.</a> <h2>Public Members</h2> @@ -63,14 +63,14 @@ comboboxes in TQTables. <p> A TQComboTableItem is a table item which looks and behaves like a combobox. The advantage of using TQComboTableItems rather than real comboboxes is that a TQComboTableItem uses far less resources than -real comboboxes in <a href="qtable.html">TQTable</a>s. When the cell has the focus it +real comboboxes in <a href="ntqtable.html">TQTable</a>s. When the cell has the focus it displays a real combobox which the user can interact with. When the cell does not have the focus the cell <em>looks</em> like a combobox. Only text items (i.e. no pixmaps) may be used in TQComboTableItems. <p> TQComboTableItem items have the edit type <a href="qtableitem.html#EditType-enum">WhenCurrent</a> (see <a href="qtableitem.html#EditType-enum">EditType</a>). The TQComboTableItem's list of items is provided by -a <a href="qstringlist.html">TQStringList</a> passed to the constructor. +a <a href="ntqstringlist.html">TQStringList</a> passed to the constructor. <p> The list of items may be changed using <a href="#setStringList">setStringList</a>(). The current item can be set with <a href="#setCurrentItem">setCurrentItem</a>() and retrieved with <a href="#currentItem">currentItem</a>(). The text of the current item can be obtained with @@ -81,16 +81,16 @@ to either choose an existing list item, or create a new list item by entering their own text; otherwise the user may only choose one of the existing list items. <p> To populate a table cell with a TQComboTableItem use -<a href="qtable.html#setItem">TQTable::setItem</a>(). -<p> TQComboTableItems may be deleted with <a href="qtable.html#clearCell">TQTable::clearCell</a>(). +<a href="ntqtable.html#setItem">TQTable::setItem</a>(). +<p> TQComboTableItems may be deleted with <a href="ntqtable.html#clearCell">TQTable::clearCell</a>(). <p> TQComboTableItems can be distinguished from <a href="qtableitem.html">TQTableItem</a>s and <a href="qchecktableitem.html">TQCheckTableItem</a>s using their Run Time Type Identification number (see <a href="#rtti">rtti</a>()). <p> <center><img src="qtableitems.png" alt="Table Items"></center> -<p> <p>See also <a href="qchecktableitem.html">TQCheckTableItem</a>, <a href="qtableitem.html">TQTableItem</a>, <a href="qcombobox.html">TQComboBox</a>, and <a href="advanced.html">Advanced Widgets</a>. +<p> <p>See also <a href="qchecktableitem.html">TQCheckTableItem</a>, <a href="qtableitem.html">TQTableItem</a>, <a href="ntqcombobox.html">TQComboBox</a>, and <a href="advanced.html">Advanced Widgets</a>. <hr><h2>Member Function Documentation</h2> -<h3 class=fn><a name="TQComboTableItem"></a>TQComboTableItem::TQComboTableItem ( <a href="qtable.html">TQTable</a> * table, const <a href="qstringlist.html">TQStringList</a> & list, bool editable = FALSE ) +<h3 class=fn><a name="TQComboTableItem"></a>TQComboTableItem::TQComboTableItem ( <a href="ntqtable.html">TQTable</a> * table, const <a href="ntqstringlist.html">TQStringList</a> & list, bool editable = FALSE ) </h3> Creates a combo table item for the table <em>table</em>. The combobox's list of items is passed in the <em>list</em> argument. If <em>editable</em> is @@ -98,7 +98,7 @@ TRUE the user may type in new list items; if <em>editable</em> is FALSE the user may only select from the list of items provided. <p> By default TQComboTableItems cannot be replaced by other table items since <a href="qtableitem.html#isReplaceable">isReplaceable</a>() returns FALSE by default. -<p> <p>See also <a href="qtable.html#clearCell">TQTable::clearCell</a>() and <a href="qtableitem.html#EditType-enum">EditType</a>. +<p> <p>See also <a href="ntqtable.html#clearCell">TQTable::clearCell</a>() and <a href="qtableitem.html#EditType-enum">EditType</a>. <h3 class=fn><a name="~TQComboTableItem"></a>TQComboTableItem::~TQComboTableItem () </h3> @@ -113,7 +113,7 @@ Returns the total number of list items in the combo table item. Returns the index of the combo table item's current list item. <p> <p>See also <a href="#setCurrentItem">setCurrentItem</a>(). -<h3 class=fn><a href="qstring.html">TQString</a> <a name="currentText"></a>TQComboTableItem::currentText () const +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="currentText"></a>TQComboTableItem::currentText () const </h3> Returns the text of the combo table item's current list item. <p> <p>See also <a href="#currentItem">currentItem</a>() and <a href="#text">text</a>(). @@ -142,7 +142,7 @@ item. <p> <p>See also <a href="#currentItem">currentItem</a>(). <p>Example: <a href="small-table-example-example.html#x2797">table/small-table-demo/main.cpp</a>. -<h3 class=fn>void <a name="setCurrentItem-2"></a>TQComboTableItem::setCurrentItem ( const <a href="qstring.html">TQString</a> & s )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setCurrentItem-2"></a>TQComboTableItem::setCurrentItem ( const <a href="ntqstring.html">TQString</a> & s )<tt> [virtual]</tt> </h3> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. <p> Sets the list item whose text is <em>s</em> to be the combo table item's @@ -156,12 +156,12 @@ may enter a new text item themselves. If <em>b</em> is FALSE the user may may only choose one of the existing items. <p> <p>See also <a href="#isEditable">isEditable</a>(). -<h3 class=fn>void <a name="setStringList"></a>TQComboTableItem::setStringList ( const <a href="qstringlist.html">TQStringList</a> & l )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setStringList"></a>TQComboTableItem::setStringList ( const <a href="ntqstringlist.html">TQStringList</a> & l )<tt> [virtual]</tt> </h3> Sets the list items of this TQComboTableItem to the strings in the string list <em>l</em>. -<h3 class=fn><a href="qstring.html">TQString</a> <a name="text"></a>TQComboTableItem::text ( int i ) const +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="text"></a>TQComboTableItem::text ( int i ) const </h3> Returns the text of the combo's list item at index <em>i</em>. <p> <p>See also <a href="#currentText">currentText</a>(). |