Q3IconDragItem Class

The Q3IconDragItem class encapsulates a drag item. 更多...

头: #include <Q3IconDragItem>

公共函数

Q3IconDragItem ()
virtual ~Q3IconDragItem ()
virtual QByteArray data () const
virtual void setData (const QByteArray & d )

详细描述

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 对象。

Q3IconView::dragObject () 了解更多信息。

成员函数文档编制

Q3IconDragItem:: Q3IconDragItem ()

构造 Q3IconDragItem with no data.

[虚拟] Q3IconDragItem:: ~Q3IconDragItem ()

析构函数。

[虚拟] QByteArray Q3IconDragItem:: data () const

Returns the data contained in the Q3IconDragItem .

另请参阅 setData ().

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

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

另请参阅 data ().