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.3qt20
1 files changed, 10 insertions, 10 deletions
diff --git a/doc/man/man3/tqiconview.3qt b/doc/man/man3/tqiconview.3qt
index 779f45cc6..36090a06d 100644
--- a/doc/man/man3/tqiconview.3qt
+++ b/doc/man/man3/tqiconview.3qt
@@ -247,7 +247,7 @@ Inherits QScrollView.
.BI "void \fBcontextMenuRequested\fR ( TQIconViewItem * item, const QPoint & pos )"
.br
.ti -1c
-.BI "void \fBdropped\fR ( QDropEvent * e, const TQValueList<TQIconDragItem> & lst )"
+.BI "void \fBdropped\fR ( TQDropEvent * e, const TQValueList<TQIconDragItem> & lst )"
.br
.ti -1c
.BI "void \fBmoved\fR ()"
@@ -325,7 +325,7 @@ Inherits QScrollView.
.BI "virtual void \fBdrawRubber\fR ( QPainter * p )"
.br
.ti -1c
-.BI "virtual QDragObject * \fBdragObject\fR ()"
+.BI "virtual TQDragObject * \fBdragObject\fR ()"
.br
.ti -1c
.BI "virtual void \fBstartDrag\fR ()"
@@ -419,7 +419,7 @@ The simple approach to dragging items out of the icon view is to subclass TQIcon
.PP
.nf
.br
- QDragObject *MyIconView::dragObject()
+ TQDragObject *MyIconView::dragObject()
.br
{
.br
@@ -429,13 +429,13 @@ The simple approach to dragging items out of the icon view is to subclass TQIcon
.br
.fi
.PP
-In this example we create a TQTextDrag object, (derived from QDragObject), containing the item's label and return it as the drag object. We could just as easily have created a TQImageDrag from the item's pixmap and returned that instead.
+In this example we create a TQTextDrag object, (derived from TQDragObject), containing the item's label and return it as the drag object. We could just as easily have created a TQImageDrag from the item's pixmap and returned that instead.
.PP
-TQIconViews and their TQIconViewItems can also be the targets of drag and drops. To make the TQIconView itself able to accept drops connect to the dropped() signal. When a drop occurs this signal will be emitted with a QDragEvent and a TQValueList of TQIconDragItems. To make a TQIconViewItem into a drop target subclass TQIconViewItem and reimplement TQIconViewItem::acceptDrop() and TQIconViewItem::dropped().
+TQIconViews and their TQIconViewItems can also be the targets of drag and drops. To make the TQIconView itself able to accept drops connect to the dropped() signal. When a drop occurs this signal will be emitted with a TQDragEvent and a TQValueList of TQIconDragItems. To make a TQIconViewItem into a drop target subclass TQIconViewItem and reimplement TQIconViewItem::acceptDrop() and TQIconViewItem::dropped().
.PP
.nf
.br
- bool MyIconViewItem::acceptDrop( const QMimeSource *mime ) const
+ bool MyIconViewItem::acceptDrop( const TQMimeSource *mime ) const
.br
{
.br
@@ -448,7 +448,7 @@ TQIconViews and their TQIconViewItems can also be the targets of drag and drops.
}
.br
.br
- void MyIconViewItem::dropped( QDropEvent *evt, const TQValueList<TQIconDragItem>& )
+ void MyIconViewItem::dropped( TQDropEvent *evt, const TQValueList<TQIconDragItem>& )
.br
{
.br
@@ -573,8 +573,8 @@ See also setCurrentItem(), firstItem(), and lastItem().
Performs autoscrolling when selecting multiple icons with the rubber band.
.SH "void TQIconView::doubleClicked ( TQIconViewItem * item )\fC [signal]\fR"
This signal is emitted when the user double-clicks on \fIitem\fR.
-.SH "QDragObject * TQIconView::dragObject ()\fC [virtual protected]\fR"
-Returns the QDragObject that should be used for drag-and-drop. This function is called by the icon view when starting a drag to get the dragobject that should be used for the drag. Subclasses may reimplement this.
+.SH "TQDragObject * TQIconView::dragObject ()\fC [virtual protected]\fR"
+Returns the TQDragObject that should be used for drag-and-drop. This function is called by the icon view when starting a drag to get the dragobject that should be used for the drag. Subclasses may reimplement this.
.PP
See also TQIconDrag.
.PP
@@ -588,7 +588,7 @@ The default implementation fills \fIr\fR with the viewport's backgroundBrush().
See also contentsX, contentsY, and drawContents().
.SH "void TQIconView::drawRubber ( QPainter * p )\fC [virtual protected]\fR"
Draws the rubber band using the painter \fIp\fR.
-.SH "void TQIconView::dropped ( QDropEvent * e, const TQValueList<TQIconDragItem> & lst )\fC [signal]\fR"
+.SH "void TQIconView::dropped ( TQDropEvent * e, const TQValueList<TQIconDragItem> & lst )\fC [signal]\fR"
This signal is emitted when a drop event occurs in the viewport (but not on any icon) which the icon view itself can't handle.
.PP
\fIe\fR provides all the information about the drop. If the drag object of the drop was a TQIconDrag, \fIlst\fR contains the list of the dropped items. You can get the data using TQIconDragItem::data() on each item. If the \fIlst\fR is empty, i.e. the drag was not a TQIconDrag, you have to decode the data in \fIe\fR and work with that.