QIconDragItem - The internal data structure of a
#include <qiconview.h>
Public Members
QIconDragItem ()
virtual ~QIconDragItem ()
virtual QByteArray data () const
virtual void setData ( const QByteArray & d )
DESCRIPTION
The QIconDragItem class is the internal data structure of
a QIconDrag
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).
Examples: iconview/main.cpp
MEMBER FUNCTION DOCUMENTATION
QIconDragItem::QIconDragItem ()
Constructs a QIconDragItem with no data.
QIconDragItem::~QIconDragItem () [virtual]
Destructor.
QByteArray QIconDragItem::data () const [virtual]
Returns the data of this QIconDragItem.
bool QIconDragItem::operator== ( const QIconDragItem & i ) const
Reimplemented for internal reasons; the API is not
affected.
void QIconDragItem::setData ( const QByteArray & d ) [virtual]
Sets the data of this QIconDragItem.
SEE ALSO
http://doc.trolltech.com/qicondragitem.html
http://www.trolltech.com/faq/tech.html
Copyright 1992-2001 Trolltech AS,
http://www.trolltech.com. See the license file included
in the distribution for a complete license statement.
AUTHOR
Generated automatically from the source code.
BUGS
If you find a bug in Qt, please report it as described in
http://doc.trolltech.com/bughowto.html. Good bug reports
make our job much simpler. Thank you.
In case of content or formattting problems with this
manual page, please report them to qt-bugs@trolltech.com.
Please include the name of the manual page
(qicondragitem.3qt) and the Qt version (2.3.1).
Man(1) output converted with
man2html