summaryrefslogtreecommitdiffstats
path: root/doc/html/simple_dd-example.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/simple_dd-example.html')
-rw-r--r--doc/html/simple_dd-example.html34
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/html/simple_dd-example.html b/doc/html/simple_dd-example.html
index 56cfd3a02..63e2a8c8f 100644
--- a/doc/html/simple_dd-example.html
+++ b/doc/html/simple_dd-example.html
@@ -52,7 +52,7 @@ functionality.
#include &lt;<a href="qcursor-h.html">ntqcursor.h</a>&gt;
#include &lt;<a href="qsplitter-h.html">ntqsplitter.h</a>&gt;
#include &lt;<a href="qlistbox-h.html">ntqlistbox.h</a>&gt;
-#include &lt;<a href="qiconview-h.html">ntqiconview.h</a>&gt;
+#include &lt;<a href="tqiconview-h.html">tqiconview.h</a>&gt;
#include &lt;<a href="qpixmap-h.html">ntqpixmap.h</a>&gt;
class TQDragEnterEvent;
@@ -74,25 +74,25 @@ private:
};
-class DDIconViewItem : public <a href="qiconviewitem.html">TQIconViewItem</a>
+class DDIconViewItem : public <a href="tqiconviewitem.html">TQIconViewItem</a>
{
public:
- DDIconViewItem( <a href="ntqiconview.html">TQIconView</a> *parent, const <a href="tqstring.html">TQString</a>&amp; text, const <a href="ntqpixmap.html">TQPixmap</a>&amp; icon ) :
- <a href="qiconviewitem.html">TQIconViewItem</a>( parent, text, icon ) {}
- DDIconViewItem( <a href="ntqiconview.html">TQIconView</a> *parent, const <a href="tqstring.html">TQString</a> &amp;text ) :
- <a href="qiconviewitem.html">TQIconViewItem</a>( parent, text ) {}
+ DDIconViewItem( <a href="tqiconview.html">TQIconView</a> *parent, const <a href="tqstring.html">TQString</a>&amp; text, const <a href="ntqpixmap.html">TQPixmap</a>&amp; icon ) :
+ <a href="tqiconviewitem.html">TQIconViewItem</a>( parent, text, icon ) {}
+ DDIconViewItem( <a href="tqiconview.html">TQIconView</a> *parent, const <a href="tqstring.html">TQString</a> &amp;text ) :
+ <a href="tqiconviewitem.html">TQIconViewItem</a>( parent, text ) {}
// High-level drag and drop
bool acceptDrop( const <a href="qmimesource.html">TQMimeSource</a> *mime ) const;
void dropped( <a href="qdropevent.html">TQDropEvent</a> *evt, const <a href="tqvaluelist.html">TQValueList</a>&lt;TQIconDragItem&gt;&amp; );
};
-class DDIconView : public <a href="ntqiconview.html">TQIconView</a>
+class DDIconView : public <a href="tqiconview.html">TQIconView</a>
{
TQ_OBJECT
public:
DDIconView( <a href="tqwidget.html">TQWidget</a> * parent = 0, const char * name = 0, WFlags f = 0 ) :
- <a href="ntqiconview.html">TQIconView</a>( parent, name, f ) {}
+ <a href="tqiconview.html">TQIconView</a>( parent, name, f ) {}
// High-level drag and drop
<a href="ntqdragobject.html">TQDragObject</a> *dragObject();
public slots:
@@ -225,7 +225,7 @@ const char* green_icon[]={
// IconViewIcon -- high level drag and drop
-<a name="x2822"></a>bool DDIconViewItem::<a href="qiconviewitem.html#acceptDrop">acceptDrop</a>( const <a href="qmimesource.html">TQMimeSource</a> *mime ) const
+<a name="x2822"></a>bool DDIconViewItem::<a href="tqiconviewitem.html#acceptDrop">acceptDrop</a>( const <a href="qmimesource.html">TQMimeSource</a> *mime ) const
{
<a name="x2825"></a> if ( mime-&gt;<a href="qmimesource.html#provides">provides</a>( "text/plain" ) )
return TRUE;
@@ -233,7 +233,7 @@ 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="tqvaluelist.html">TQValueList</a>&lt;TQIconDragItem&gt;&amp; )
+<a name="x2823"></a>void DDIconViewItem::<a href="tqiconviewitem.html#dropped">dropped</a>( <a href="qdropevent.html">TQDropEvent</a> *evt, const <a href="tqvaluelist.html">TQValueList</a>&lt;TQIconDragItem&gt;&amp; )
{
<a href="tqstring.html">TQString</a> label;
@@ -244,9 +244,9 @@ const char* green_icon[]={
// IconView -- high level drag and drop
-<a name="x2820"></a>TQDragObject *DDIconView::<a href="ntqiconview.html#dragObject">dragObject</a>()
+<a name="x2820"></a>TQDragObject *DDIconView::<a href="tqiconview.html#dragObject">dragObject</a>()
{
- return new <a href="tqtextdrag.html">TQTextDrag</a>( <a href="ntqiconview.html#currentItem">currentItem</a>()-&gt;text(), this );
+ return new <a href="tqtextdrag.html">TQTextDrag</a>( <a href="tqiconview.html#currentItem">currentItem</a>()-&gt;text(), this );
}
void <a name="f588"></a>DDIconView::slotNewItem( <a href="qdropevent.html">TQDropEvent</a> *evt, const <a href="tqvaluelist.html">TQValueList</a>&lt;TQIconDragItem&gt;&amp; )
@@ -255,7 +255,7 @@ void <a name="f588"></a>DDIconView::slotNewItem( <a href="qdropevent.html">TQDro
if ( TQTextDrag::<a href="tqtextdrag.html#decode">decode</a>( evt, label ) ) {
DDIconViewItem *item = new DDIconViewItem( this, label );
-<a name="x2824"></a> item-&gt;<a href="qiconviewitem.html#setRenameEnabled">setRenameEnabled</a>( TRUE );
+<a name="x2824"></a> item-&gt;<a href="tqiconviewitem.html#setRenameEnabled">setRenameEnabled</a>( TRUE );
}
}
@@ -275,17 +275,17 @@ int main( int argc, char *argv[] )
// Set up the connection so that we can drop items into the icon view
TQObject::<a href="tqobject.html#connect">connect</a>(
-<a name="x2821"></a> iv, TQ_SIGNAL(<a href="ntqiconview.html#dropped">dropped</a>(TQDropEvent*, const <a href="tqvaluelist.html">TQValueList</a>&lt;TQIconDragItem&gt;&amp;)),
+<a name="x2821"></a> iv, TQ_SIGNAL(<a href="tqiconview.html#dropped">dropped</a>(TQDropEvent*, const <a href="tqvaluelist.html">TQValueList</a>&lt;TQIconDragItem&gt;&amp;)),
iv, TQ_SLOT(slotNewItem(TQDropEvent*, const <a href="tqvaluelist.html">TQValueList</a>&lt;TQIconDragItem&gt;&amp;)));
// Populate the TQIconView with icons
DDIconViewItem *item;
item = new DDIconViewItem( iv, "Red", TQPixmap( red_icon ) );
- item-&gt;<a href="qiconviewitem.html#setRenameEnabled">setRenameEnabled</a>( TRUE );
+ item-&gt;<a href="tqiconviewitem.html#setRenameEnabled">setRenameEnabled</a>( TRUE );
item = new DDIconViewItem( iv, "Green", TQPixmap( green_icon ) );
- item-&gt;<a href="qiconviewitem.html#setRenameEnabled">setRenameEnabled</a>( TRUE );
+ item-&gt;<a href="tqiconviewitem.html#setRenameEnabled">setRenameEnabled</a>( TRUE );
item = new DDIconViewItem( iv, "Blue", TQPixmap( blue_icon ) );
- item-&gt;<a href="qiconviewitem.html#setRenameEnabled">setRenameEnabled</a>( TRUE );
+ item-&gt;<a href="tqiconviewitem.html#setRenameEnabled">setRenameEnabled</a>( TRUE );
return app.<a href="ntqapplication.html#exec">exec</a>();
}