~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to doc/html/q3icondragitem.html

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-24 04:09:09 UTC
  • Revision ID: james.westby@ubuntu.com-20050824040909-xmxe9jfr4a0w5671
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="iso-8859-1"?>
 
2
<!DOCTYPE html
 
3
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
 
4
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 
5
<!-- /tmp/qt-4.0.0-espenr-1119621036935/qt-x11-opensource-desktop-4.0.0/src/qt3support/itemviews/q3iconview.cpp -->
 
6
<head>
 
7
    <title>Qt 4.0: Q3IconDragItem Class Reference</title>
 
8
    <style>h3.fn,span.fn { margin-left: 1cm; text-indent: -1cm; }
 
9
a:link { color: #004faf; text-decoration: none }
 
10
a:visited { color: #672967; text-decoration: none }
 
11
td.postheader { font-family: sans-serif }
 
12
tr.address { font-family: sans-serif }
 
13
body { background: #ffffff; color: black; }</style>
 
14
</head>
 
15
<body>
 
16
<table border="0" cellpadding="0" cellspacing="0" width="100%">
 
17
<tr>
 
18
<td align="left" valign="top" width="32"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></td>
 
19
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="annotated.html"><font color="#004faf">Annotated</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
 
20
<td align="right" valign="top" width="230"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></td></tr></table><h1 align="center">Q3IconDragItem Class Reference</h1>
 
21
<p>The Q3IconDragItem class encapsulates a drag item. <a href="#details">More...</a></p>
 
22
<pre>#include &lt;Q3IconDragItem&gt;</pre><p><b>This class is part of the Qt 3 support library.</b> It is provided to keep old source code working. We strongly advise against using it in new code. See the <a href="porting4.html">Porting Guide</a> for more information.</p>
 
23
<p>Part of the <a href="qt3support.html">Qt3Support</a> module.</p>
 
24
<ul>
 
25
<li><a href="q3icondragitem-members.html">List of all members, including inherited members</a></li>
 
26
</ul>
 
27
<a name="public-functions"></a>
 
28
<h3>Public Functions</h3>
 
29
<ul>
 
30
<li><div class="fn"/><b><a href="q3icondragitem.html#Q3IconDragItem">Q3IconDragItem</a></b> ()</li>
 
31
<li><div class="fn"/>virtual <b><a href="q3icondragitem.html#dtor.Q3IconDragItem">~Q3IconDragItem</a></b> ()</li>
 
32
<li><div class="fn"/>virtual QByteArray <b><a href="q3icondragitem.html#data">data</a></b> () const</li>
 
33
<li><div class="fn"/>virtual void <b><a href="q3icondragitem.html#setData">setData</a></b> ( const QByteArray &amp; <i>d</i> )</li>
 
34
</ul>
 
35
<a name="details"></a>
 
36
<hr />
 
37
<h2>Detailed Description</h2>
 
38
<p>The Q3IconDragItem class encapsulates a drag item.</p>
 
39
<p>The <a href="q3icondrag.html">Q3IconDrag</a> class uses a list of Q3IconDragItems to support drag and drop operations.</p>
 
40
<p>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 <a href="q3icondrag.html">Q3IconDrag</a> object.</p>
 
41
<p>See <a href="q3iconview.html#dragObject">Q3IconView::dragObject</a>() for more information.</p>
 
42
<hr />
 
43
<h2>Member Function Documentation</h2>
 
44
<h3 class="fn"><a name="Q3IconDragItem"></a>Q3IconDragItem::Q3IconDragItem ()</h3>
 
45
<p>Constructs a <a href="q3icondragitem.html">Q3IconDragItem</a> with no data.</p>
 
46
<h3 class="fn"><a name="dtor.Q3IconDragItem"></a>Q3IconDragItem::~Q3IconDragItem ()&nbsp;&nbsp;<tt> [virtual]</tt></h3>
 
47
<p>Destructor.</p>
 
48
<h3 class="fn"><a name="data"></a><a href="qbytearray.html">QByteArray</a> Q3IconDragItem::data () const&nbsp;&nbsp;<tt> [virtual]</tt></h3>
 
49
<p>Returns the data contained in the <a href="q3icondragitem.html">Q3IconDragItem</a>.</p>
 
50
<h3 class="fn"><a name="setData"></a>void Q3IconDragItem::setData ( const <a href="qbytearray.html">QByteArray</a> &amp; <i>d</i> )&nbsp;&nbsp;<tt> [virtual]</tt></h3>
 
51
<p>Sets the data for the <a href="q3icondragitem.html">Q3IconDragItem</a> to the data stored in the <a href="qbytearray.html">QByteArray</a> <i>d</i>.</p>
 
52
<p /><address><hr /><div align="center">
 
53
<table width="100%" cellspacing="0" border="0"><tr class="address">
 
54
<td width="30%">Copyright &copy; 2005 <a href="trolltech.html">Trolltech</a></td>
 
55
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
 
56
<td width="30%" align="right"><div align="right">Qt 4.0.0</div></td>
 
57
</tr></table></div></address></body>
 
58
</html>