diff options
Diffstat (limited to 'doc/html/dnd.html')
-rw-r--r-- | doc/html/dnd.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/dnd.html b/doc/html/dnd.html index 48e511348..b5bc53181 100644 --- a/doc/html/dnd.html +++ b/doc/html/dnd.html @@ -141,14 +141,14 @@ information on the clipboard: <pre> void MyWidget::copy() { - TQApplication::<a href="ntqapplication.html#clipboard">clipboard</a>()->setData( + TQApplication::<a href="tqapplication.html#clipboard">clipboard</a>()->setData( new <a href="tqtextdrag.html">TQTextDrag</a>(myHighlightedText()) ); } void MyWidget::paste() { <a href="tqstring.html">TQString</a> text; - if ( TQTextDrag::<a href="tqtextdrag.html#decode">decode</a>(TQApplication::<a href="ntqapplication.html#clipboard">clipboard</a>()->data(), text) ) + if ( TQTextDrag::<a href="tqtextdrag.html#decode">decode</a>(TQApplication::<a href="tqapplication.html#clipboard">clipboard</a>()->data(), text) ) insertText( text ); } </pre> @@ -318,12 +318,12 @@ void MyWidget::dragMoveEvent(TQDragMoveEvent* event) feedback as the drag progresses, to start timers, to scroll the window, or whatever is appropriate (don't forget to stop the scrolling and timers in a dragLeaveEvent() though). -<p> The <a href="ntqapplication.html">TQApplication</a> object (available as the <tt>tqApp</tt> global) also +<p> The <a href="tqapplication.html">TQApplication</a> object (available as the <tt>tqApp</tt> global) also provides some drag and drop related functions: -<a href="ntqapplication.html#setStartDragTime">TQApplication::setStartDragTime</a>(), -<a href="ntqapplication.html#setStartDragDistance">TQApplication::setStartDragDistance</a>(), and their corresponding -getters, <a href="ntqapplication.html#startDragTime">TQApplication::startDragTime</a>() and -<a href="ntqapplication.html#startDragDistance">TQApplication::startDragDistance</a>(). +<a href="tqapplication.html#setStartDragTime">TQApplication::setStartDragTime</a>(), +<a href="tqapplication.html#setStartDragDistance">TQApplication::setStartDragDistance</a>(), and their corresponding +getters, <a href="tqapplication.html#startDragTime">TQApplication::startDragTime</a>() and +<a href="tqapplication.html#startDragDistance">TQApplication::startDragDistance</a>(). <p> <h2> Inter-operating with Other Applications </h2> <a name="7"></a><p> On X11, the public <a class="r" |