summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqlistview.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-07-20 20:15:52 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-07-21 23:04:19 +0900
commit1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3 (patch)
tree5f1bb482f68ee0f95843fbf375cd2274acdabf25 /doc/man/man3/tqlistview.3qt
parent14c414378d96f7463b989384f4a0e5dd76632b6d (diff)
downloadtqt-1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3.tar.gz
tqt-1e9fa8e06de5da7fcc268e9cccb2d6b21c5f53a3.zip
Rename graphics class nt* related files to equivalent tq* (part 2)
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqlistview.3qt')
-rw-r--r--doc/man/man3/tqlistview.3qt50
1 files changed, 25 insertions, 25 deletions
diff --git a/doc/man/man3/tqlistview.3qt b/doc/man/man3/tqlistview.3qt
index 37afa419d..f22c82ce8 100644
--- a/doc/man/man3/tqlistview.3qt
+++ b/doc/man/man3/tqlistview.3qt
@@ -82,10 +82,10 @@ Inherits QScrollView.
.BI "int \fBcolumnAlignment\fR ( int column ) const"
.br
.ti -1c
-.BI "QListViewItem * \fBitemAt\fR ( const QPoint & viewPos ) const"
+.BI "QListViewItem * \fBitemAt\fR ( const TQPoint & viewPos ) const"
.br
.ti -1c
-.BI "QRect \fBitemRect\fR ( const QListViewItem * i ) const"
+.BI "TQRect \fBitemRect\fR ( const QListViewItem * i ) const"
.br
.ti -1c
.BI "int \fBitemPos\fR ( const QListViewItem * item )"
@@ -259,19 +259,19 @@ Inherits QScrollView.
.BI "void \fBclicked\fR ( QListViewItem * item )"
.br
.ti -1c
-.BI "void \fBclicked\fR ( QListViewItem * item, const QPoint & pnt, int c )"
+.BI "void \fBclicked\fR ( QListViewItem * item, const TQPoint & pnt, int c )"
.br
.ti -1c
.BI "void \fBpressed\fR ( QListViewItem * item )"
.br
.ti -1c
-.BI "void \fBpressed\fR ( QListViewItem * item, const QPoint & pnt, int c )"
+.BI "void \fBpressed\fR ( QListViewItem * item, const TQPoint & pnt, int c )"
.br
.ti -1c
.BI "void doubleClicked ( QListViewItem * item ) \fI(obsolete)\fR"
.br
.ti -1c
-.BI "void \fBdoubleClicked\fR ( QListViewItem *, const QPoint &, int )"
+.BI "void \fBdoubleClicked\fR ( QListViewItem *, const TQPoint &, int )"
.br
.ti -1c
.BI "void \fBreturnPressed\fR ( QListViewItem * )"
@@ -280,19 +280,19 @@ Inherits QScrollView.
.BI "void \fBspacePressed\fR ( QListViewItem * )"
.br
.ti -1c
-.BI "void \fBrightButtonClicked\fR ( QListViewItem *, const QPoint &, int )"
+.BI "void \fBrightButtonClicked\fR ( QListViewItem *, const TQPoint &, int )"
.br
.ti -1c
-.BI "void \fBrightButtonPressed\fR ( QListViewItem *, const QPoint &, int )"
+.BI "void \fBrightButtonPressed\fR ( QListViewItem *, const TQPoint &, int )"
.br
.ti -1c
-.BI "void \fBmouseButtonPressed\fR ( int button, QListViewItem * item, const QPoint & pos, int c )"
+.BI "void \fBmouseButtonPressed\fR ( int button, QListViewItem * item, const TQPoint & pos, int c )"
.br
.ti -1c
-.BI "void \fBmouseButtonClicked\fR ( int button, QListViewItem * item, const QPoint & pos, int c )"
+.BI "void \fBmouseButtonClicked\fR ( int button, QListViewItem * item, const TQPoint & pos, int c )"
.br
.ti -1c
-.BI "void \fBcontextMenuRequested\fR ( QListViewItem * item, const QPoint & pos, int col )"
+.BI "void \fBcontextMenuRequested\fR ( QListViewItem * item, const TQPoint & pos, int col )"
.br
.ti -1c
.BI "void \fBonItem\fR ( QListViewItem * i )"
@@ -382,7 +382,7 @@ Inherits QScrollView.
.BI "virtual void \fBdrawContentsOffset\fR ( TQPainter * p, int ox, int oy, int cx, int cy, int cw, int ch )"
.br
.ti -1c
-.BI "virtual void \fBpaintEmptyArea\fR ( TQPainter * p, const QRect & rect )"
+.BI "virtual void \fBpaintEmptyArea\fR ( TQPainter * p, const TQRect & rect )"
.br
.in -1c
.SS "Protected Slots"
@@ -450,7 +450,7 @@ There are a variety of selection modes described in the QListView::SelectionMode
.PP
Because QListView offers multiple selection it must display keyboard focus and selection state separately. Therefore there are functions both to set the selection state of an item (setSelected()) and to set which item displays keyboard focus (setCurrentItem()).
.PP
-QListView emits two groups of signals; one group signals changes in selection/focus state and one indicates selection. The first group consists of selectionChanged() (applicable to all list views), selectionChanged(QListViewItem*) (applicable only to a Single selection list view), and currentChanged(QListViewItem*). The second group consists of doubleClicked(QListViewItem*), returnPressed(QListViewItem*), rightButtonClicked(QListViewItem*, const QPoint&, int), etc.
+QListView emits two groups of signals; one group signals changes in selection/focus state and one indicates selection. The first group consists of selectionChanged() (applicable to all list views), selectionChanged(QListViewItem*) (applicable only to a Single selection list view), and currentChanged(QListViewItem*). The second group consists of doubleClicked(QListViewItem*), returnPressed(QListViewItem*), rightButtonClicked(QListViewItem*, const TQPoint&, int), etc.
.PP
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 a single shot timer with a time out of 0, and connect this timer to a slot that modifies the list view's state.
.PP
@@ -567,7 +567,7 @@ This signal is emitted whenever the user clicks (mouse pressed \fIand\fR mouse r
\fBWarning:\fR Do not delete any QListViewItem objects in slots connected to this signal.
.PP
Example: addressbook/centralwidget.cpp.
-.SH "void QListView::clicked ( QListViewItem * item, const QPoint & pnt, int c )\fC [signal]\fR"
+.SH "void QListView::clicked ( QListViewItem * item, const TQPoint & pnt, int c )\fC [signal]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
This signal is emitted whenever the user clicks (mouse pressed \fIand\fR mouse released) in the list view. \fIitem\fR is the clicked list view item, or 0 if the user didn't click on an item. \fIpnt\fR is the position where the user has clicked in global coordinates. If \fIitem\fR is not 0, \fIc\fR is the list view column into which the user pressed; if \fIitem\fR is 0 \fIc\fR's value is undefined.
@@ -617,7 +617,7 @@ Processes the mouse release event \fIe\fR on behalf of the viewed widget.
Example: dirview/dirview.cpp.
.PP
Reimplemented from QScrollView.
-.SH "void QListView::contextMenuRequested ( QListViewItem * item, const QPoint & pos, int col )\fC [signal]\fR"
+.SH "void QListView::contextMenuRequested ( QListViewItem * item, const TQPoint & pos, int col )\fC [signal]\fR"
This signal is emitted when the user invokes a context menu with the right mouse button or with special system keys. If the keyboard was used \fIitem\fR is the current item; if the mouse was used, \fIitem\fR is the item under the mouse pointer or 0 if there is no item under the mouse pointer. If no item is clicked, the column index emitted is -1.
.PP
\fIpos\fR is the position for the context menu in the global coordinate system.
@@ -646,12 +646,12 @@ Examples:
Returns what action to perform when the editor loses focus during renaming. See the "defaultRenameAction" property for details.
.SH "void QListView::doAutoScroll ()\fC [protected slot]\fR"
This slot handles auto-scrolling when the mouse button is pressed and the mouse is outside the widget.
-.SH "void QListView::doubleClicked ( QListViewItem *, const QPoint &, int )\fC [signal]\fR"
+.SH "void QListView::doubleClicked ( QListViewItem *, const TQPoint &, int )\fC [signal]\fR"
This signal is emitted whenever an item is double-clicked. It's emitted on the second button press, not the second button release. The arguments are the relevant QListViewItem (may be 0), the point in global coordinates and the relevant column (or -1 if the click was outside the list).
.PP
\fBWarning:\fR Do not delete any QListViewItem objects in slots connected to this signal.
.SH "void QListView::doubleClicked ( QListViewItem * item )\fC [signal]\fR"
-\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. (use doubleClicked( QListViewItem *, const QPoint&, int ))
+\fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. (use doubleClicked( QListViewItem *, const TQPoint&, int ))
.PP
This signal is emitted whenever an item is double-clicked. It's emitted on the second button press, not the second button release. \fIitem\fR is the list view item on which the user did the double-click.
.SH "TQDragObject * QListView::dragObject ()\fC [virtual protected]\fR"
@@ -720,7 +720,7 @@ Returns TRUE if an item is being renamed; otherwise returns FALSE.
Returns TRUE if the list view item \fIi\fR is selected; otherwise returns FALSE.
.PP
See also QListViewItem::isSelected().
-.SH "QListViewItem * QListView::itemAt ( const QPoint & viewPos ) const"
+.SH "QListViewItem * QListView::itemAt ( const TQPoint & viewPos ) const"
Returns the list view item at \fIviewPos\fR. Note that \fIviewPos\fR is in the viewport()'s coordinate system, not in the list view's own, much larger, coordinate system.
.PP
itemAt() returns 0 if there is no such item.
@@ -760,14 +760,14 @@ Returns the y-coordinate of \fIitem\fR in the list view's coordinate system. Thi
This is a thin wrapper around QListViewItem::itemPos().
.PP
See also itemAt() and itemRect().
-.SH "QRect QListView::itemRect ( const QListViewItem * i ) const"
+.SH "TQRect QListView::itemRect ( const QListViewItem * i ) const"
Returns the rectangle on the screen that item \fIi\fR occupies in viewport()'s coordinates, or an invalid rectangle if \fIi\fR is 0 or is not currently visible.
.PP
The rectangle returned does not include any children of the rectangle (i.e. it uses QListViewItem::height(), rather than QListViewItem::totalHeight()). If you want the rectangle to include children you can use something like this:
.PP
.nf
.br
- QRect r( listView->itemRect( item ) );
+ TQRect r( listView->itemRect( item ) );
.br
r.setHeight( (QCOORD)(TQMIN( item->totalHeight(),
.br
@@ -792,11 +792,11 @@ See also QListViewItem::setRenameEnabled().
Returns the last item in the list view tree. Returns 0 if there are no items in the QListView.
.PP
This function is slow because it traverses the entire tree to find the last item.
-.SH "void QListView::mouseButtonClicked ( int button, QListViewItem * item, const QPoint & pos, int c )\fC [signal]\fR"
+.SH "void QListView::mouseButtonClicked ( int button, QListViewItem * item, const TQPoint & pos, int c )\fC [signal]\fR"
This signal is emitted whenever the user clicks (mouse pressed \fIand\fR mouse released) in the list view at position \fIpos\fR. \fIbutton\fR is the mouse button that the user pressed, \fIitem\fR is the clicked list view item or 0 if the user didn't click on an item. If \fIitem\fR is not 0, \fIc\fR is the list view column into which the user pressed; if \fIitem\fR is 0 \fIc\fR's value is undefined.
.PP
\fBWarning:\fR Do not delete any QListViewItem objects in slots connected to this signal.
-.SH "void QListView::mouseButtonPressed ( int button, QListViewItem * item, const QPoint & pos, int c )\fC [signal]\fR"
+.SH "void QListView::mouseButtonPressed ( int button, QListViewItem * item, const TQPoint & pos, int c )\fC [signal]\fR"
This signal is emitted whenever the user pressed the mouse button in the list view at position \fIpos\fR. \fIbutton\fR is the mouse button which the user pressed, \fIitem\fR is the pressed list view item or 0 if the user didn't press on an item. If \fIitem\fR is not 0, \fIc\fR is the list view column into which the user pressed; if \fIitem\fR is 0 \fIc\fR's value is undefined.
.PP
\fBWarning:\fR Do not delete any QListViewItem objects in slots connected to this signal.
@@ -804,7 +804,7 @@ This signal is emitted whenever the user pressed the mouse button in the list vi
This signal is emitted when the user moves the mouse cursor onto item \fIi\fR, similar to the TQWidget::enterEvent() function.
.SH "void QListView::onViewport ()\fC [signal]\fR"
This signal is emitted when the user moves the mouse cursor from an item to an empty part of the list view.
-.SH "void QListView::paintEmptyArea ( TQPainter * p, const QRect & rect )\fC [virtual protected]\fR"
+.SH "void QListView::paintEmptyArea ( TQPainter * p, const TQRect & rect )\fC [virtual protected]\fR"
Paints \fIrect\fR so that it looks like empty background using painter \fIp\fR. \fIrect\fR is in widget coordinates, ready to be fed to \fIp\fR.
.PP
The default function fills \fIrect\fR with the viewport()->backgroundBrush().
@@ -812,7 +812,7 @@ The default function fills \fIrect\fR with the viewport()->backgroundBrush().
This signal is emitted whenever the user presses the mouse button in a list view. \fIitem\fR is the list view item on which the user pressed the mouse button, or 0 if the user didn't press the mouse on an item.
.PP
\fBWarning:\fR Do not delete any QListViewItem objects in slots connected to this signal.
-.SH "void QListView::pressed ( QListViewItem * item, const QPoint & pnt, int c )\fC [signal]\fR"
+.SH "void QListView::pressed ( QListViewItem * item, const TQPoint & pnt, int c )\fC [signal]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
This signal is emitted whenever the user presses the mouse button in a list view. \fIitem\fR is the list view item on which the user pressed the mouse button, or 0 if the user didn't press the mouse on an item. \fIpnt\fR is the position of the mouse cursor in global coordinates, and \fIc\fR is the column where the mouse cursor was when the user pressed the mouse button.
@@ -836,9 +836,9 @@ Ensures that the header is correctly sized and positioned when the resize event
Returns TRUE if all, none or the only the last column should be resized; otherwise returns FALSE. See the "resizeMode" property for details.
.SH "void QListView::returnPressed ( QListViewItem * )\fC [signal]\fR"
This signal is emitted when Enter or Return is pressed. The argument is the currentItem().
-.SH "void QListView::rightButtonClicked ( QListViewItem *, const QPoint &, int )\fC [signal]\fR"
+.SH "void QListView::rightButtonClicked ( QListViewItem *, const TQPoint &, int )\fC [signal]\fR"
This signal is emitted when the right button is clicked (i.e. when it's released). The arguments are the relevant QListViewItem (may be 0), the point in global coordinates and the relevant column (or -1 if the click was outside the list).
-.SH "void QListView::rightButtonPressed ( QListViewItem *, const QPoint &, int )\fC [signal]\fR"
+.SH "void QListView::rightButtonPressed ( QListViewItem *, const TQPoint &, int )\fC [signal]\fR"
This signal is emitted when the right button is pressed. The arguments are the relevant QListViewItem (may be 0), the point in global coordinates and the relevant column (or -1 if the click was outside the list).
.SH "bool QListView::rootIsDecorated () const"
Returns TRUE if the list view shows open/close signs on root items; otherwise returns FALSE. See the "rootIsDecorated" property for details.