diff options
Diffstat (limited to 'doc/html/ntqiconview.html')
-rw-r--r-- | doc/html/ntqiconview.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/html/ntqiconview.html b/doc/html/ntqiconview.html index 3b5263882..6639bdf65 100644 --- a/doc/html/ntqiconview.html +++ b/doc/html/ntqiconview.html @@ -268,11 +268,11 @@ subclass TQIconView and reimplement <a href="#dragObject">TQIconView::dragObject <p> <pre> TQDragObject *MyIconView::dragObject() { - return new <a href="qtextdrag.html">TQTextDrag</a>( <a href="#currentItem">currentItem</a>()->text(), this ); + return new <a href="tqtextdrag.html">TQTextDrag</a>( <a href="#currentItem">currentItem</a>()->text(), this ); } </pre> -<p> In this example we create a <a href="qtextdrag.html">TQTextDrag</a> object, (derived from +<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 object. We could just as easily have created a <a href="tqimagedrag.html">TQImageDrag</a> from the item's pixmap and returned that instead. @@ -294,7 +294,7 @@ reimplement <a href="qiconviewitem.html#acceptDrop">TQIconViewItem::acceptDrop</ void MyIconViewItem::dropped( <a href="qdropevent.html">TQDropEvent</a> *evt, const <a href="tqvaluelist.html">TQValueList</a><TQIconDragItem>& ) { <a href="tqstring.html">TQString</a> label; - if ( TQTextDrag::<a href="qtextdrag.html#decode">decode</a>( evt, label ) ) + if ( TQTextDrag::<a href="tqtextdrag.html#decode">decode</a>( evt, label ) ) setText( label ); } </pre> |