The QIconDragItem is the internal data structure of a QIconDrag More...
#include <qiconview.h>
This class is used internally in the QIconDrag to store the data of each item (in fact, a list of QIconDragItems is used by QIconDrag).
So, normally for each iconview item which is dragged, a QIconDragItem class (or a class derived from QIconDragItem) is created and stored in the QIconDrag object.
See QIconView::dragObject() for more information.
An example, how to implement this, is in the QtFileIconView example. (qt/examples/qfileiconview/qfileiconview.h and qt/examples/qfileiconview/qfileiconview.cpp).
Constructs a QIconDragItem with no data.
[virtual]
Destructor.
[virtual]
Returns the data of this QIconDragItem.
[virtual]
Sets the data of this QIconDragItem.
Search the documentation, FAQ, qt-interest archive and more (uses
www.troll.no):
This file is part of the Qt toolkit, copyright © 1995-2000 Troll Tech, all rights reserved.
Copyright © 2000 Troll Tech | Trademarks | Qt version 2.1.0-beta1
|