summaryrefslogtreecommitdiffstats
path: root/doc/html/qtableitem.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/qtableitem.html')
-rw-r--r--doc/html/qtableitem.html40
1 files changed, 20 insertions, 20 deletions
diff --git a/doc/html/qtableitem.html b/doc/html/qtableitem.html
index 8e69385ba..37b03883b 100644
--- a/doc/html/qtableitem.html
+++ b/doc/html/qtableitem.html
@@ -35,7 +35,7 @@ body { background: #ffffff; color: black; }
<a href="#details">More...</a>
<p><tt>#include &lt;<a href="qtable-h.html">ntqtable.h</a>&gt;</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>Inherited by <a href="tqcombotableitem.html">TQComboTableItem</a> and <a href="tqchecktableitem.html">TQCheckTableItem</a>.
<p><a href="qtableitem-members.html">List of all member functions.</a>
<h2>Public Members</h2>
<ul>
@@ -86,8 +86,8 @@ to using TQTableItems: see the <a href="ntqtable.html#notes-on-large-tables">not
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="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
+<a href="tqlineedit.html">TQLineEdit</a>). If you want checkboxes use <a href="tqchecktableitem.html">TQCheckTableItem</a>, and if
+you want comboboxes use <a href="tqcombotableitem.html">TQComboTableItem</a>. The <a href="#EditType-enum">EditType</a> (set
in the constructor) determines whether the cell's contents may be
edited.
<p> If a pixmap is specified it is displayed to the left of any text.
@@ -118,7 +118,7 @@ table and cell will be updated accordingly.
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="ntqlineedit.html">TQLineEdit</a> for editing cell
+to use your own widget instead of a <a href="tqlineedit.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
@@ -132,8 +132,8 @@ accept the keyboard focus:
TQWidget* MyTableItem::createEditor() const
{
<a href="ntqhbox.html">TQHBox</a>* hbox = new <a href="ntqhbox.html">TQHBox</a>( <a href="#table">table</a>()-&gt;viewport() );
- hbox-&gt;<a href="tqwidget.html#setFocusProxy">setFocusProxy</a>(new <a href="ntqlineedit.html">TQLineEdit</a>( hbox ));
- new <a href="ntqlineedit.html">TQLineEdit</a>( hbox );
+ hbox-&gt;<a href="tqwidget.html#setFocusProxy">setFocusProxy</a>(new <a href="tqlineedit.html">TQLineEdit</a>( hbox ));
+ new <a href="tqlineedit.html">TQLineEdit</a>( hbox );
return hbox;
}
</pre>
@@ -144,7 +144,7 @@ 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.
<p> <center><img src="qtableitems.png" alt="Table Items"></center>
-<p> <p>See also <a href="qchecktableitem.html">TQCheckTableItem</a>, <a href="qcombotableitem.html">TQComboTableItem</a>, and <a href="advanced.html">Advanced Widgets</a>.
+<p> <p>See also <a href="tqchecktableitem.html">TQCheckTableItem</a>, <a href="tqcombotableitem.html">TQComboTableItem</a>, and <a href="advanced.html">Advanced Widgets</a>.
<p>
<hr><h2>Member Type Documentation</h2>
@@ -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="ntqlineedit.html">TQLineEdit</a>) is always visible. This
+<a href="#createEditor">createEditor</a>() (by default a <a href="tqlineedit.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.
@@ -191,7 +191,7 @@ in accordance with their EditType as described above.
</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="ntqlineedit.html">TQLineEdit</a> for its editor, will not
+<p> The table item will use a <a href="tqlineedit.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="ntqtable.html#setItem">TQTable::setItem</a>().
<p> The table takes ownership of the table item, so a table item
@@ -201,7 +201,7 @@ should not be inserted into more than one table at a time.
</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="ntqlineedit.html">TQLineEdit</a> for its editor, will not
+<p> The table item will use a <a href="tqlineedit.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="ntqtable.html#setItem">TQTable::setItem</a>().
<p> The table takes ownership of the table item, so a table item
@@ -212,7 +212,7 @@ should not be inserted into more than one table at a time.
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="ntqlineedit.html">TQLineEdit</a> for editing the text, will not word-wrap and
+will use a <a href="tqlineedit.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="ntqtable.html#setItem">TQTable::setItem</a>().
<p> The table takes ownership of the table item, so a table item
@@ -250,10 +250,10 @@ Returns the column span of the table item, usually 1.
</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="ntqlineedit.html">TQLineEdit</a>.
+implementation creates a <a href="tqlineedit.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="ntqscrollview.html#viewport">TQTable::viewport</a>() as parent.
+<a href="tqscrollview.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,7 +262,7 @@ 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 )-&gt;cb = new <a href="ntqcombobox.html">TQComboBox</a>( <a href="#table">table</a>()-&gt;viewport() );
+ ( (ComboItem*)this )-&gt;cb = new <a href="tqcombobox.html">TQComboBox</a>( <a href="#table">table</a>()-&gt;viewport() );
TQObject::<a href="tqobject.html#connect">connect</a>( cb, TQ_SIGNAL( activated( int ) ), table(), TQ_SLOT( doValueChanged() ) );
cb-&gt;insertItem( "Yes" );
cb-&gt;insertItem( "No" );
@@ -270,7 +270,7 @@ reimplement <a href="#setContentFromEditor">setContentFromEditor</a>(), and may
cb-&gt;setCurrentItem( <a href="#text">text</a>() == "No" ? 1 : 0 );
return cb;
</pre>
-<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> <p>See also <a href="ntqtable.html#createEditor">TQTable::createEditor</a>(), <a href="#setContentFromEditor">setContentFromEditor</a>(), <a href="tqscrollview.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
@@ -348,9 +348,9 @@ which for TQTableItems is 0.
subclass returns a unique <a href="#rtti">rtti</a>() value. It is advisable to use
values greater than 1000, preferably large random numbers, to
allow for extensions to this class.
-<p> <p>See also <a href="qchecktableitem.html#rtti">TQCheckTableItem::rtti</a>() and <a href="qcombotableitem.html#rtti">TQComboTableItem::rtti</a>().
+<p> <p>See also <a href="tqchecktableitem.html#rtti">TQCheckTableItem::rtti</a>() and <a href="tqcombotableitem.html#rtti">TQComboTableItem::rtti</a>().
-<p>Reimplemented in <a href="qcombotableitem.html#rtti">TQComboTableItem</a> and <a href="qchecktableitem.html#rtti">TQCheckTableItem</a>.
+<p>Reimplemented in <a href="tqcombotableitem.html#rtti">TQComboTableItem</a> and <a href="tqchecktableitem.html#rtti">TQCheckTableItem</a>.
<h3 class=fn>void <a name="setCol"></a>TQTableItem::setCol ( int&nbsp;c )<tt> [virtual]</tt>
</h3>
Sets column <em>c</em> as the table item's column. Usually you will not
@@ -366,7 +366,7 @@ Whenever the content of a cell has been edited by the editor <em>w</em>,
<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="ntqlineedit.html">TQLineEdit</a> you will need to reimplement this function.
+a <a href="tqlineedit.html">TQLineEdit</a> you will need to reimplement this function.
<p>
<pre> void ComboItem::<a href="#setContentFromEditor">setContentFromEditor</a>( <a href="tqwidget.html">TQWidget</a> *w )
@@ -394,7 +394,7 @@ 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="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
+<p> For <a href="tqcombotableitem.html">TQComboTableItem</a>s and <a href="tqchecktableitem.html">TQCheckTableItem</a>s this function
has no visible effect.
<p> <p>See also <a href="ntqtable.html#setPixmap">TQTable::setPixmap</a>(), <a href="#pixmap">pixmap</a>(), and <a href="#setText">setText</a>().
@@ -469,7 +469,7 @@ text.
<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="ntqlineedit.html">TQLineEdit</a>.
+active and the editor is not a <a href="tqlineedit.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.