diff options
Diffstat (limited to 'doc/html/ntqlistview.html')
-rw-r--r-- | doc/html/ntqlistview.html | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/doc/html/ntqlistview.html b/doc/html/ntqlistview.html index 5231935da..65b1fc86b 100644 --- a/doc/html/ntqlistview.html +++ b/doc/html/ntqlistview.html @@ -273,7 +273,7 @@ views), selectionChanged(<a href="qlistviewitem.html">TQListViewItem</a>*) (appl <a href="#SelectionMode-enum">Single</a> selection list view), and <a href="#currentChanged">currentChanged</a>(TQListViewItem*). The second group consists of <a href="#doubleClicked">doubleClicked</a>(TQListViewItem*), <a href="#returnPressed">returnPressed</a>(TQListViewItem*), -<a href="#rightButtonClicked">rightButtonClicked</a>(TQListViewItem*, const <a href="ntqpoint.html">TQPoint</a>&, int), etc. +<a href="#rightButtonClicked">rightButtonClicked</a>(TQListViewItem*, const <a href="tqpoint.html">TQPoint</a>&, int), etc. <p> Note that changing the state of the list view in a slot connected to a list view signal may cause unexpected side effects. If you need to change the list view's state in response to a signal, use @@ -460,7 +460,7 @@ view item, or 0 if the user didn't click on an item. connected to this signal. <p>Example: <a href="addressbook-example.html#x588">addressbook/centralwidget.cpp</a>. -<h3 class=fn>void <a name="clicked-2"></a>TQListView::clicked ( <a href="qlistviewitem.html">TQListViewItem</a> * item, const <a href="ntqpoint.html">TQPoint</a> & pnt, int c )<tt> [signal]</tt> +<h3 class=fn>void <a name="clicked-2"></a>TQListView::clicked ( <a href="qlistviewitem.html">TQListViewItem</a> * item, const <a href="tqpoint.html">TQPoint</a> & pnt, int c )<tt> [signal]</tt> </h3> <p> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -524,7 +524,7 @@ Processes the mouse release event <em>e</em> on behalf of the viewed widget. <p>Example: <a href="dirview-example.html#x1685">dirview/dirview.cpp</a>. <p>Reimplemented from <a href="ntqscrollview.html#contentsMouseReleaseEvent">TQScrollView</a>. -<h3 class=fn>void <a name="contextMenuRequested"></a>TQListView::contextMenuRequested ( <a href="qlistviewitem.html">TQListViewItem</a> * item, const <a href="ntqpoint.html">TQPoint</a> & pos, int col )<tt> [signal]</tt> +<h3 class=fn>void <a name="contextMenuRequested"></a>TQListView::contextMenuRequested ( <a href="qlistviewitem.html">TQListViewItem</a> * item, const <a href="tqpoint.html">TQPoint</a> & pos, int col )<tt> [signal]</tt> </h3> <p> This signal is emitted when the user invokes a context menu with @@ -567,7 +567,7 @@ See the <a href="ntqlistview.html#defaultRenameAction-prop">"defaultRenameAction This slot handles auto-scrolling when the mouse button is pressed and the mouse is outside the widget. -<h3 class=fn>void <a name="doubleClicked"></a>TQListView::doubleClicked ( <a href="qlistviewitem.html">TQListViewItem</a> *, const <a href="ntqpoint.html">TQPoint</a> &, int )<tt> [signal]</tt> +<h3 class=fn>void <a name="doubleClicked"></a>TQListView::doubleClicked ( <a href="qlistviewitem.html">TQListViewItem</a> *, const <a href="tqpoint.html">TQPoint</a> &, int )<tt> [signal]</tt> </h3> <p> This signal is emitted whenever an item is double-clicked. It's @@ -582,7 +582,7 @@ connected to this signal. </h3> <p> <b>This function is obsolete.</b> It is provided to keep old source working. We strongly advise against using it in new code. -(use <a href="#doubleClicked">doubleClicked</a>( <a href="qlistviewitem.html">TQListViewItem</a> *, const <a href="ntqpoint.html">TQPoint</a>&, int )) +(use <a href="#doubleClicked">doubleClicked</a>( <a href="qlistviewitem.html">TQListViewItem</a> *, const <a href="tqpoint.html">TQPoint</a>&, int )) <p> This signal is emitted whenever an item is double-clicked. It's emitted on the second button press, not the second button release. <em>item</em> is the list view item on which the user did the @@ -702,7 +702,7 @@ Returns TRUE if the list view item <em>i</em> is selected; otherwise returns FALSE. <p> <p>See also <a href="qlistviewitem.html#isSelected">TQListViewItem::isSelected</a>(). -<h3 class=fn><a href="qlistviewitem.html">TQListViewItem</a> * <a name="itemAt"></a>TQListView::itemAt ( const <a href="ntqpoint.html">TQPoint</a> & viewPos ) const +<h3 class=fn><a href="qlistviewitem.html">TQListViewItem</a> * <a name="itemAt"></a>TQListView::itemAt ( const <a href="tqpoint.html">TQPoint</a> & viewPos ) const </h3> Returns the list view item at <em>viewPos</em>. Note that <em>viewPos</em> is in the <a href="ntqscrollview.html#viewport">viewport</a>()'s coordinate system, not in the list view's own, @@ -742,7 +742,7 @@ items on the screen. <p> This is a thin wrapper around <a href="qlistviewitem.html#itemPos">TQListViewItem::itemPos</a>(). <p> <p>See also <a href="#itemAt">itemAt</a>() and <a href="#itemRect">itemRect</a>(). -<h3 class=fn><a href="ntqrect.html">TQRect</a> <a name="itemRect"></a>TQListView::itemRect ( const <a href="qlistviewitem.html">TQListViewItem</a> * i ) const +<h3 class=fn><a href="tqrect.html">TQRect</a> <a name="itemRect"></a>TQListView::itemRect ( const <a href="qlistviewitem.html">TQListViewItem</a> * i ) const </h3> Returns the rectangle on the screen that item <em>i</em> occupies in <a href="ntqscrollview.html#viewport">viewport</a>()'s coordinates, or an invalid rectangle if <em>i</em> is 0 or @@ -752,9 +752,9 @@ rectangle (i.e. it uses <a href="qlistviewitem.html#height">TQListViewItem::heig <a href="qlistviewitem.html#totalHeight">TQListViewItem::totalHeight</a>()). If you want the rectangle to include children you can use something like this: <p> <pre> - <a href="ntqrect.html">TQRect</a> r( listView->itemRect( item ) ); - r.<a href="ntqrect.html#setHeight">setHeight</a>( (TQCOORD)(TQMIN( item->totalHeight(), - listView->viewport->height() - r.<a href="ntqrect.html#y">y</a>() ) ) ) + <a href="tqrect.html">TQRect</a> r( listView->itemRect( item ) ); + r.<a href="tqrect.html#setHeight">setHeight</a>( (TQCOORD)(TQMIN( item->totalHeight(), + listView->viewport->height() - r.<a href="tqrect.html#y">y</a>() ) ) ) </pre> <p> Note the way it avoids too-high rectangles. totalHeight() can be @@ -784,7 +784,7 @@ are no items in the TQListView. <p> This function is slow because it traverses the entire tree to find the last item. -<h3 class=fn>void <a name="mouseButtonClicked"></a>TQListView::mouseButtonClicked ( int button, <a href="qlistviewitem.html">TQListViewItem</a> * item, const <a href="ntqpoint.html">TQPoint</a> & pos, int c )<tt> [signal]</tt> +<h3 class=fn>void <a name="mouseButtonClicked"></a>TQListView::mouseButtonClicked ( int button, <a href="qlistviewitem.html">TQListViewItem</a> * item, const <a href="tqpoint.html">TQPoint</a> & pos, int c )<tt> [signal]</tt> </h3> <p> This signal is emitted whenever the user clicks (mouse pressed <em>and</em> mouse released) in the list view at position <em>pos</em>. <em>button</em> @@ -794,7 +794,7 @@ pressed; if <em>item</em> is 0 <em>c</em>'s value is undefined. <p> <b>Warning:</b> Do not delete any <a href="qlistviewitem.html">TQListViewItem</a> objects in slots connected to this signal. -<h3 class=fn>void <a name="mouseButtonPressed"></a>TQListView::mouseButtonPressed ( int button, <a href="qlistviewitem.html">TQListViewItem</a> * item, const <a href="ntqpoint.html">TQPoint</a> & pos, int c )<tt> [signal]</tt> +<h3 class=fn>void <a name="mouseButtonPressed"></a>TQListView::mouseButtonPressed ( int button, <a href="qlistviewitem.html">TQListViewItem</a> * item, const <a href="tqpoint.html">TQPoint</a> & pos, int c )<tt> [signal]</tt> </h3> <p> This signal is emitted whenever the user pressed the mouse button @@ -818,7 +818,7 @@ item <em>i</em>, similar to the <a href="tqwidget.html#enterEvent">TQWidget::ent <p> This signal is emitted when the user moves the mouse cursor from an item to an empty part of the list view. -<h3 class=fn>void <a name="paintEmptyArea"></a>TQListView::paintEmptyArea ( <a href="tqpainter.html">TQPainter</a> * p, const <a href="ntqrect.html">TQRect</a> & rect )<tt> [virtual protected]</tt> +<h3 class=fn>void <a name="paintEmptyArea"></a>TQListView::paintEmptyArea ( <a href="tqpainter.html">TQPainter</a> * p, const <a href="tqrect.html">TQRect</a> & rect )<tt> [virtual protected]</tt> </h3> Paints <em>rect</em> so that it looks like empty background using painter <em>p</em>. <em>rect</em> is in widget coordinates, ready to be fed to @@ -836,7 +836,7 @@ on an item. <p> <b>Warning:</b> Do not delete any <a href="qlistviewitem.html">TQListViewItem</a> objects in slots connected to this signal. -<h3 class=fn>void <a name="pressed-2"></a>TQListView::pressed ( <a href="qlistviewitem.html">TQListViewItem</a> * item, const <a href="ntqpoint.html">TQPoint</a> & pnt, int c )<tt> [signal]</tt> +<h3 class=fn>void <a name="pressed-2"></a>TQListView::pressed ( <a href="qlistviewitem.html">TQListViewItem</a> * item, const <a href="tqpoint.html">TQPoint</a> & pnt, int c )<tt> [signal]</tt> </h3> <p> This is an overloaded member function, provided for convenience. It behaves essentially like the above function. @@ -881,7 +881,7 @@ See the <a href="ntqlistview.html#resizeMode-prop">"resizeMode"</a> property for <p> This signal is emitted when Enter or Return is pressed. The argument is the <a href="#currentItem">currentItem</a>(). -<h3 class=fn>void <a name="rightButtonClicked"></a>TQListView::rightButtonClicked ( <a href="qlistviewitem.html">TQListViewItem</a> *, const <a href="ntqpoint.html">TQPoint</a> &, int )<tt> [signal]</tt> +<h3 class=fn>void <a name="rightButtonClicked"></a>TQListView::rightButtonClicked ( <a href="qlistviewitem.html">TQListViewItem</a> *, const <a href="tqpoint.html">TQPoint</a> &, int )<tt> [signal]</tt> </h3> <p> This signal is emitted when the right button is clicked (i.e. when @@ -889,7 +889,7 @@ it's released). The arguments are the relevant <a href="qlistviewitem.html">TQLi be 0), the point in global coordinates and the relevant column (or -1 if the click was outside the list). -<h3 class=fn>void <a name="rightButtonPressed"></a>TQListView::rightButtonPressed ( <a href="qlistviewitem.html">TQListViewItem</a> *, const <a href="ntqpoint.html">TQPoint</a> &, int )<tt> [signal]</tt> +<h3 class=fn>void <a name="rightButtonPressed"></a>TQListView::rightButtonPressed ( <a href="qlistviewitem.html">TQListViewItem</a> *, const <a href="tqpoint.html">TQPoint</a> &, int )<tt> [signal]</tt> </h3> <p> This signal is emitted when the right button is pressed. The |