diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-07 13:06:00 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-07-07 13:06:00 +0900 |
commit | 628b0bb74c3fc327efff8add9c73ada04b1cbea2 (patch) | |
tree | 16062922d35b5e0153b9f866e440f36603bd4f55 /doc/html/simple_dd-example.html | |
parent | 7552c6d73043b1040139033f6864db48ae5446cf (diff) | |
download | tqt3-628b0bb74c3fc327efff8add9c73ada04b1cbea2.tar.gz tqt3-628b0bb74c3fc327efff8add9c73ada04b1cbea2.zip |
Rename drag-n-drop nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/simple_dd-example.html')
-rw-r--r-- | doc/html/simple_dd-example.html | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/html/simple_dd-example.html b/doc/html/simple_dd-example.html index 63e2a8c8f..37bacb35d 100644 --- a/doc/html/simple_dd-example.html +++ b/doc/html/simple_dd-example.html @@ -65,8 +65,8 @@ class DDListBox : public <a href="ntqlistbox.html">TQListBox</a> public: DDListBox( <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0, WFlags f = 0 ); // Low-level drag and drop - void dragEnterEvent( <a href="qdragenterevent.html">TQDragEnterEvent</a> *evt ); - void dropEvent( <a href="qdropevent.html">TQDropEvent</a> *evt ); + void dragEnterEvent( <a href="tqdragenterevent.html">TQDragEnterEvent</a> *evt ); + void dropEvent( <a href="tqdropevent.html">TQDropEvent</a> *evt ); void mousePressEvent( <a href="qmouseevent.html">TQMouseEvent</a> *evt ); void mouseMoveEvent( <a href="qmouseevent.html">TQMouseEvent</a> * ); private: @@ -82,8 +82,8 @@ public: DDIconViewItem( <a href="tqiconview.html">TQIconView</a> *parent, const <a href="tqstring.html">TQString</a> &text ) : <a href="tqiconviewitem.html">TQIconViewItem</a>( parent, text ) {} // High-level drag and drop - bool acceptDrop( const <a href="qmimesource.html">TQMimeSource</a> *mime ) const; - void dropped( <a href="qdropevent.html">TQDropEvent</a> *evt, const <a href="tqvaluelist.html">TQValueList</a><TQIconDragItem>& ); + bool acceptDrop( const <a href="tqmimesource.html">TQMimeSource</a> *mime ) const; + void dropped( <a href="tqdropevent.html">TQDropEvent</a> *evt, const <a href="tqvaluelist.html">TQValueList</a><TQIconDragItem>& ); }; @@ -94,9 +94,9 @@ public: DDIconView( <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0, WFlags f = 0 ) : <a href="tqiconview.html">TQIconView</a>( parent, name, f ) {} // High-level drag and drop - <a href="ntqdragobject.html">TQDragObject</a> *dragObject(); + <a href="tqdragobject.html">TQDragObject</a> *dragObject(); public slots: - void slotNewItem( <a href="qdropevent.html">TQDropEvent</a> *evt, const <a href="tqvaluelist.html">TQValueList</a><TQIconDragItem>& list ); + void slotNewItem( <a href="tqdropevent.html">TQDropEvent</a> *evt, const <a href="tqvaluelist.html">TQValueList</a><TQIconDragItem>& list ); }; </pre> @@ -189,14 +189,14 @@ const char* green_icon[]={ } -<a name="x2829"></a>void DDListBox::<a href="tqwidget.html#dragEnterEvent">dragEnterEvent</a>( <a href="qdragenterevent.html">TQDragEnterEvent</a> *evt ) +<a name="x2829"></a>void DDListBox::<a href="tqwidget.html#dragEnterEvent">dragEnterEvent</a>( <a href="tqdragenterevent.html">TQDragEnterEvent</a> *evt ) { <a name="x2827"></a> if ( TQTextDrag::<a href="tqtextdrag.html#canDecode">canDecode</a>( evt ) ) -<a name="x2819"></a> evt-><a href="qdragmoveevent.html#accept">accept</a>(); +<a name="x2819"></a> evt-><a href="tqdragmoveevent.html#accept">accept</a>(); } -<a name="x2830"></a>void DDListBox::<a href="tqwidget.html#dropEvent">dropEvent</a>( <a href="qdropevent.html">TQDropEvent</a> *evt ) +<a name="x2830"></a>void DDListBox::<a href="tqwidget.html#dropEvent">dropEvent</a>( <a href="tqdropevent.html">TQDropEvent</a> *evt ) { <a href="tqstring.html">TQString</a> text; @@ -215,8 +215,8 @@ const char* green_icon[]={ <a name="x2831"></a>void DDListBox::<a href="tqwidget.html#mouseMoveEvent">mouseMoveEvent</a>( <a href="qmouseevent.html">TQMouseEvent</a> * ) { if ( dragging ) { - <a href="ntqdragobject.html">TQDragObject</a> *d = new <a href="tqtextdrag.html">TQTextDrag</a>( currentText(), this ); -<a name="x2818"></a> d-><a href="ntqdragobject.html#dragCopy">dragCopy</a>(); // do NOT delete d. + <a href="tqdragobject.html">TQDragObject</a> *d = new <a href="tqtextdrag.html">TQTextDrag</a>( currentText(), this ); +<a name="x2818"></a> d-><a href="tqdragobject.html#dragCopy">dragCopy</a>(); // do NOT delete d. dragging = FALSE; } } @@ -225,15 +225,15 @@ const char* green_icon[]={ // IconViewIcon -- high level drag and drop -<a name="x2822"></a>bool DDIconViewItem::<a href="tqiconviewitem.html#acceptDrop">acceptDrop</a>( const <a href="qmimesource.html">TQMimeSource</a> *mime ) const +<a name="x2822"></a>bool DDIconViewItem::<a href="tqiconviewitem.html#acceptDrop">acceptDrop</a>( const <a href="tqmimesource.html">TQMimeSource</a> *mime ) const { -<a name="x2825"></a> if ( mime-><a href="qmimesource.html#provides">provides</a>( "text/plain" ) ) +<a name="x2825"></a> if ( mime-><a href="tqmimesource.html#provides">provides</a>( "text/plain" ) ) return TRUE; return FALSE; } -<a name="x2823"></a>void DDIconViewItem::<a href="tqiconviewitem.html#dropped">dropped</a>( <a href="qdropevent.html">TQDropEvent</a> *evt, const <a href="tqvaluelist.html">TQValueList</a><TQIconDragItem>& ) +<a name="x2823"></a>void DDIconViewItem::<a href="tqiconviewitem.html#dropped">dropped</a>( <a href="tqdropevent.html">TQDropEvent</a> *evt, const <a href="tqvaluelist.html">TQValueList</a><TQIconDragItem>& ) { <a href="tqstring.html">TQString</a> label; @@ -249,7 +249,7 @@ const char* green_icon[]={ return new <a href="tqtextdrag.html">TQTextDrag</a>( <a href="tqiconview.html#currentItem">currentItem</a>()->text(), this ); } -void <a name="f588"></a>DDIconView::slotNewItem( <a href="qdropevent.html">TQDropEvent</a> *evt, const <a href="tqvaluelist.html">TQValueList</a><TQIconDragItem>& ) +void <a name="f588"></a>DDIconView::slotNewItem( <a href="tqdropevent.html">TQDropEvent</a> *evt, const <a href="tqvaluelist.html">TQValueList</a><TQIconDragItem>& ) { <a href="tqstring.html">TQString</a> label; |