diff options
author | Michele Calgaro <[email protected]> | 2024-06-08 14:55:59 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2024-06-12 19:18:49 +0900 |
commit | ccbc1c3572fd0e26480c1432fff55d2909545538 (patch) | |
tree | 2bdcb0d8d91d9fc3fbfc476fa6f31b9e25a9ad49 /examples | |
parent | 0cf411b09cf5d8970b873a338a69eae98d5ce5d8 (diff) | |
download | tqt3-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')
-rw-r--r-- | examples/README | 4 | ||||
-rw-r--r-- | examples/demo/categoryinterface.h | 2 | ||||
-rw-r--r-- | examples/demo/dnd/dnd.cpp | 2 | ||||
-rw-r--r-- | examples/demo/dnd/iconview.h | 2 | ||||
-rw-r--r-- | examples/demo/i18n/i18n.cpp | 2 | ||||
-rw-r--r-- | examples/demo/textdrawing/helpwindow.cpp | 2 | ||||
-rw-r--r-- | examples/fileiconview/fileiconview.doc | 2 | ||||
-rw-r--r-- | examples/fileiconview/qfileiconview.h | 4 | ||||
-rw-r--r-- | examples/helpviewer/helpwindow.cpp | 2 | ||||
-rw-r--r-- | examples/iconview/main.cpp | 24 | ||||
-rw-r--r-- | examples/iconview/simple_dd/main.h | 2 |
11 files changed, 24 insertions, 24 deletions
diff --git a/examples/README b/examples/README index 454a9b683..10ad6df33 100644 --- a/examples/README +++ b/examples/README @@ -113,7 +113,7 @@ extension fileiconview This example partially implements a very basic file manager using - a widget derived from QIconView to display the current directory. + a widget derived from TQIconView to display the current directory. It uses the DirectoryView widget from the dirview example to display the directory tree. It also shows how to add a QComboBox to a QToolBar and how to @@ -159,7 +159,7 @@ i18n iconview This example implements a flexible icon view which can store lots of icon items. It supports Drag'n'Drop and different selection - modes using QIconView. + modes using TQIconView. kiosk [Qt/Embedded-specific] An MPEG player. diff --git a/examples/demo/categoryinterface.h b/examples/demo/categoryinterface.h index 95a8afa78..65383bf8c 100644 --- a/examples/demo/categoryinterface.h +++ b/examples/demo/categoryinterface.h @@ -2,7 +2,7 @@ #define CATEGORYINTERFACE_H #include <tqstring.h> -#include <ntqiconset.h> +#include <tqiconset.h> #include <tqobject.h> class TQWidgetStack; diff --git a/examples/demo/dnd/dnd.cpp b/examples/demo/dnd/dnd.cpp index f03c918df..43100b721 100644 --- a/examples/demo/dnd/dnd.cpp +++ b/examples/demo/dnd/dnd.cpp @@ -1,4 +1,4 @@ -#include <ntqiconview.h> +#include <tqiconview.h> #include <ntqdragobject.h> #include <ntqlayout.h> #include <ntqmultilineedit.h> diff --git a/examples/demo/dnd/iconview.h b/examples/demo/dnd/iconview.h index 94c0110d9..df27b2c51 100644 --- a/examples/demo/dnd/iconview.h +++ b/examples/demo/dnd/iconview.h @@ -1,4 +1,4 @@ -#include <ntqiconview.h> +#include <tqiconview.h> #include <tqstring.h> #include "dnd.h" diff --git a/examples/demo/i18n/i18n.cpp b/examples/demo/i18n/i18n.cpp index 053455cee..6c4d8be5e 100644 --- a/examples/demo/i18n/i18n.cpp +++ b/examples/demo/i18n/i18n.cpp @@ -11,7 +11,7 @@ #include <ntqtoolbar.h> #include <ntqtoolbutton.h> #include <ntqpixmap.h> -#include <ntqiconset.h> +#include <tqiconset.h> #include <ntqapplication.h> #include <tqwidgetlist.h> #include <ntqlabel.h> diff --git a/examples/demo/textdrawing/helpwindow.cpp b/examples/demo/textdrawing/helpwindow.cpp index a6fd6df6a..a4f6772a2 100644 --- a/examples/demo/textdrawing/helpwindow.cpp +++ b/examples/demo/textdrawing/helpwindow.cpp @@ -14,7 +14,7 @@ #include <ntqmenubar.h> #include <ntqtoolbar.h> #include <ntqtoolbutton.h> -#include <ntqiconset.h> +#include <tqiconset.h> #include <ntqfile.h> #include <tqtextstream.h> #include <ntqstylesheet.h> diff --git a/examples/fileiconview/fileiconview.doc b/examples/fileiconview/fileiconview.doc index 0bce6c406..640b2f5f8 100644 --- a/examples/fileiconview/fileiconview.doc +++ b/examples/fileiconview/fileiconview.doc @@ -6,7 +6,7 @@ \title Simple Filemanager This example implements a simple and not fully functional file manager using - a widget derived from QIconView to display the current directory. + a widget derived from TQIconView to display the current directory. To display the directory tree the widget written in the <a href="dirview-example.html">dirview</a> example is used. diff --git a/examples/fileiconview/qfileiconview.h b/examples/fileiconview/qfileiconview.h index 3c5083e6f..9b9b626ae 100644 --- a/examples/fileiconview/qfileiconview.h +++ b/examples/fileiconview/qfileiconview.h @@ -11,12 +11,12 @@ #define TQTFILEICONVIEW_H -#include <ntqiconset.h> +#include <tqiconset.h> #include <tqstring.h> #include <ntqfileinfo.h> #include <ntqdir.h> #include <ntqtimer.h> -#include <ntqiconview.h> +#include <tqiconview.h> class TQtFileIconView; class TQDragObject; diff --git a/examples/helpviewer/helpwindow.cpp b/examples/helpviewer/helpwindow.cpp index 315ea62eb..98dcd4548 100644 --- a/examples/helpviewer/helpwindow.cpp +++ b/examples/helpviewer/helpwindow.cpp @@ -14,7 +14,7 @@ #include <ntqmenubar.h> #include <ntqtoolbar.h> #include <ntqtoolbutton.h> -#include <ntqiconset.h> +#include <tqiconset.h> #include <ntqfile.h> #include <tqtextstream.h> #include <ntqstylesheet.h> 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; |