summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqiconview.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqiconview.3qt')
-rw-r--r--doc/man/man3/tqiconview.3qt48
1 files changed, 24 insertions, 24 deletions
diff --git a/doc/man/man3/tqiconview.3qt b/doc/man/man3/tqiconview.3qt
index da29c87fe..0bad304d0 100644
--- a/doc/man/man3/tqiconview.3qt
+++ b/doc/man/man3/tqiconview.3qt
@@ -67,7 +67,7 @@ Inherits QScrollView.
.BI "SelectionMode \fBselectionMode\fR () const"
.br
.ti -1c
-.BI "TQIconViewItem * \fBfindItem\fR ( const QPoint & pos ) const"
+.BI "TQIconViewItem * \fBfindItem\fR ( const TQPoint & pos ) const"
.br
.ti -1c
.BI "TQIconViewItem * \fBfindItem\fR ( const TQString & text, ComparisonFlags compare = BeginsWith ) const"
@@ -91,10 +91,10 @@ Inherits QScrollView.
.BI "void \fBensureItemVisible\fR ( TQIconViewItem * item )"
.br
.ti -1c
-.BI "TQIconViewItem * \fBfindFirstVisibleItem\fR ( const QRect & r ) const"
+.BI "TQIconViewItem * \fBfindFirstVisibleItem\fR ( const TQRect & r ) const"
.br
.ti -1c
-.BI "TQIconViewItem * \fBfindLastVisibleItem\fR ( const QRect & r ) const"
+.BI "TQIconViewItem * \fBfindLastVisibleItem\fR ( const TQRect & r ) const"
.br
.ti -1c
.BI "virtual void \fBclear\fR ()"
@@ -217,13 +217,13 @@ Inherits QScrollView.
.BI "void \fBclicked\fR ( TQIconViewItem * item )"
.br
.ti -1c
-.BI "void \fBclicked\fR ( TQIconViewItem * item, const QPoint & pos )"
+.BI "void \fBclicked\fR ( TQIconViewItem * item, const TQPoint & pos )"
.br
.ti -1c
.BI "void \fBpressed\fR ( TQIconViewItem * item )"
.br
.ti -1c
-.BI "void \fBpressed\fR ( TQIconViewItem * item, const QPoint & pos )"
+.BI "void \fBpressed\fR ( TQIconViewItem * item, const TQPoint & pos )"
.br
.ti -1c
.BI "void \fBdoubleClicked\fR ( TQIconViewItem * item )"
@@ -232,19 +232,19 @@ Inherits QScrollView.
.BI "void \fBreturnPressed\fR ( TQIconViewItem * item )"
.br
.ti -1c
-.BI "void \fBrightButtonClicked\fR ( TQIconViewItem * item, const QPoint & pos )"
+.BI "void \fBrightButtonClicked\fR ( TQIconViewItem * item, const TQPoint & pos )"
.br
.ti -1c
-.BI "void \fBrightButtonPressed\fR ( TQIconViewItem * item, const QPoint & pos )"
+.BI "void \fBrightButtonPressed\fR ( TQIconViewItem * item, const TQPoint & pos )"
.br
.ti -1c
-.BI "void \fBmouseButtonPressed\fR ( int button, TQIconViewItem * item, const QPoint & pos )"
+.BI "void \fBmouseButtonPressed\fR ( int button, TQIconViewItem * item, const TQPoint & pos )"
.br
.ti -1c
-.BI "void \fBmouseButtonClicked\fR ( int button, TQIconViewItem * item, const QPoint & pos )"
+.BI "void \fBmouseButtonClicked\fR ( int button, TQIconViewItem * item, const TQPoint & pos )"
.br
.ti -1c
-.BI "void \fBcontextMenuRequested\fR ( TQIconViewItem * item, const QPoint & pos )"
+.BI "void \fBcontextMenuRequested\fR ( TQIconViewItem * item, const TQPoint & pos )"
.br
.ti -1c
.BI "void \fBdropped\fR ( TQDropEvent * e, const TQValueList<TQIconDragItem> & lst )"
@@ -334,7 +334,7 @@ Inherits QScrollView.
.BI "virtual void \fBinsertInGrid\fR ( TQIconViewItem * item )"
.br
.ti -1c
-.BI "virtual void \fBdrawBackground\fR ( TQPainter * p, const QRect & r )"
+.BI "virtual void \fBdrawBackground\fR ( TQPainter * p, const TQRect & r )"
.br
.ti -1c
.BI "void \fBemitSelectionChanged\fR ( TQIconViewItem * i = 0 )"
@@ -372,7 +372,7 @@ The simplest way to create a TQIconView is to create a TQIconView object and cre
.br
for ( uint i = 0; i < dir.count(); i++ ) {
.br
- (void) new TQIconViewItem( iv, dir[i], QPixmap( path + dir[i] ) );
+ (void) new TQIconViewItem( iv, dir[i], TQPixmap( path + dir[i] ) );
.br
}
.br
@@ -382,7 +382,7 @@ The simplest way to create a TQIconView is to create a TQIconView object and cre
.br
.fi
.PP
-The TQIconViewItem call passes a pointer to the TQIconView we wish to populate, along with the label text and a QPixmap.
+The TQIconViewItem call passes a pointer to the TQIconView we wish to populate, along with the label text and a TQPixmap.
.PP
When an item is inserted the TQIconView allocates a position for it. Existing items are rearranged if autoArrange() is TRUE. The default arrangement is LeftToRight -- the TQIconView fills up the \fIleft-most\fR column from top to bottom, then moves one column \fIright\fR and fills that from top to bottom and so on. The arrangement can be modified with any of the following approaches:
.TP
@@ -547,7 +547,7 @@ Unselects all the items.
This signal is emitted when the user clicks any mouse button. If \fIitem\fR is non-null, the cursor is on \fIitem\fR. If \fIitem\fR is null, the mouse cursor isn't on any item.
.PP
See also mouseButtonClicked(), rightButtonClicked(), and pressed().
-.SH "void TQIconView::clicked ( TQIconViewItem * item, const QPoint & pos )\fC [signal]\fR"
+.SH "void TQIconView::clicked ( TQIconViewItem * item, const TQPoint & pos )\fC [signal]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
This signal is emitted when the user clicks any mouse button on an icon view item. \fIitem\fR is a pointer to the item that has been clicked.
@@ -555,7 +555,7 @@ This signal is emitted when the user clicks any mouse button on an icon view ite
\fIpos\fR is the position of the mouse cursor in the global coordinate system (QMouseEvent::globalPos()). (If the click's press and release differ by a pixel or two, \fIpos\fR is the position at release time.)
.PP
See also mouseButtonClicked(), rightButtonClicked(), and pressed().
-.SH "void TQIconView::contextMenuRequested ( TQIconViewItem * item, const QPoint & pos )\fC [signal]\fR"
+.SH "void TQIconView::contextMenuRequested ( TQIconViewItem * item, const TQPoint & pos )\fC [signal]\fR"
This signal is emitted when the user invokes a context menu with the right mouse button or with special system keys, with \fIitem\fR being the item under the mouse cursor or the current item, respectively.
.PP
\fIpos\fR is the position for the context menu in the global coordinate system.
@@ -580,7 +580,7 @@ See also TQIconDrag.
.PP
Examples:
.)l fileiconview/tqfileiconview.cpp and iconview/simple_dd/main.cpp.
-.SH "void TQIconView::drawBackground ( TQPainter * p, const QRect & r )\fC [virtual protected]\fR"
+.SH "void TQIconView::drawBackground ( TQPainter * p, const TQRect & r )\fC [virtual protected]\fR"
This function is called to draw the rectangle \fIr\fR of the background using the painter \fIp\fR.
.PP
The default implementation fills \fIr\fR with the viewport's backgroundBrush(). Subclasses may reimplement this to draw custom backgrounds.
@@ -605,19 +605,19 @@ Emits a signal to indicate selection changes. \fIi\fR is the TQIconViewItem that
Makes sure that \fIitem\fR is entirely visible. If necessary, ensureItemVisible() scrolls the icon view.
.PP
See also ensureVisible().
-.SH "TQIconViewItem * TQIconView::findFirstVisibleItem ( const QRect & r ) const"
+.SH "TQIconViewItem * TQIconView::findFirstVisibleItem ( const TQRect & r ) const"
Finds the first item whose bounding rectangle overlaps \fIr\fR and returns a pointer to that item. \fIr\fR is given in content coordinates. Returns 0 if no item overlaps \fIr\fR.
.PP
If you want to find all items that touch \fIr\fR, you will need to use this function and nextItem() in a loop ending at findLastVisibleItem() and test TQIconViewItem::rect() for each of these items.
.PP
See also findLastVisibleItem() and TQIconViewItem::rect().
-.SH "TQIconViewItem * TQIconView::findItem ( const QPoint & pos ) const"
+.SH "TQIconViewItem * TQIconView::findItem ( const TQPoint & pos ) const"
Returns a pointer to the item that contains point \fIpos\fR, which is given in contents coordinates, or 0 if no item contains point \fIpos\fR.
.SH "TQIconViewItem * TQIconView::findItem ( const TQString & text, ComparisonFlags compare = BeginsWith ) const"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
Returns a pointer to the first item whose text begins with \fItext\fR, or 0 if no such item could be found. Use the \fIcompare\fR flag to control the comparison behaviour. (See TQt::StringComparisonMode.)
-.SH "TQIconViewItem * TQIconView::findLastVisibleItem ( const QRect & r ) const"
+.SH "TQIconViewItem * TQIconView::findLastVisibleItem ( const TQRect & r ) const"
Finds the last item whose bounding rectangle overlaps \fIr\fR and returns a pointer to that item. \fIr\fR is given in content coordinates. Returns 0 if no item overlaps \fIr\fR.
.PP
See also findFirstVisibleItem().
@@ -675,13 +675,13 @@ Lays out a row of icons (if Arrangement == TopToBottom this is a column). Starts
Returns the maximum length (in characters) that an item's text may have. See the "maxItemTextLength" property for details.
.SH "int TQIconView::maxItemWidth () const"
Returns the maximum width that an item may have. See the "maxItemWidth" property for details.
-.SH "void TQIconView::mouseButtonClicked ( int button, TQIconViewItem * item, const QPoint & pos )\fC [signal]\fR"
+.SH "void TQIconView::mouseButtonClicked ( int button, TQIconViewItem * item, const TQPoint & pos )\fC [signal]\fR"
This signal is emitted when the user clicks mouse button \fIbutton\fR. If \fIitem\fR is non-null, the cursor is on \fIitem\fR. If \fIitem\fR is null, the mouse cursor isn't on any item.
.PP
\fIpos\fR is the position of the mouse cursor in the global coordinate system (QMouseEvent::globalPos()). (If the click's press and release differ by a pixel or two, \fIpos\fR is the position at release time.)
.PP
See also mouseButtonPressed(), rightButtonClicked(), and clicked().
-.SH "void TQIconView::mouseButtonPressed ( int button, TQIconViewItem * item, const QPoint & pos )\fC [signal]\fR"
+.SH "void TQIconView::mouseButtonPressed ( int button, TQIconViewItem * item, const TQPoint & pos )\fC [signal]\fR"
This signal is emitted when the user presses mouse button \fIbutton\fR. If \fIitem\fR is non-null, the cursor is on \fIitem\fR. If \fIitem\fR is null, the mouse cursor isn't on any item.
.PP
\fIpos\fR is the position of the mouse cursor in the global coordinate system (QMouseEvent::globalPos()).
@@ -701,7 +701,7 @@ See also onItem().
This signal is emitted when the user presses any mouse button. If \fIitem\fR is non-null, the cursor is on \fIitem\fR. If \fIitem\fR is null, the mouse cursor isn't on any item.
.PP
See also mouseButtonPressed(), rightButtonPressed(), and clicked().
-.SH "void TQIconView::pressed ( TQIconViewItem * item, const QPoint & pos )\fC [signal]\fR"
+.SH "void TQIconView::pressed ( TQIconViewItem * item, const TQPoint & pos )\fC [signal]\fR"
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
.PP
This signal is emitted when the user presses any mouse button. If \fIitem\fR is non-null, the cursor is on \fIitem\fR. If \fIitem\fR is null, the mouse cursor isn't on any item.
@@ -717,13 +717,13 @@ Repaints the selected items.
Returns the resize mode of the icon view. See the "resizeMode" property for details.
.SH "void TQIconView::returnPressed ( TQIconViewItem * item )\fC [signal]\fR"
This signal is emitted if the user presses the Return or Enter key. \fIitem\fR is the currentItem() at the time of the keypress.
-.SH "void TQIconView::rightButtonClicked ( TQIconViewItem * item, const QPoint & pos )\fC [signal]\fR"
+.SH "void TQIconView::rightButtonClicked ( TQIconViewItem * item, const TQPoint & pos )\fC [signal]\fR"
This signal is emitted when the user clicks the right mouse button. If \fIitem\fR is non-null, the cursor is on \fIitem\fR. If \fIitem\fR is null, the mouse cursor isn't on any item.
.PP
\fIpos\fR is the position of the mouse cursor in the global coordinate system (QMouseEvent::globalPos()). (If the click's press and release differ by a pixel or two, \fIpos\fR is the position at release time.)
.PP
See also rightButtonPressed(), mouseButtonClicked(), and clicked().
-.SH "void TQIconView::rightButtonPressed ( TQIconViewItem * item, const QPoint & pos )\fC [signal]\fR"
+.SH "void TQIconView::rightButtonPressed ( TQIconViewItem * item, const TQPoint & pos )\fC [signal]\fR"
This signal is emitted when the user presses the right mouse button. If \fIitem\fR is non-null, the cursor is on \fIitem\fR. If \fIitem\fR is null, the mouse cursor isn't on any item.
.PP
\fIpos\fR is the position of the mouse cursor in the global coordinate system (QMouseEvent::globalPos()).