summaryrefslogtreecommitdiffstats
path: root/examples/iconview
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-06-08 14:55:59 +0900
committerMichele Calgaro <[email protected]>2024-06-12 19:18:49 +0900
commitccbc1c3572fd0e26480c1432fff55d2909545538 (patch)
tree2bdcb0d8d91d9fc3fbfc476fa6f31b9e25a9ad49 /examples/iconview
parent0cf411b09cf5d8970b873a338a69eae98d5ce5d8 (diff)
downloadtqt3-ccbc1c3572fd0e26480c1432fff55d2909545538.tar.gz
tqt3-ccbc1c3572fd0e26480c1432fff55d2909545538.zip
Rename icon nt* related files to equivalent tq*
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'examples/iconview')
-rw-r--r--examples/iconview/main.cpp24
-rw-r--r--examples/iconview/simple_dd/main.h2
2 files changed, 13 insertions, 13 deletions
diff --git a/examples/iconview/main.cpp b/examples/iconview/main.cpp
index f7ed6eeb8..7dc8f04d3 100644
--- a/examples/iconview/main.cpp
+++ b/examples/iconview/main.cpp
@@ -7,11 +7,11 @@
**
*****************************************************************************/
-#include <ntqiconview.h>
+#include <tqiconview.h>
#include <ntqapplication.h>
#include <ntqdragobject.h>
#include <ntqpixmap.h>
-#include <ntqiconset.h>
+#include <tqiconset.h>
#include <ntqmime.h>
#include <stdio.h>
@@ -50,24 +50,24 @@ int main( int argc, char **argv )
{
TQApplication a( argc, argv );
- TQIconView qiconview;
- qiconview.setSelectionMode( TQIconView::Extended );
+ TQIconView tqiconview;
+ tqiconview.setSelectionMode( TQIconView::Extended );
for ( unsigned int i = 0; i < 3000; i++ ) {
- TQIconViewItem *item = new TQIconViewItem( &qiconview, TQString( "Item %1" ).arg( i + 1 ) );
+ TQIconViewItem *item = new TQIconViewItem( &tqiconview, TQString( "Item %1" ).arg( i + 1 ) );
item->setRenameEnabled( TRUE );
}
- qiconview.setCaption( "TQt Example - Iconview" );
+ tqiconview.setCaption( "TQt Example - Iconview" );
- ListenDND listen_dnd( &qiconview );
- TQObject::connect( &qiconview, TQ_SIGNAL( dropped( TQDropEvent *, const TQValueList<TQIconDragItem> & ) ),
+ ListenDND listen_dnd( &tqiconview );
+ TQObject::connect( &tqiconview, TQ_SIGNAL( dropped( TQDropEvent *, const TQValueList<TQIconDragItem> & ) ),
&listen_dnd, TQ_SLOT( dropped( TQDropEvent * ) ) );
- TQObject::connect( &qiconview, TQ_SIGNAL( moved() ), &listen_dnd, TQ_SLOT( moved() ) );
+ TQObject::connect( &tqiconview, TQ_SIGNAL( moved() ), &listen_dnd, TQ_SLOT( moved() ) );
- a.setMainWidget( &qiconview );
- qiconview.show();
- qiconview.resize( qiconview.sizeHint() );
+ a.setMainWidget( &tqiconview );
+ tqiconview.show();
+ tqiconview.resize( tqiconview.sizeHint() );
return a.exec();
}
diff --git a/examples/iconview/simple_dd/main.h b/examples/iconview/simple_dd/main.h
index 57f7e0365..64ba6a5b0 100644
--- a/examples/iconview/simple_dd/main.h
+++ b/examples/iconview/simple_dd/main.h
@@ -11,7 +11,7 @@
#include <ntqcursor.h>
#include <ntqsplitter.h>
#include <ntqlistbox.h>
-#include <ntqiconview.h>
+#include <tqiconview.h>
#include <ntqpixmap.h>
class TQDragEnterEvent;