From 397b7afa8e3f32268c4454bf4783ac2a5a799658 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 15 Oct 2024 13:05:33 +0900 Subject: Rename ntqapplication, ntqconfig and ntqmodules files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/dnd.doc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'doc/dnd.doc') diff --git a/doc/dnd.doc b/doc/dnd.doc index bb5b93fa8..8ae297cd3 100644 --- a/doc/dnd.doc +++ b/doc/dnd.doc @@ -140,14 +140,14 @@ information on the clipboard: \code void MyWidget::copy() { - QApplication::clipboard()->setData( + TQApplication::clipboard()->setData( new TQTextDrag(myHighlightedText()) ); } void MyWidget::paste() { TQString text; - if ( TQTextDrag::decode(QApplication::clipboard()->data(), text) ) + if ( TQTextDrag::decode(TQApplication::clipboard()->data(), text) ) insertText( text ); } \endcode @@ -336,12 +336,12 @@ 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). -The QApplication object (available as the \c tqApp global) also +The TQApplication object (available as the \c tqApp global) also provides some drag and drop related functions: -\l{QApplication::setStartDragTime()}, -\l{QApplication::setStartDragDistance()}, and their corresponding -getters, \l{QApplication::startDragTime()} and -\l{QApplication::startDragDistance()}. +\l{TQApplication::setStartDragTime()}, +\l{TQApplication::setStartDragDistance()}, and their corresponding +getters, \l{TQApplication::startDragTime()} and +\l{TQApplication::startDragDistance()}. \section1 Inter-operating with Other Applications -- cgit v1.2.1