Home · All Classes · Main Classes · Annotated · Grouped Classes · Functions

Q3IconDragItem Class Reference

The Q3IconDragItem class encapsulates a drag item. More...

#include <Q3IconDragItem>

This class is part of the Qt 3 support library. It is provided to keep old source code working. We strongly advise against using it in new code. See the Porting Guide for more information.

Part of the Qt3Support module.

Public Functions


Detailed Description

The Q3IconDragItem class encapsulates a drag item.

The Q3IconDrag class uses a list of Q3IconDragItems to support drag and drop operations.

In practice a Q3IconDragItem object (or an object of a class derived from Q3IconDragItem) is created for each icon view item which is dragged. Each of these Q3IconDragItems is stored in a Q3IconDrag object.

See Q3IconView::dragObject() for more information.


Member Function Documentation

Q3IconDragItem::Q3IconDragItem ()

Constructs a Q3IconDragItem with no data.

Q3IconDragItem::~Q3IconDragItem ()   [virtual]

Destructor.

QByteArray Q3IconDragItem::data () const   [virtual]

Returns the data contained in the Q3IconDragItem.

void Q3IconDragItem::setData ( const QByteArray & d )   [virtual]

Sets the data for the Q3IconDragItem to the data stored in the QByteArray d.


Copyright © 2005 Trolltech Trademarks
Qt 4.0.0-rc1