diff options
Diffstat (limited to 'doc/html/iconview-example.html')
-rw-r--r-- | doc/html/iconview-example.html | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/doc/html/iconview-example.html b/doc/html/iconview-example.html index af30f18a4..7bb2e3bea 100644 --- a/doc/html/iconview-example.html +++ b/doc/html/iconview-example.html @@ -47,11 +47,11 @@ view modes, rubberband selection, etc. ** *****************************************************************************/ -#include <<a href="qiconview-h.html">ntqiconview.h</a>> +#include <<a href="tqiconview-h.html">tqiconview.h</a>> #include <<a href="qapplication-h.html">ntqapplication.h</a>> #include <<a href="qdragobject-h.html">ntqdragobject.h</a>> #include <<a href="qpixmap-h.html">ntqpixmap.h</a>> -#include <<a href="qiconset-h.html">ntqiconset.h</a>> +#include <<a href="tqiconset-h.html">tqiconset.h</a>> #include <<a href="qmime-h.html">ntqmime.h</a>> #include <stdio.h> @@ -90,24 +90,24 @@ int main( int argc, char **argv ) { <a href="ntqapplication.html">TQApplication</a> a( argc, argv ); - <a href="ntqiconview.html">TQIconView</a> qiconview; -<a name="x1457"></a> qiconview.<a href="ntqiconview.html#setSelectionMode">setSelectionMode</a>( TQIconView::Extended ); + <a href="tqiconview.html">TQIconView</a> tqiconview; +<a name="x1457"></a> tqiconview.<a href="tqiconview.html#setSelectionMode">setSelectionMode</a>( TQIconView::Extended ); for ( unsigned int i = 0; i < 3000; i++ ) { - <a href="qiconviewitem.html">TQIconViewItem</a> *item = new <a href="qiconviewitem.html">TQIconViewItem</a>( &qiconview, TQString( "Item %1" ).arg( i + 1 ) ); -<a name="x1459"></a> item-><a href="qiconviewitem.html#setRenameEnabled">setRenameEnabled</a>( TRUE ); + <a href="tqiconviewitem.html">TQIconViewItem</a> *item = new <a href="tqiconviewitem.html">TQIconViewItem</a>( &tqiconview, TQString( "Item %1" ).arg( i + 1 ) ); +<a name="x1459"></a> item-><a href="tqiconviewitem.html#setRenameEnabled">setRenameEnabled</a>( TRUE ); } - qiconview.<a href="tqwidget.html#setCaption">setCaption</a>( "TQt Example - Iconview" ); + tqiconview.<a href="tqwidget.html#setCaption">setCaption</a>( "TQt Example - Iconview" ); - ListenDND listen_dnd( &qiconview ); -<a name="x1460"></a><a name="x1455"></a> TQObject::<a href="tqobject.html#connect">connect</a>( &qiconview, TQ_SIGNAL( <a href="ntqiconview.html#dropped">dropped</a>( <a href="qdropevent.html">TQDropEvent</a> *, const <a href="tqvaluelist.html">TQValueList</a><TQIconDragItem> & ) ), + ListenDND listen_dnd( &tqiconview ); +<a name="x1460"></a><a name="x1455"></a> TQObject::<a href="tqobject.html#connect">connect</a>( &tqiconview, TQ_SIGNAL( <a href="tqiconview.html#dropped">dropped</a>( <a href="qdropevent.html">TQDropEvent</a> *, const <a href="tqvaluelist.html">TQValueList</a><TQIconDragItem> & ) ), &listen_dnd, TQ_SLOT( dropped( <a href="qdropevent.html">TQDropEvent</a> * ) ) ); -<a name="x1456"></a> TQObject::<a href="tqobject.html#connect">connect</a>( &qiconview, TQ_SIGNAL( <a href="ntqiconview.html#moved">moved</a>() ), &listen_dnd, TQ_SLOT( moved() ) ); +<a name="x1456"></a> TQObject::<a href="tqobject.html#connect">connect</a>( &tqiconview, TQ_SIGNAL( <a href="tqiconview.html#moved">moved</a>() ), &listen_dnd, TQ_SLOT( moved() ) ); - a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &qiconview ); -<a name="x1462"></a> qiconview.<a href="tqwidget.html#show">show</a>(); -<a name="x1461"></a><a name="x1458"></a> qiconview.<a href="tqwidget.html#resize">resize</a>( qiconview.<a href="tqwidget.html#sizeHint">sizeHint</a>() ); + a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &tqiconview ); +<a name="x1462"></a> tqiconview.<a href="tqwidget.html#show">show</a>(); +<a name="x1461"></a><a name="x1458"></a> tqiconview.<a href="tqwidget.html#resize">resize</a>( tqiconview.<a href="tqwidget.html#sizeHint">sizeHint</a>() ); return a.<a href="ntqapplication.html#exec">exec</a>(); } |