summaryrefslogtreecommitdiffstats
path: root/doc/dnd.doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc/dnd.doc')
-rw-r--r--doc/dnd.doc14
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