diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-08 12:56:43 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-06-08 12:56:43 +0900 |
commit | 0cf411b09cf5d8970b873a338a69eae98d5ce5d8 (patch) | |
tree | 107cf55759cc3138bb1e0035b479bcd92127403a /doc/man/man3/tqiconview.3qt | |
parent | e6077c30d14e9d662e8843c554db86c0d366d0b6 (diff) | |
download | tqt-0cf411b0.tar.gz tqt-0cf411b0.zip |
Rename text nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqiconview.3qt')
-rw-r--r-- | doc/man/man3/tqiconview.3qt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/man/man3/tqiconview.3qt b/doc/man/man3/tqiconview.3qt index a8003b48d..73473bfc4 100644 --- a/doc/man/man3/tqiconview.3qt +++ b/doc/man/man3/tqiconview.3qt @@ -423,13 +423,13 @@ The simple approach to dragging items out of the icon view is to subclass QIconV .br { .br - return new QTextDrag( currentItem()->text(), this ); + return new TQTextDrag( currentItem()->text(), this ); .br } .br .fi .PP -In this example we create a QTextDrag object, (derived from QDragObject), containing the item's label and return it as the drag object. We could just as easily have created a TQImageDrag from the item's pixmap and returned that instead. +In this example we create a TQTextDrag object, (derived from QDragObject), containing the item's label and return it as the drag object. We could just as easily have created a TQImageDrag from the item's pixmap and returned that instead. .PP QIconViews and their QIconViewItems can also be the targets of drag and drops. To make the QIconView itself able to accept drops connect to the dropped() signal. When a drop occurs this signal will be emitted with a QDragEvent and a TQValueList of QIconDragItems. To make a QIconViewItem into a drop target subclass QIconViewItem and reimplement QIconViewItem::acceptDrop() and QIconViewItem::dropped(). .PP @@ -454,7 +454,7 @@ QIconViews and their QIconViewItems can also be the targets of drag and drops. T .br TQString label; .br - if ( QTextDrag::decode( evt, label ) ) + if ( TQTextDrag::decode( evt, label ) ) .br setText( label ); .br |