summaryrefslogtreecommitdiffstats
path: root/doc/html/iconview-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/iconview-example.html')
-rw-r--r--doc/html/iconview-example.html48
1 files changed, 24 insertions, 24 deletions
diff --git a/doc/html/iconview-example.html b/doc/html/iconview-example.html
index dd83f5f1..a158fe43 100644
--- a/doc/html/iconview-example.html
+++ b/doc/html/iconview-example.html
@@ -47,69 +47,69 @@ view modes, rubberband selection, etc.
**
*****************************************************************************/
-#include &lt;<a href="qiconview-h.html">qiconview.h</a>&gt;
-#include &lt;<a href="qapplication-h.html">qapplication.h</a>&gt;
-#include &lt;<a href="qdragobject-h.html">qdragobject.h</a>&gt;
-#include &lt;<a href="qpixmap-h.html">qpixmap.h</a>&gt;
-#include &lt;<a href="qiconset-h.html">qiconset.h</a>&gt;
+#include &lt;<a href="qiconview-h.html">ntqiconview.h</a>&gt;
+#include &lt;<a href="qapplication-h.html">ntqapplication.h</a>&gt;
+#include &lt;<a href="qdragobject-h.html">ntqdragobject.h</a>&gt;
+#include &lt;<a href="qpixmap-h.html">ntqpixmap.h</a>&gt;
+#include &lt;<a href="qiconset-h.html">ntqiconset.h</a>&gt;
-#include &lt;<a href="qmime-h.html">qmime.h</a>&gt;
+#include &lt;<a href="qmime-h.html">ntqmime.h</a>&gt;
#include &lt;stdio.h&gt;
-class ListenDND : public <a href="qobject.html">TQObject</a>
+class ListenDND : public <a href="ntqobject.html">TQObject</a>
{
<a href="metaobjects.html#Q_OBJECT">Q_OBJECT</a>
public:
- ListenDND( <a href="qwidget.html">TQWidget</a> *w )
+ ListenDND( <a href="ntqwidget.html">TQWidget</a> *w )
: view( w )
{}
public slots:
void dropped( <a href="qdropevent.html">TQDropEvent</a> *mime ) {
- <a href="qapplication.html#qDebug">qDebug</a>( "Dropped Mimesource %p into the view %p", mime, view );
- <a href="qapplication.html#qDebug">qDebug</a>( " Formats:" );
+ <a href="ntqapplication.html#qDebug">qDebug</a>( "Dropped Mimesource %p into the view %p", mime, view );
+ <a href="ntqapplication.html#qDebug">qDebug</a>( " Formats:" );
int i = 0;
<a name="x1454"></a> const char *str = mime-&gt;<a href="qdropevent.html#format">format</a>( i );
- <a href="qapplication.html#qDebug">qDebug</a>( " %s", str );
+ <a href="ntqapplication.html#qDebug">qDebug</a>( " %s", str );
while ( str ) {
- <a href="qapplication.html#qDebug">qDebug</a>( " %s", str );
+ <a href="ntqapplication.html#qDebug">qDebug</a>( " %s", str );
str = mime-&gt;<a href="qdropevent.html#format">format</a>( ++i );
}
};
void moved() {
- <a href="qapplication.html#qDebug">qDebug</a>( "All selected items were moved to another widget" );
+ <a href="ntqapplication.html#qDebug">qDebug</a>( "All selected items were moved to another widget" );
}
protected:
- <a href="qwidget.html">TQWidget</a> *view;
+ <a href="ntqwidget.html">TQWidget</a> *view;
};
int main( int argc, char **argv )
{
- <a href="qapplication.html">TQApplication</a> a( argc, argv );
+ <a href="ntqapplication.html">TQApplication</a> a( argc, argv );
- <a href="qiconview.html">TQIconView</a> qiconview;
-<a name="x1457"></a> qiconview.<a href="qiconview.html#setSelectionMode">setSelectionMode</a>( TQIconView::Extended );
+ <a href="ntqiconview.html">TQIconView</a> qiconview;
+<a name="x1457"></a> qiconview.<a href="ntqiconview.html#setSelectionMode">setSelectionMode</a>( TQIconView::Extended );
for ( unsigned int i = 0; i &lt; 3000; i++ ) {
<a href="qiconviewitem.html">TQIconViewItem</a> *item = new <a href="qiconviewitem.html">TQIconViewItem</a>( &amp;qiconview, TQString( "Item %1" ).arg( i + 1 ) );
<a name="x1459"></a> item-&gt;<a href="qiconviewitem.html#setRenameEnabled">setRenameEnabled</a>( TRUE );
}
- qiconview.<a href="qwidget.html#setCaption">setCaption</a>( "TQt Example - Iconview" );
+ qiconview.<a href="ntqwidget.html#setCaption">setCaption</a>( "TQt Example - Iconview" );
ListenDND listen_dnd( &amp;qiconview );
-<a name="x1460"></a><a name="x1455"></a> TQObject::<a href="qobject.html#connect">connect</a>( &amp;qiconview, SIGNAL( <a href="qiconview.html#dropped">dropped</a>( <a href="qdropevent.html">TQDropEvent</a> *, const <a href="qvaluelist.html">TQValueList</a>&lt;TQIconDragItem&gt; &amp; ) ),
+<a name="x1460"></a><a name="x1455"></a> TQObject::<a href="ntqobject.html#connect">connect</a>( &amp;qiconview, SIGNAL( <a href="ntqiconview.html#dropped">dropped</a>( <a href="qdropevent.html">TQDropEvent</a> *, const <a href="ntqvaluelist.html">TQValueList</a>&lt;TQIconDragItem&gt; &amp; ) ),
&amp;listen_dnd, SLOT( dropped( <a href="qdropevent.html">TQDropEvent</a> * ) ) );
-<a name="x1456"></a> TQObject::<a href="qobject.html#connect">connect</a>( &amp;qiconview, SIGNAL( <a href="qiconview.html#moved">moved</a>() ), &amp;listen_dnd, SLOT( moved() ) );
+<a name="x1456"></a> TQObject::<a href="ntqobject.html#connect">connect</a>( &amp;qiconview, SIGNAL( <a href="ntqiconview.html#moved">moved</a>() ), &amp;listen_dnd, SLOT( moved() ) );
- a.<a href="qapplication.html#setMainWidget">setMainWidget</a>( &amp;qiconview );
-<a name="x1462"></a> qiconview.<a href="qwidget.html#show">show</a>();
-<a name="x1461"></a><a name="x1458"></a> qiconview.<a href="qwidget.html#resize">resize</a>( qiconview.<a href="qwidget.html#sizeHint">sizeHint</a>() );
+ a.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( &amp;qiconview );
+<a name="x1462"></a> qiconview.<a href="ntqwidget.html#show">show</a>();
+<a name="x1461"></a><a name="x1458"></a> qiconview.<a href="ntqwidget.html#resize">resize</a>( qiconview.<a href="ntqwidget.html#sizeHint">sizeHint</a>() );
- return a.<a href="qapplication.html#exec">exec</a>();
+ return a.<a href="ntqapplication.html#exec">exec</a>();
}
#include "main.moc"