summaryrefslogtreecommitdiffstats
path: root/doc/html/iconview-simple_dd-main-cpp.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/iconview-simple_dd-main-cpp.html')
-rw-r--r--doc/html/iconview-simple_dd-main-cpp.html54
1 files changed, 27 insertions, 27 deletions
diff --git a/doc/html/iconview-simple_dd-main-cpp.html b/doc/html/iconview-simple_dd-main-cpp.html
index 518dc35c..c43a87b9 100644
--- a/doc/html/iconview-simple_dd-main-cpp.html
+++ b/doc/html/iconview-simple_dd-main-cpp.html
@@ -110,42 +110,42 @@ const char* green_icon[]={
// ListBox -- low level drag and drop
-<a name="f2"></a>DDListBox::DDListBox( <a href="qwidget.html">TQWidget</a> * parent, const char * name, WFlags f ) :
- <a href="qlistbox.html">TQListBox</a>( parent, name, f )
+<a name="f2"></a>DDListBox::DDListBox( <a href="ntqwidget.html">TQWidget</a> * parent, const char * name, WFlags f ) :
+ <a href="ntqlistbox.html">TQListBox</a>( parent, name, f )
{
- <a href="qwidget.html#setAcceptDrops">setAcceptDrops</a>( TRUE );
+ <a href="ntqwidget.html#setAcceptDrops">setAcceptDrops</a>( TRUE );
dragging = FALSE;
}
-<a name="x2829"></a>void DDListBox::<a href="qwidget.html#dragEnterEvent">dragEnterEvent</a>( <a href="qdragenterevent.html">TQDragEnterEvent</a> *evt )
+<a name="x2829"></a>void DDListBox::<a href="ntqwidget.html#dragEnterEvent">dragEnterEvent</a>( <a href="qdragenterevent.html">TQDragEnterEvent</a> *evt )
{
<a name="x2827"></a> if ( TQTextDrag::<a href="qtextdrag.html#canDecode">canDecode</a>( evt ) )
<a name="x2819"></a> evt-&gt;<a href="qdragmoveevent.html#accept">accept</a>();
}
-<a name="x2830"></a>void DDListBox::<a href="qwidget.html#dropEvent">dropEvent</a>( <a href="qdropevent.html">TQDropEvent</a> *evt )
+<a name="x2830"></a>void DDListBox::<a href="ntqwidget.html#dropEvent">dropEvent</a>( <a href="qdropevent.html">TQDropEvent</a> *evt )
{
- <a href="qstring.html">TQString</a> text;
+ <a href="ntqstring.html">TQString</a> text;
<a name="x2828"></a> if ( TQTextDrag::<a href="qtextdrag.html#decode">decode</a>( evt, text ) )
- <a href="qlistbox.html#insertItem">insertItem</a>( text );
+ <a href="ntqlistbox.html#insertItem">insertItem</a>( text );
}
-<a name="x2832"></a>void DDListBox::<a href="qwidget.html#mousePressEvent">mousePressEvent</a>( <a href="qmouseevent.html">TQMouseEvent</a> *evt )
+<a name="x2832"></a>void DDListBox::<a href="ntqwidget.html#mousePressEvent">mousePressEvent</a>( <a href="qmouseevent.html">TQMouseEvent</a> *evt )
{
- TQListBox::<a href="qwidget.html#mousePressEvent">mousePressEvent</a>( evt );
+ TQListBox::<a href="ntqwidget.html#mousePressEvent">mousePressEvent</a>( evt );
dragging = TRUE;
}
-<a name="x2831"></a>void DDListBox::<a href="qwidget.html#mouseMoveEvent">mouseMoveEvent</a>( <a href="qmouseevent.html">TQMouseEvent</a> * )
+<a name="x2831"></a>void DDListBox::<a href="ntqwidget.html#mouseMoveEvent">mouseMoveEvent</a>( <a href="qmouseevent.html">TQMouseEvent</a> * )
{
if ( dragging ) {
- <a href="qdragobject.html">TQDragObject</a> *d = new <a href="qtextdrag.html">TQTextDrag</a>( currentText(), this );
-<a name="x2818"></a> d-&gt;<a href="qdragobject.html#dragCopy">dragCopy</a>(); // do NOT delete d.
+ <a href="ntqdragobject.html">TQDragObject</a> *d = new <a href="qtextdrag.html">TQTextDrag</a>( currentText(), this );
+<a name="x2818"></a> d-&gt;<a href="ntqdragobject.html#dragCopy">dragCopy</a>(); // do NOT delete d.
dragging = FALSE;
}
}
@@ -162,9 +162,9 @@ const char* green_icon[]={
}
-<a name="x2823"></a>void DDIconViewItem::<a href="qiconviewitem.html#dropped">dropped</a>( <a href="qdropevent.html">TQDropEvent</a> *evt, const <a href="qvaluelist.html">TQValueList</a>&lt;TQIconDragItem&gt;&amp; )
+<a name="x2823"></a>void DDIconViewItem::<a href="qiconviewitem.html#dropped">dropped</a>( <a href="qdropevent.html">TQDropEvent</a> *evt, const <a href="ntqvaluelist.html">TQValueList</a>&lt;TQIconDragItem&gt;&amp; )
{
- <a href="qstring.html">TQString</a> label;
+ <a href="ntqstring.html">TQString</a> label;
if ( TQTextDrag::<a href="qtextdrag.html#decode">decode</a>( evt, label ) )
setText( label );
@@ -173,14 +173,14 @@ const char* green_icon[]={
// IconView -- high level drag and drop
-<a name="x2820"></a>TQDragObject *DDIconView::<a href="qiconview.html#dragObject">dragObject</a>()
+<a name="x2820"></a>TQDragObject *DDIconView::<a href="ntqiconview.html#dragObject">dragObject</a>()
{
- return new <a href="qtextdrag.html">TQTextDrag</a>( <a href="qiconview.html#currentItem">currentItem</a>()-&gt;text(), this );
+ return new <a href="qtextdrag.html">TQTextDrag</a>( <a href="ntqiconview.html#currentItem">currentItem</a>()-&gt;text(), this );
}
-void <a name="f1"></a>DDIconView::slotNewItem( <a href="qdropevent.html">TQDropEvent</a> *evt, const <a href="qvaluelist.html">TQValueList</a>&lt;TQIconDragItem&gt;&amp; )
+void <a name="f1"></a>DDIconView::slotNewItem( <a href="qdropevent.html">TQDropEvent</a> *evt, const <a href="ntqvaluelist.html">TQValueList</a>&lt;TQIconDragItem&gt;&amp; )
{
- <a href="qstring.html">TQString</a> label;
+ <a href="ntqstring.html">TQString</a> label;
if ( TQTextDrag::<a href="qtextdrag.html#decode">decode</a>( evt, label ) ) {
DDIconViewItem *item = new DDIconViewItem( this, label );
@@ -192,20 +192,20 @@ void <a name="f1"></a>DDIconView::slotNewItem( <a href="qdropevent.html">TQDropE
int main( int argc, char *argv[] )
{
- <a href="qapplication.html">TQApplication</a> app( argc, argv );
+ <a href="ntqapplication.html">TQApplication</a> app( argc, argv );
// Create and show the widgets
- <a href="qsplitter.html">TQSplitter</a> *split = new <a href="qsplitter.html">TQSplitter</a>();
+ <a href="ntqsplitter.html">TQSplitter</a> *split = new <a href="ntqsplitter.html">TQSplitter</a>();
DDIconView *iv = new DDIconView( split );
(void) new DDListBox( split );
- app.<a href="qapplication.html#setMainWidget">setMainWidget</a>( split );
- split-&gt;<a href="qwidget.html#resize">resize</a>( 600, 400 );
- split-&gt;<a href="qwidget.html#show">show</a>();
+ app.<a href="ntqapplication.html#setMainWidget">setMainWidget</a>( split );
+ split-&gt;<a href="ntqwidget.html#resize">resize</a>( 600, 400 );
+ split-&gt;<a href="ntqwidget.html#show">show</a>();
// Set up the connection so that we can drop items into the icon view
- TQObject::<a href="qobject.html#connect">connect</a>(
-<a name="x2821"></a> iv, SIGNAL(<a href="qiconview.html#dropped">dropped</a>(TQDropEvent*, const <a href="qvaluelist.html">TQValueList</a>&lt;TQIconDragItem&gt;&amp;)),
- iv, SLOT(slotNewItem(TQDropEvent*, const <a href="qvaluelist.html">TQValueList</a>&lt;TQIconDragItem&gt;&amp;)));
+ TQObject::<a href="ntqobject.html#connect">connect</a>(
+<a name="x2821"></a> iv, SIGNAL(<a href="ntqiconview.html#dropped">dropped</a>(TQDropEvent*, const <a href="ntqvaluelist.html">TQValueList</a>&lt;TQIconDragItem&gt;&amp;)),
+ iv, SLOT(slotNewItem(TQDropEvent*, const <a href="ntqvaluelist.html">TQValueList</a>&lt;TQIconDragItem&gt;&amp;)));
// Populate the TQIconView with icons
DDIconViewItem *item;
@@ -216,7 +216,7 @@ int main( int argc, char *argv[] )
item = new DDIconViewItem( iv, "Blue", TQPixmap( blue_icon ) );
item-&gt;<a href="qiconviewitem.html#setRenameEnabled">setRenameEnabled</a>( TRUE );
- return app.<a href="qapplication.html#exec">exec</a>();
+ return app.<a href="ntqapplication.html#exec">exec</a>();
}