diff options
Diffstat (limited to 'doc/html/tqiconview.html')
-rw-r--r-- | doc/html/tqiconview.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/tqiconview.html b/doc/html/tqiconview.html index c94dbac95..9ef4c8a89 100644 --- a/doc/html/tqiconview.html +++ b/doc/html/tqiconview.html @@ -273,7 +273,7 @@ subclass TQIconView and reimplement <a href="#dragObject">TQIconView::dragObject </pre> <p> In this example we create a <a href="tqtextdrag.html">TQTextDrag</a> object, (derived from -<a href="ntqdragobject.html">TQDragObject</a>), containing the item's label and return it as the drag +<a href="tqdragobject.html">TQDragObject</a>), containing the item's label and return it as the drag object. We could just as easily have created a <a href="tqimagedrag.html">TQImageDrag</a> from the item's pixmap and returned that instead. <p> TQIconViews and their TQIconViewItems can also be the targets of drag @@ -284,14 +284,14 @@ make a <a href="tqiconviewitem.html">TQIconViewItem</a> into a drop target subcl reimplement <a href="tqiconviewitem.html#acceptDrop">TQIconViewItem::acceptDrop</a>() and <a href="tqiconviewitem.html#dropped">TQIconViewItem::dropped</a>(). <p> <pre> - bool MyIconViewItem::acceptDrop( const <a href="qmimesource.html">TQMimeSource</a> *mime ) const + bool MyIconViewItem::acceptDrop( const <a href="tqmimesource.html">TQMimeSource</a> *mime ) const { - if ( mime-><a href="qmimesource.html#provides">provides</a>( "text/plain" ) ) + if ( mime-><a href="tqmimesource.html#provides">provides</a>( "text/plain" ) ) return TRUE; return FALSE; } - void MyIconViewItem::dropped( <a href="qdropevent.html">TQDropEvent</a> *evt, const <a href="tqvaluelist.html">TQValueList</a><TQIconDragItem>& ) + void MyIconViewItem::dropped( <a href="tqdropevent.html">TQDropEvent</a> *evt, const <a href="tqvaluelist.html">TQValueList</a><TQIconDragItem>& ) { <a href="tqstring.html">TQString</a> label; if ( TQTextDrag::<a href="tqtextdrag.html#decode">decode</a>( evt, label ) ) @@ -484,9 +484,9 @@ rubber band. <p> This signal is emitted when the user double-clicks on <em>item</em>. -<h3 class=fn><a href="ntqdragobject.html">TQDragObject</a> * <a name="dragObject"></a>TQIconView::dragObject ()<tt> [virtual protected]</tt> +<h3 class=fn><a href="tqdragobject.html">TQDragObject</a> * <a name="dragObject"></a>TQIconView::dragObject ()<tt> [virtual protected]</tt> </h3> -Returns the <a href="ntqdragobject.html">TQDragObject</a> that should be used for drag-and-drop. +Returns the <a href="tqdragobject.html">TQDragObject</a> 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. @@ -506,7 +506,7 @@ backgrounds. </h3> Draws the rubber band using the painter <em>p</em>. -<h3 class=fn>void <a name="dropped"></a>TQIconView::dropped ( <a href="qdropevent.html">TQDropEvent</a> * e, const <a href="tqvaluelist.html">TQValueList</a><TQIconDragItem> & lst )<tt> [signal]</tt> +<h3 class=fn>void <a name="dropped"></a>TQIconView::dropped ( <a href="tqdropevent.html">TQDropEvent</a> * e, const <a href="tqvaluelist.html">TQValueList</a><TQIconDragItem> & lst )<tt> [signal]</tt> </h3> <p> This signal is emitted when a drop event occurs in the viewport |