1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
|
---|
2 | <!-- /home/espenr/tmp/qt-3.3.8-espenr-2499/qt-x11-free-3.3.8/src/iconview/qiconview.cpp:497 -->
|
---|
3 | <html>
|
---|
4 | <head>
|
---|
5 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
---|
6 | <title>QIconDragItem Class</title>
|
---|
7 | <style type="text/css"><!--
|
---|
8 | fn { margin-left: 1cm; text-indent: -1cm; }
|
---|
9 | a:link { color: #004faf; text-decoration: none }
|
---|
10 | a:visited { color: #672967; text-decoration: none }
|
---|
11 | body { background: #ffffff; color: black; }
|
---|
12 | --></style>
|
---|
13 | </head>
|
---|
14 | <body>
|
---|
15 |
|
---|
16 | <table border="0" cellpadding="0" cellspacing="0" width="100%">
|
---|
17 | <tr bgcolor="#E5E5E5">
|
---|
18 | <td valign=center>
|
---|
19 | <a href="index.html">
|
---|
20 | <font color="#004faf">Home</font></a>
|
---|
21 | | <a href="classes.html">
|
---|
22 | <font color="#004faf">All Classes</font></a>
|
---|
23 | | <a href="mainclasses.html">
|
---|
24 | <font color="#004faf">Main Classes</font></a>
|
---|
25 | | <a href="annotated.html">
|
---|
26 | <font color="#004faf">Annotated</font></a>
|
---|
27 | | <a href="groups.html">
|
---|
28 | <font color="#004faf">Grouped Classes</font></a>
|
---|
29 | | <a href="functions.html">
|
---|
30 | <font color="#004faf">Functions</font></a>
|
---|
31 | </td>
|
---|
32 | <td align="right" valign="center"><img src="logo32.png" align="right" width="64" height="32" border="0"></td></tr></table><h1 align=center>QIconDragItem Class Reference<br><small>[<a href="iconview.html">iconview module</a>]</small></h1>
|
---|
33 |
|
---|
34 | <p>The QIconDragItem class encapsulates a drag item.
|
---|
35 | <a href="#details">More...</a>
|
---|
36 | <p><tt>#include <<a href="qiconview-h.html">qiconview.h</a>></tt>
|
---|
37 | <p><a href="qicondragitem-members.html">List of all member functions.</a>
|
---|
38 | <h2>Public Members</h2>
|
---|
39 | <ul>
|
---|
40 | <li class=fn><a href="#QIconDragItem"><b>QIconDragItem</b></a> ()</li>
|
---|
41 | <li class=fn>virtual <a href="#~QIconDragItem"><b>~QIconDragItem</b></a> ()</li>
|
---|
42 | <li class=fn>virtual QByteArray <a href="#data"><b>data</b></a> () const</li>
|
---|
43 | <li class=fn>virtual void <a href="#setData"><b>setData</b></a> ( const QByteArray & d )</li>
|
---|
44 | </ul>
|
---|
45 | <hr><a name="details"></a><h2>Detailed Description</h2>
|
---|
46 |
|
---|
47 |
|
---|
48 |
|
---|
49 | <p> The QIconDragItem class encapsulates a drag item.
|
---|
50 | <p>
|
---|
51 | <p> The <a href="qicondrag.html">QIconDrag</a> class uses a list of QIconDragItems to support drag
|
---|
52 | and drop operations.
|
---|
53 | <p> In practice a QIconDragItem object (or an object of a class derived
|
---|
54 | from QIconDragItem) is created for each icon view item which is
|
---|
55 | dragged. Each of these QIconDragItems is stored in a QIconDrag
|
---|
56 | object.
|
---|
57 | <p> See <a href="qiconview.html#dragObject">QIconView::dragObject</a>() for more information.
|
---|
58 | <p> See the <a href="fileiconview-example.html">fileiconview/qfileiconview.cpp</a> and
|
---|
59 | <a href="iconview-simple_dd-main-cpp.html">iconview/simple_dd/main.cpp</a> examples.
|
---|
60 | <p>See also <a href="draganddrop.html">Drag And Drop Classes</a>.
|
---|
61 |
|
---|
62 | <hr><h2>Member Function Documentation</h2>
|
---|
63 | <h3 class=fn><a name="QIconDragItem"></a>QIconDragItem::QIconDragItem ()
|
---|
64 | </h3>
|
---|
65 | Constructs a QIconDragItem with no data.
|
---|
66 |
|
---|
67 | <h3 class=fn><a name="~QIconDragItem"></a>QIconDragItem::~QIconDragItem ()<tt> [virtual]</tt>
|
---|
68 | </h3>
|
---|
69 | Destructor.
|
---|
70 |
|
---|
71 | <h3 class=fn><a href="qbytearray.html">QByteArray</a> <a name="data"></a>QIconDragItem::data () const<tt> [virtual]</tt>
|
---|
72 | </h3>
|
---|
73 | Returns the data contained in the QIconDragItem.
|
---|
74 |
|
---|
75 | <h3 class=fn>void <a name="setData"></a>QIconDragItem::setData ( const <a href="qbytearray.html">QByteArray</a> & d )<tt> [virtual]</tt>
|
---|
76 | </h3>
|
---|
77 | Sets the data for the QIconDragItem to the data stored in the
|
---|
78 | <a href="qbytearray.html">QByteArray</a> <em>d</em>.
|
---|
79 |
|
---|
80 | <p>Example: <a href="fileiconview-example.html#x833">fileiconview/qfileiconview.cpp</a>.
|
---|
81 | <!-- eof -->
|
---|
82 | <hr><p>
|
---|
83 | This file is part of the <a href="index.html">Qt toolkit</a>.
|
---|
84 | Copyright © 1995-2007
|
---|
85 | <a href="http://www.trolltech.com/">Trolltech</a>. All Rights Reserved.<p><address><hr><div align=center>
|
---|
86 | <table width=100% cellspacing=0 border=0><tr>
|
---|
87 | <td>Copyright © 2007
|
---|
88 | <a href="troll.html">Trolltech</a><td align=center><a href="trademarks.html">Trademarks</a>
|
---|
89 | <td align=right><div align=right>Qt 3.3.8</div>
|
---|
90 | </table></div></address></body>
|
---|
91 | </html>
|
---|