summaryrefslogtreecommitdiffstats
path: root/examples/iconview
diff options
context:
space:
mode:
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;