diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-01-26 23:32:43 -0600 |
commit | ea318d1431c89e647598c510c4245c6571aa5f46 (patch) | |
tree | 996d29b80c30d453dda86d1a23162d441628f169 /doc/html/qtableitem.html | |
parent | aaf89d4b48f69c9293feb187db26362e550b5561 (diff) | |
download | tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.tar.gz tqt3-ea318d1431c89e647598c510c4245c6571aa5f46.zip |
Update to latest tqt3 automated conversion
Diffstat (limited to 'doc/html/qtableitem.html')
-rw-r--r-- | doc/html/qtableitem.html | 124 |
1 files changed, 62 insertions, 62 deletions
diff --git a/doc/html/qtableitem.html b/doc/html/qtableitem.html index 17764576d..bab321940 100644 --- a/doc/html/qtableitem.html +++ b/doc/html/qtableitem.html @@ -33,8 +33,8 @@ body { background: #ffffff; color: black; } <p>The TQTableItem class provides the cell content for TQTable cells. <a href="#details">More...</a> -<p><tt>#include <<a href="qtable-h.html">qtable.h</a>></tt> -<p>Inherits <a href="qt.html">TQt</a>. +<p><tt>#include <<a href="qtable-h.html">ntqtable.h</a>></tt> +<p>Inherits <a href="ntqt.html">TQt</a>. <p>Inherited by <a href="qcombotableitem.html">TQComboTableItem</a> and <a href="qchecktableitem.html">TQCheckTableItem</a>. <p><a href="qtableitem-members.html">List of all member functions.</a> <h2>Public Members</h2> @@ -74,19 +74,19 @@ body { background: #ffffff; color: black; } <hr><a name="details"></a><h2>Detailed Description</h2> -The TQTableItem class provides the cell content for <a href="qtable.html">TQTable</a> cells. +The TQTableItem class provides the cell content for <a href="ntqtable.html">TQTable</a> cells. <p> <p> For many applications TQTableItems are ideal for presenting and editing the contents of TQTable cells. In situations where you need to create very large tables you may prefer an alternative approach -to using TQTableItems: see the <a href="qtable.html#notes-on-large-tables">notes on large tables</a>. +to using TQTableItems: see the <a href="ntqtable.html#notes-on-large-tables">notes on large tables</a>. <p> A TQTableItem contains a cell's data, by default, a string and a pixmap. The table item also holds the cell's display size and how the data should be aligned. The table item specifies the cell's <a href="#EditType-enum">EditType</a> and the editor used for in-place editing (by default a -<a href="qlineedit.html">TQLineEdit</a>). If you want checkboxes use <a href="qchecktableitem.html">TQCheckTableItem</a>, and if +<a href="ntqlineedit.html">TQLineEdit</a>). If you want checkboxes use <a href="qchecktableitem.html">TQCheckTableItem</a>, and if you want comboboxes use <a href="qcombotableitem.html">TQComboTableItem</a>. The <a href="#EditType-enum">EditType</a> (set in the constructor) determines whether the cell's contents may be edited. @@ -96,7 +96,7 @@ respectively. For text you can use <a href="#setWordWrap">setWordWrap</a>(). <p> When sorting table items the <a href="#key">key</a>() function is used; by default this returns the table item's <a href="#text">text</a>(). Reimplement key() to customize how your table items will sort. -<p> Table items are inserted into a table using <a href="qtable.html#setItem">TQTable::setItem</a>(). If +<p> Table items are inserted into a table using <a href="ntqtable.html#setItem">TQTable::setItem</a>(). If you insert an item into a cell that already contains a table item the original item will be deleted. <p> Example: @@ -110,15 +110,15 @@ the original item will be deleted. </pre> <p> You can move a table item from one cell to another, in the same or -a different table, using <a href="qtable.html#takeItem">TQTable::takeItem</a>() and TQTable::setItem() -but see also <a href="qtable.html#swapCells">TQTable::swapCells</a>(). +a different table, using <a href="ntqtable.html#takeItem">TQTable::takeItem</a>() and TQTable::setItem() +but see also <a href="ntqtable.html#swapCells">TQTable::swapCells</a>(). <p> Table items can be deleted with delete in the standard way; the table and cell will be updated accordingly. <p> Note, that if you have a table item that is not currently in a table then anything you do to that item other than insert it into a table will result in undefined behaviour. <p> Reimplement <a href="#createEditor">createEditor</a>() and <a href="#setContentFromEditor">setContentFromEditor</a>() if you want -to use your own widget instead of a <a href="qlineedit.html">TQLineEdit</a> for editing cell +to use your own widget instead of a <a href="ntqlineedit.html">TQLineEdit</a> for editing cell contents. Reimplement <a href="#paint">paint</a>() if you want to display custom content. <p> It is important to ensure that your custom widget can accept the @@ -126,20 +126,20 @@ content. table as normal. Therefore, if the widget returned by createEditor() does not itself accept the keyboard focus, it is necessary to nominate a child widget to do so on its behalf. For example, a -<a href="qhbox.html">TQHBox</a> with two child TQLineEdit widgets may use one of them to +<a href="ntqhbox.html">TQHBox</a> with two child TQLineEdit widgets may use one of them to accept the keyboard focus: <p> <pre> TQWidget* MyTableItem::createEditor() const { - <a href="qhbox.html">TQHBox</a>* hbox = new <a href="qhbox.html">TQHBox</a>( <a href="#table">table</a>()->viewport() ); - hbox-><a href="qwidget.html#setFocusProxy">setFocusProxy</a>(new <a href="qlineedit.html">TQLineEdit</a>( hbox )); - new <a href="qlineedit.html">TQLineEdit</a>( hbox ); + <a href="ntqhbox.html">TQHBox</a>* hbox = new <a href="ntqhbox.html">TQHBox</a>( <a href="#table">table</a>()->viewport() ); + hbox-><a href="ntqwidget.html#setFocusProxy">setFocusProxy</a>(new <a href="ntqlineedit.html">TQLineEdit</a>( hbox )); + new <a href="ntqlineedit.html">TQLineEdit</a>( hbox ); return hbox; } </pre> <p> By default, table items may be replaced by new TQTableItems -during the lifetime of a <a href="qtable.html">TQTable</a>. Therefore, if you create your +during the lifetime of a <a href="ntqtable.html">TQTable</a>. Therefore, if you create your own subclass of TQTableItem, and you want to ensure that this does not happen, you must call <a href="#setReplaceable">setReplaceable</a>(FALSE) in the constructor of your subclass. @@ -158,7 +158,7 @@ should be displayed. <li><tt>TQTableItem::Always</tt> - The cell always <em>looks</em> editable. </ul><p> Using this EditType ensures that the editor created with -<a href="#createEditor">createEditor</a>() (by default a <a href="qlineedit.html">TQLineEdit</a>) is always visible. This +<a href="#createEditor">createEditor</a>() (by default a <a href="ntqlineedit.html">TQLineEdit</a>) is always visible. This has implications for the alignment of the content: the default editor aligns everything (even numbers) to the left whilst numerical values in the cell are by default aligned to the right. @@ -167,19 +167,19 @@ reimplement createEditor() for these items. <ul> <li><tt>TQTableItem::WhenCurrent</tt> - The cell <em>looks</em> editable only when it has <a href="focus.html#keyboard-focus">keyboard focus</a> (see -<a href="qtable.html#setCurrentCell">TQTable::setCurrentCell</a>()). +<a href="ntqtable.html#setCurrentCell">TQTable::setCurrentCell</a>()). <li><tt>TQTableItem::OnTyping</tt> - The cell <em>looks</em> editable only when the user types in it or double-clicks it. It resembles the <a href="#EditType-enum">WhenCurrent</a> functionality but is, perhaps, nicer. </ul><p> The <a href="#EditType-enum">OnTyping</a> edit type is the default when TQTableItem objects -are created by the convenience functions <a href="qtable.html#setText">TQTable::setText</a>() and -<a href="qtable.html#setPixmap">TQTable::setPixmap</a>(). +are created by the convenience functions <a href="ntqtable.html#setText">TQTable::setText</a>() and +<a href="ntqtable.html#setPixmap">TQTable::setPixmap</a>(). <ul> <li><tt>TQTableItem::Never</tt> - The cell is not editable. -</ul><p> The cell is actually editable only if <a href="qtable.html#isRowReadOnly">TQTable::isRowReadOnly</a>() is -FALSE for its row, <a href="qtable.html#isColumnReadOnly">TQTable::isColumnReadOnly</a>() is FALSE for its -column, and <a href="qtable.html#isReadOnly">TQTable::isReadOnly</a>() is FALSE. +</ul><p> The cell is actually editable only if <a href="ntqtable.html#isRowReadOnly">TQTable::isRowReadOnly</a>() is +FALSE for its row, <a href="ntqtable.html#isColumnReadOnly">TQTable::isColumnReadOnly</a>() is FALSE for its +column, and <a href="ntqtable.html#isReadOnly">TQTable::isReadOnly</a>() is FALSE. <p> TQComboTableItems have an isEditable() property. This property is used to indicate whether the user may enter their own text or are restricted to choosing one of the choices in the list. @@ -187,34 +187,34 @@ TQComboTableItems may be interacted with only if they are editable in accordance with their EditType as described above. <p> <hr><h2>Member Function Documentation</h2> -<h3 class=fn><a name="TQTableItem"></a>TQTableItem::TQTableItem ( <a href="qtable.html">TQTable</a> * table, <a href="qtableitem.html#EditType-enum">EditType</a> et ) +<h3 class=fn><a name="TQTableItem"></a>TQTableItem::TQTableItem ( <a href="ntqtable.html">TQTable</a> * table, <a href="qtableitem.html#EditType-enum">EditType</a> et ) </h3> Creates a table item that is a child of table <em>table</em> with no text. The item has the <a href="#EditType-enum">EditType</a> <em>et</em>. -<p> The table item will use a <a href="qlineedit.html">TQLineEdit</a> for its editor, will not +<p> The table item will use a <a href="ntqlineedit.html">TQLineEdit</a> for its editor, will not word-wrap and will occupy a single cell. Insert the table item -into a table with <a href="qtable.html#setItem">TQTable::setItem</a>(). +into a table with <a href="ntqtable.html#setItem">TQTable::setItem</a>(). <p> The table takes ownership of the table item, so a table item should not be inserted into more than one table at a time. -<h3 class=fn><a name="TQTableItem-2"></a>TQTableItem::TQTableItem ( <a href="qtable.html">TQTable</a> * table, <a href="qtableitem.html#EditType-enum">EditType</a> et, const <a href="qstring.html">TQString</a> & text ) +<h3 class=fn><a name="TQTableItem-2"></a>TQTableItem::TQTableItem ( <a href="ntqtable.html">TQTable</a> * table, <a href="qtableitem.html#EditType-enum">EditType</a> et, const <a href="ntqstring.html">TQString</a> & text ) </h3> Creates a table item that is a child of table <em>table</em> with text <em>text</em>. The item has the <a href="#EditType-enum">EditType</a> <em>et</em>. -<p> The table item will use a <a href="qlineedit.html">TQLineEdit</a> for its editor, will not +<p> The table item will use a <a href="ntqlineedit.html">TQLineEdit</a> for its editor, will not word-wrap and will occupy a single cell. Insert the table item -into a table with <a href="qtable.html#setItem">TQTable::setItem</a>(). +into a table with <a href="ntqtable.html#setItem">TQTable::setItem</a>(). <p> The table takes ownership of the table item, so a table item should not be inserted into more than one table at a time. -<h3 class=fn><a name="TQTableItem-3"></a>TQTableItem::TQTableItem ( <a href="qtable.html">TQTable</a> * table, <a href="qtableitem.html#EditType-enum">EditType</a> et, const <a href="qstring.html">TQString</a> & text, const <a href="qpixmap.html">TQPixmap</a> & p ) +<h3 class=fn><a name="TQTableItem-3"></a>TQTableItem::TQTableItem ( <a href="ntqtable.html">TQTable</a> * table, <a href="qtableitem.html#EditType-enum">EditType</a> et, const <a href="ntqstring.html">TQString</a> & text, const <a href="ntqpixmap.html">TQPixmap</a> & p ) </h3> Creates a table item that is a child of table <em>table</em> with text <em>text</em> and pixmap <em>p</em>. The item has the <a href="#EditType-enum">EditType</a> <em>et</em>. <p> The table item will display the pixmap to the left of the text. It -will use a <a href="qlineedit.html">TQLineEdit</a> for editing the text, will not word-wrap and +will use a <a href="ntqlineedit.html">TQLineEdit</a> for editing the text, will not word-wrap and will occupy a single cell. Insert the table item into a table with -<a href="qtable.html#setItem">TQTable::setItem</a>(). +<a href="ntqtable.html#setItem">TQTable::setItem</a>(). <p> The table takes ownership of the table item, so a table item should not be inserted in more than one table at a time. @@ -231,7 +231,7 @@ occupied. The alignment function returns how the text contents of the cell are aligned when drawn. The default implementation aligns numbers to the right and any other text to the left. -<p> <p>See also <a href="qt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>. +<p> <p>See also <a href="ntqt.html#AlignmentFlags-enum">TQt::AlignmentFlags</a>. <h3 class=fn>int <a name="col"></a>TQTableItem::col () const </h3> @@ -246,14 +246,14 @@ column. Returns the column span of the table item, usually 1. <p> <p>See also <a href="#setSpan">setSpan</a>() and <a href="#rowSpan">rowSpan</a>(). -<h3 class=fn><a href="qwidget.html">TQWidget</a> * <a name="createEditor"></a>TQTableItem::createEditor () const<tt> [virtual]</tt> +<h3 class=fn><a href="ntqwidget.html">TQWidget</a> * <a name="createEditor"></a>TQTableItem::createEditor () const<tt> [virtual]</tt> </h3> This virtual function creates an editor which the user can interact with to edit the cell's contents. The default -implementation creates a <a href="qlineedit.html">TQLineEdit</a>. +implementation creates a <a href="ntqlineedit.html">TQLineEdit</a>. <p> If the function returns 0, the cell is read-only. <p> The returned widget should preferably be invisible, ideally with -<a href="qscrollview.html#viewport">TQTable::viewport</a>() as parent. +<a href="ntqscrollview.html#viewport">TQTable::viewport</a>() as parent. <p> If you reimplement this function you'll almost certainly need to reimplement <a href="#setContentFromEditor">setContentFromEditor</a>(), and may need to reimplement <a href="#sizeHint">sizeHint</a>(). @@ -262,15 +262,15 @@ reimplement <a href="#setContentFromEditor">setContentFromEditor</a>(), and may <pre> <a name="x2444"></a>TQWidget *ComboItem::<a href="#createEditor">createEditor</a>() const { // create an editor - a combobox in our case - ( (ComboItem*)this )->cb = new <a href="qcombobox.html">TQComboBox</a>( <a href="#table">table</a>()->viewport() ); - TQObject::<a href="qobject.html#connect">connect</a>( cb, SIGNAL( activated( int ) ), table(), SLOT( doValueChanged() ) ); + ( (ComboItem*)this )->cb = new <a href="ntqcombobox.html">TQComboBox</a>( <a href="#table">table</a>()->viewport() ); + TQObject::<a href="ntqobject.html#connect">connect</a>( cb, SIGNAL( activated( int ) ), table(), SLOT( doValueChanged() ) ); cb->insertItem( "Yes" ); cb->insertItem( "No" ); // and initialize it cb->setCurrentItem( <a href="#text">text</a>() == "No" ? 1 : 0 ); return cb; </pre> -<p> <p>See also <a href="qtable.html#createEditor">TQTable::createEditor</a>(), <a href="#setContentFromEditor">setContentFromEditor</a>(), <a href="qscrollview.html#viewport">TQTable::viewport</a>(), and <a href="#setReplaceable">setReplaceable</a>(). +<p> <p>See also <a href="ntqtable.html#createEditor">TQTable::createEditor</a>(), <a href="#setContentFromEditor">setContentFromEditor</a>(), <a href="ntqscrollview.html#viewport">TQTable::viewport</a>(), and <a href="#setReplaceable">setReplaceable</a>(). <p>Example: <a href="qtableitem.html#x2444">table/statistics/statistics.cpp</a>. <h3 class=fn><a href="qtableitem.html#EditType-enum">EditType</a> <a name="editType"></a>TQTableItem::editType () const @@ -294,14 +294,14 @@ have their contents replaced by another table item. whether the <em>user</em> is able to change the contents of a cell.) <p> <p>See also <a href="#setReplaceable">setReplaceable</a>() and <a href="#EditType-enum">EditType</a>. -<h3 class=fn><a href="qstring.html">TQString</a> <a name="key"></a>TQTableItem::key () const<tt> [virtual]</tt> +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="key"></a>TQTableItem::key () const<tt> [virtual]</tt> </h3> This virtual function returns the key that should be used for sorting. The default implementation returns the <a href="#text">text</a>() of the relevant item. -<p> <p>See also <a href="qtable.html#sorting-prop">TQTable::sorting</a>. +<p> <p>See also <a href="ntqtable.html#sorting-prop">TQTable::sorting</a>. -<h3 class=fn>void <a name="paint"></a>TQTableItem::paint ( <a href="qpainter.html">TQPainter</a> * p, const <a href="qcolorgroup.html">TQColorGroup</a> & cg, const <a href="qrect.html">TQRect</a> & cr, bool selected )<tt> [virtual]</tt> +<h3 class=fn>void <a name="paint"></a>TQTableItem::paint ( <a href="ntqpainter.html">TQPainter</a> * p, const <a href="qcolorgroup.html">TQColorGroup</a> & cg, const <a href="ntqrect.html">TQRect</a> & cr, bool selected )<tt> [virtual]</tt> </h3> This virtual function is used to paint the contents of an item using the painter <em>p</em> in the rectangular area <em>cr</em> using the @@ -322,7 +322,7 @@ maximum efficiency. If you want clipping, use <p> <p>Example: <a href="statistics-example.html#x2786">table/statistics/statistics.cpp</a>. -<h3 class=fn><a href="qpixmap.html">TQPixmap</a> <a name="pixmap"></a>TQTableItem::pixmap () const<tt> [virtual]</tt> +<h3 class=fn><a href="ntqpixmap.html">TQPixmap</a> <a name="pixmap"></a>TQTableItem::pixmap () const<tt> [virtual]</tt> </h3> Returns the table item's pixmap or a null pixmap if no pixmap has been set. @@ -360,25 +360,25 @@ left-most column and retains the width of the multi-cell table item. <p> <p>See also <a href="#col">col</a>(), <a href="#setRow">setRow</a>(), and <a href="#colSpan">colSpan</a>(). -<h3 class=fn>void <a name="setContentFromEditor"></a>TQTableItem::setContentFromEditor ( <a href="qwidget.html">TQWidget</a> * w )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setContentFromEditor"></a>TQTableItem::setContentFromEditor ( <a href="ntqwidget.html">TQWidget</a> * w )<tt> [virtual]</tt> </h3> Whenever the content of a cell has been edited by the editor <em>w</em>, -<a href="qtable.html">TQTable</a> calls this virtual function to copy the new values into the +<a href="ntqtable.html">TQTable</a> calls this virtual function to copy the new values into the TQTableItem. <p> If you reimplement <a href="#createEditor">createEditor</a>() and return something that is not -a <a href="qlineedit.html">TQLineEdit</a> you will need to reimplement this function. +a <a href="ntqlineedit.html">TQLineEdit</a> you will need to reimplement this function. <p> -<pre> void ComboItem::<a href="#setContentFromEditor">setContentFromEditor</a>( <a href="qwidget.html">TQWidget</a> *w ) +<pre> void ComboItem::<a href="#setContentFromEditor">setContentFromEditor</a>( <a href="ntqwidget.html">TQWidget</a> *w ) { // the user changed the value of the combobox, so synchronize the // value of the item (its text), with the value of the combobox - if ( w-><a href="qobject.html#inherits">inherits</a>( "TQComboBox" ) ) + if ( w-><a href="ntqobject.html#inherits">inherits</a>( "TQComboBox" ) ) <a href="#setText">setText</a>( ( (TQComboBox*)w )->currentText() ); else TQTableItem::<a href="#setContentFromEditor">setContentFromEditor</a>( w ); </pre> -<p> <p>See also <a href="qtable.html#setCellContentFromEditor">TQTable::setCellContentFromEditor</a>(). +<p> <p>See also <a href="ntqtable.html#setCellContentFromEditor">TQTable::setCellContentFromEditor</a>(). <p>Example: <a href="statistics-example.html#x2787">table/statistics/statistics.cpp</a>. <h3 class=fn>void <a name="setEnabled"></a>TQTableItem::setEnabled ( bool b )<tt> [virtual]</tt> @@ -388,15 +388,15 @@ table item is disabled. <p> A disabled item doesn't respond to user interaction. <p> <p>See also <a href="#isEnabled">isEnabled</a>(). -<h3 class=fn>void <a name="setPixmap"></a>TQTableItem::setPixmap ( const <a href="qpixmap.html">TQPixmap</a> & p )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setPixmap"></a>TQTableItem::setPixmap ( const <a href="ntqpixmap.html">TQPixmap</a> & p )<tt> [virtual]</tt> </h3> Sets pixmap <em>p</em> to be this item's pixmap. <p> Note that <a href="#setPixmap">setPixmap</a>() does not update the cell the table item -belongs to. Use <a href="qtable.html#updateCell">TQTable::updateCell</a>() to repaint the cell's +belongs to. Use <a href="ntqtable.html#updateCell">TQTable::updateCell</a>() to repaint the cell's contents. <p> For <a href="qcombotableitem.html">TQComboTableItem</a>s and <a href="qchecktableitem.html">TQCheckTableItem</a>s this function has no visible effect. -<p> <p>See also <a href="qtable.html#setPixmap">TQTable::setPixmap</a>(), <a href="#pixmap">pixmap</a>(), and <a href="#setText">setText</a>(). +<p> <p>See also <a href="ntqtable.html#setPixmap">TQTable::setPixmap</a>(), <a href="#pixmap">pixmap</a>(), and <a href="#setText">setText</a>(). <h3 class=fn>void <a name="setReplaceable"></a>TQTableItem::setReplaceable ( bool b )<tt> [virtual]</tt> </h3> @@ -423,7 +423,7 @@ Changes the extent of the TQTableItem so that it spans multiple cells covering <em>rs</em> rows and <em>cs</em> columns. The top left cell is the original cell. <p> <b>Warning:</b> This function only works if the item has already been -inserted into the table using e.g. <a href="qtable.html#setItem">TQTable::setItem</a>(). This +inserted into the table using e.g. <a href="ntqtable.html#setItem">TQTable::setItem</a>(). This function also checks to make sure if <em>rs</em> and <em>cs</em> are within the bounds of the table and returns without changing the span if they are not. In addition swapping, inserting or removing rows and @@ -431,13 +431,13 @@ columns that cross TQTableItems spanning more than one cell is not supported. <p> <p>See also <a href="#rowSpan">rowSpan</a>() and <a href="#colSpan">colSpan</a>(). -<h3 class=fn>void <a name="setText"></a>TQTableItem::setText ( const <a href="qstring.html">TQString</a> & str )<tt> [virtual]</tt> +<h3 class=fn>void <a name="setText"></a>TQTableItem::setText ( const <a href="ntqstring.html">TQString</a> & str )<tt> [virtual]</tt> </h3> Changes the table item's text to <em>str</em>. <p> Note that <a href="#setText">setText</a>() does not update the cell the table item -belongs to. Use <a href="qtable.html#updateCell">TQTable::updateCell</a>() to repaint the cell's +belongs to. Use <a href="ntqtable.html#updateCell">TQTable::updateCell</a>() to repaint the cell's contents. -<p> <p>See also <a href="qtable.html#setText">TQTable::setText</a>(), <a href="#text">text</a>(), <a href="#setPixmap">setPixmap</a>(), and <a href="qtable.html#updateCell">TQTable::updateCell</a>(). +<p> <p>See also <a href="ntqtable.html#setText">TQTable::setText</a>(), <a href="#text">text</a>(), <a href="#setPixmap">setPixmap</a>(), and <a href="ntqtable.html#updateCell">TQTable::updateCell</a>(). <p>Example: <a href="statistics-example.html#x2788">table/statistics/statistics.cpp</a>. <h3 class=fn>void <a name="setWordWrap"></a>TQTableItem::setWordWrap ( bool b )<tt> [virtual]</tt> @@ -445,31 +445,31 @@ contents. If <em>b</em> is TRUE, the cell's text will be wrapped over multiple lines, when necessary, to fit the width of the cell; otherwise the text will be written as a single line. -<p> <p>See also <a href="#wordWrap">wordWrap</a>(), <a href="qtable.html#adjustColumn">TQTable::adjustColumn</a>(), and <a href="qtable.html#setColumnStretchable">TQTable::setColumnStretchable</a>(). +<p> <p>See also <a href="#wordWrap">wordWrap</a>(), <a href="ntqtable.html#adjustColumn">TQTable::adjustColumn</a>(), and <a href="ntqtable.html#setColumnStretchable">TQTable::setColumnStretchable</a>(). -<h3 class=fn><a href="qsize.html">TQSize</a> <a name="sizeHint"></a>TQTableItem::sizeHint () const<tt> [virtual]</tt> +<h3 class=fn><a href="ntqsize.html">TQSize</a> <a name="sizeHint"></a>TQTableItem::sizeHint () const<tt> [virtual]</tt> </h3> This virtual function returns the size a cell needs to show its entire content. <p> If you subclass TQTableItem you will often need to reimplement this function. -<h3 class=fn><a href="qtable.html">TQTable</a> * <a name="table"></a>TQTableItem::table () const +<h3 class=fn><a href="ntqtable.html">TQTable</a> * <a name="table"></a>TQTableItem::table () const </h3> -<p> Returns the <a href="qtable.html">TQTable</a> the table item belongs to. -<p> <p>See also <a href="qtable.html#setItem">TQTable::setItem</a>() and <a href="#TQTableItem">TQTableItem</a>(). +<p> Returns the <a href="ntqtable.html">TQTable</a> the table item belongs to. +<p> <p>See also <a href="ntqtable.html#setItem">TQTable::setItem</a>() and <a href="#TQTableItem">TQTableItem</a>(). -<h3 class=fn><a href="qstring.html">TQString</a> <a name="text"></a>TQTableItem::text () const<tt> [virtual]</tt> +<h3 class=fn><a href="ntqstring.html">TQString</a> <a name="text"></a>TQTableItem::text () const<tt> [virtual]</tt> </h3> -Returns the text of the table item or <a href="qstring.html#TQString-null">TQString::null</a> if there is no +Returns the text of the table item or <a href="ntqstring.html#TQString-null">TQString::null</a> if there is no text. <p> To ensure that the current value of the editor is returned, <a href="#setContentFromEditor">setContentFromEditor</a>() is called: <ol type=1> <li> if the editMode() is <a href="#EditType-enum">Always</a>, or <li> if editMode() is <em>not</em> <a href="#EditType-enum">Always</a> but the editor of the cell is -active and the editor is not a <a href="qlineedit.html">TQLineEdit</a>. +active and the editor is not a <a href="ntqlineedit.html">TQLineEdit</a>. </ol> <p> This means that <a href="#text">text</a>() returns the original text value of the item if the editor is a line edit, until the user commits an edit (e.g. |