1QIconDragItem(3qt)                                          QIconDragItem(3qt)
2
3
4

NAME

6       QIconDragItem - Encapsulates a drag item
7

SYNOPSIS

9       #include <qiconview.h>
10
11   Public Members
12       QIconDragItem ()
13       virtual ~QIconDragItem ()
14       virtual QByteArray data () const
15       virtual void setData ( const QByteArray & d )
16

DESCRIPTION

18       The QIconDragItem class encapsulates a drag item.
19
20       The QIconDrag class uses a list of QIconDragItems to support drag and
21       drop operations.
22
23       In practice a QIconDragItem object (or an object of a class derived
24       from QIconDragItem) is created for each icon view item which is
25       dragged. Each of these QIconDragItems is stored in a QIconDrag object.
26
27       See QIconView::dragObject() for more information.
28
29       See the fileiconview/qfileiconview.cpp and iconview/simple_dd/main.cpp
30       examples.
31
32       See also Drag And Drop Classes.
33

MEMBER FUNCTION DOCUMENTATION

QIconDragItem::QIconDragItem ()

36       Constructs a QIconDragItem with no data.
37

QIconDragItem::~QIconDragItem () [virtual]

39       Destructor.
40

QByteArray QIconDragItem::data () const [virtual]

42       Returns the data contained in the QIconDragItem.
43

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

45       Sets the data for the QIconDragItem to the data stored in the
46       QByteArray d.
47
48       Example: fileiconview/qfileiconview.cpp.
49
50

SEE ALSO

52       http://doc.trolltech.com/qicondragitem.html
53       http://www.trolltech.com/faq/tech.html
54
56       Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com.  See the
57       license file included in the distribution for a complete license
58       statement.
59

AUTHOR

61       Generated automatically from the source code.
62

BUGS

64       If you find a bug in Qt, please report it as described in
65       http://doc.trolltech.com/bughowto.html.  Good bug reports help us to
66       help you. Thank you.
67
68       The definitive Qt documentation is provided in HTML format; it is
69       located at $QTDIR/doc/html and can be read using Qt Assistant or with a
70       web browser. This man page is provided as a convenience for those users
71       who prefer man pages, although this format is not officially supported
72       by Trolltech.
73
74       If you find errors in this manual page, please report them to qt-
75       bugs@trolltech.com.  Please include the name of the manual page
76       (qicondragitem.3qt) and the Qt version (3.3.8).
77
78
79
80Trolltech AS                    2 February 2007             QIconDragItem(3qt)
Impressum