summaryrefslogtreecommitdiffstats
path: root/examples/iconview/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/iconview/main.cpp')
-rw-r--r--examples/iconview/main.cpp24
1 files changed, 12 insertions, 12 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();
}