From 628b0bb74c3fc327efff8add9c73ada04b1cbea2 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sun, 7 Jul 2024 13:06:00 +0900 Subject: Rename drag-n-drop nt* related files to equivalent tq* Signed-off-by: Michele Calgaro --- doc/html/iconview-example.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'doc/html/iconview-example.html') diff --git a/doc/html/iconview-example.html b/doc/html/iconview-example.html index 7bb2e3bea..47caf4ab5 100644 --- a/doc/html/iconview-example.html +++ b/doc/html/iconview-example.html @@ -49,11 +49,11 @@ view modes, rubberband selection, etc. #include <tqiconview.h> #include <ntqapplication.h> -#include <ntqdragobject.h> +#include <tqdragobject.h> #include <ntqpixmap.h> #include <tqiconset.h> -#include <ntqmime.h> +#include <tqmime.h> #include <stdio.h> class ListenDND : public TQObject @@ -66,15 +66,15 @@ public: {} public slots: - void dropped( TQDropEvent *mime ) { + void dropped( TQDropEvent *mime ) { tqDebug( "Dropped Mimesource %p into the view %p", mime, view ); tqDebug( " Formats:" ); int i = 0; - const char *str = mime->format( i ); + const char *str = mime->format( i ); tqDebug( " %s", str ); while ( str ) { tqDebug( " %s", str ); - str = mime->format( ++i ); + str = mime->format( ++i ); } }; void moved() { @@ -101,8 +101,8 @@ int main( int argc, char **argv ) tqiconview.setCaption( "TQt Example - Iconview" ); ListenDND listen_dnd( &tqiconview ); - TQObject::connect( &tqiconview, TQ_SIGNAL( dropped( TQDropEvent *, const TQValueList<TQIconDragItem> & ) ), - &listen_dnd, TQ_SLOT( dropped( TQDropEvent * ) ) ); + TQObject::connect( &tqiconview, TQ_SIGNAL( dropped( TQDropEvent *, const TQValueList<TQIconDragItem> & ) ), + &listen_dnd, TQ_SLOT( dropped( TQDropEvent * ) ) ); TQObject::connect( &tqiconview, TQ_SIGNAL( moved() ), &listen_dnd, TQ_SLOT( moved() ) ); a.setMainWidget( &tqiconview ); -- cgit v1.2.3