diff options
author | Michele Calgaro <[email protected]> | 2024-10-15 13:05:33 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-10-22 10:05:58 +0900 |
commit | 397b7afa8e3f32268c4454bf4783ac2a5a799658 (patch) | |
tree | 0b41c33e457556bd2b9371788ddbce25263f00d6 /doc/dnd.doc | |
parent | 755d46927cc6a5719e695aeb8133be6897de62d8 (diff) | |
download | tqt3-397b7afa8e3f32268c4454bf4783ac2a5a799658.tar.gz tqt3-397b7afa8e3f32268c4454bf4783ac2a5a799658.zip |
Rename ntqapplication, ntqconfig and ntqmodules files to equivalent tq*
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'doc/dnd.doc')
-rw-r--r-- | doc/dnd.doc | 14 |
1 files changed, 7 insertions, 7 deletions
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 |