transferdbrecord.html 6.44 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en_US" lang="en_US">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!-- transferdbrecord.cpp -->
  <title>Nemo TransferEngine 1.0: TransferDBRecord Class Reference</title>
<li>Modules</li>
<li>TransferDBRecord</li>
<div class="toc">
<h3><a name="toc">Contents</a></h3>
<ul>
<li class="level1"><a href="#public-types">Public Types</a></li>
<li class="level1"><a href="#public-functions">Public Functions</a></li>
<li class="level1"><a href="#static-public-members">Static Public Members</a></li>
<li class="level1"><a href="#details">Detailed Description</a></li>
</ul>
</div>
<h1 class="title">TransferDBRecord Class Reference</h1>
<!-- $$$TransferDBRecord-brief -->
<p>The TransferDBRecord class is a simple wrapper class for <a href="transferengine.html">TransferEngine</a> DBus message. <a href="#details">More...</a></p>
<!-- @@@TransferDBRecord -->
<pre class="cpp"> <span class="preprocessor">#include &lt;TransferDBRecord&gt;</span></pre><ul>
<li><a href="transferdbrecord-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-types"></a>
<h2>Public Types</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> enum </td><td class="memItemRight bottomAlign"><b><a href="transferdbrecord.html#TransferDBRecordField-enum">TransferDBRecordField</a></b> { TransferID, TransferType, Progress, URL, ..., RestartSupported }</td></tr>
</table>
<a name="public-functions"></a>
<h2>Public Functions</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="transferdbrecord.html#TransferDBRecord">TransferDBRecord</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="transferdbrecord.html#TransferDBRecord-2">TransferDBRecord</a></b> ( const TransferDBRecord &amp; <i>other</i> )</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> </td><td class="memItemRight bottomAlign"><b><a href="transferdbrecord.html#dtor.TransferDBRecord">~TransferDBRecord</a></b> ()</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> QVariant </td><td class="memItemRight bottomAlign"><b><a href="transferdbrecord.html#value">value</a></b> ( int <i>index</i> ) const</td></tr>
<tr><td class="memItemLeft rightAlign topAlign"> TransferDBRecord &amp; </td><td class="memItemRight bottomAlign"><b><a href="transferdbrecord.html#operator-eq">operator=</a></b> ( const TransferDBRecord &amp; <i>other</i> )</td></tr>
</table>
<a name="static-public-members"></a>
<h2>Static Public Members</h2>
<table class="alignedsummary">
<tr><td class="memItemLeft rightAlign topAlign"> void </td><td class="memItemRight bottomAlign"><b><a href="transferdbrecord.html#registerType">registerType</a></b> ()</td></tr>
</table>
<a name="details"></a>
<!-- $$$TransferDBRecord-description -->
<div class="descr">
<h2>Detailed Description</h2>
<p>The TransferDBRecord class is a simple wrapper class for <a href="transferengine.html">TransferEngine</a> DBus message.</p>
<p>This class wraps transfer method related information and is used to pass that information over the DBus to the any client who is interested in about it.</p>
<p>A single instance of TransferDBRecord contains information of a one transfer record in <a href="transferengine.html">TransferEngine</a> database. Usually clients don't need to fill any data to this class, instead they can request a list of TransferDBRecords from the <a href="transferengine.html">TransferEngine</a> and access its data via <a href="transferdbrecord.html#value">value</a>() method.</p>
</div>
<!-- @@@TransferDBRecord -->
<div class="types">
<h2>Member Type Documentation</h2>
<!-- $$$TransferDBRecordField$$$TransferID$$$TransferType$$$Progress$$$URL$$$Status$$$PluginID$$$Timestamp$$$DisplayName$$$ResourceName$$$MimeType$$$FileSize$$$ServiceIcon$$$ApplicationIcon$$$ThumbnailIcon$$$CancelSupported$$$RestartSupported -->
<h3 class="fn"><a name="TransferDBRecordField-enum"></a>enum TransferDBRecord::<span class="name">TransferDBRecordField</span></h3>
<!-- @@@TransferDBRecordField -->
</div>
<div class="func">
<h2>Member Function Documentation</h2>
<!-- $$$TransferDBRecord[overload1]$$$TransferDBRecord -->
<h3 class="fn"><a name="TransferDBRecord"></a>TransferDBRecord::<span class="name">TransferDBRecord</span> ()</h3>
<p>Default constructor.</p>
<!-- @@@TransferDBRecord -->
<!-- $$$TransferDBRecord$$$TransferDBRecordconstTransferDBRecord& -->
<h3 class="fn"><a name="TransferDBRecord-2"></a>TransferDBRecord::<span class="name">TransferDBRecord</span> ( const <span class="type">TransferDBRecord</span> &amp; <i>other</i> )</h3>
<p>Copy constructor. Copies the <i>other</i> instance to this.</p>
<!-- @@@TransferDBRecord -->
<!-- $$$~TransferDBRecord[overload1]$$$~TransferDBRecord -->
<h3 class="fn"><a name="dtor.TransferDBRecord"></a>TransferDBRecord::<span class="name">~TransferDBRecord</span> ()</h3>
<p>Destructor.</p>
<!-- @@@~TransferDBRecord -->
<!-- $$$registerType[overload1]$$$registerType -->
<h3 class="fn"><a name="registerType"></a><span class="type">void</span> TransferDBRecord::<span class="name">registerType</span> ()<tt> [static]</tt></h3>
<p>Register <a href="transferdbrecord.html">TransferDBRecord</a> and QList&lt;<a href="transferdbrecord.html">TransferDBRecord</a>&gt; as DBus types.</p>
<!-- @@@registerType -->
<!-- $$$value[overload1]$$$valueint -->
<h3 class="fn"><a name="value"></a><span class="type">QVariant</span> TransferDBRecord::<span class="name">value</span> ( <span class="type">int</span> <i>index</i> ) const</h3>
<p>Returns any of the <a href="transferdbrecord.html">TransferDBRecord</a> values based on the index. As an <i>index</i> it's recommended to use <a href="transferdbrecord.html#TransferDBRecordField-enum">TransferDBRecord::TransferDBRecordField</a> enum.</p>
<!-- @@@value -->
<!-- $$$operator=[overload1]$$$operator=constTransferDBRecord& -->
<h3 class="fn"><a name="operator-eq"></a><span class="type">TransferDBRecord</span> &amp; TransferDBRecord::<span class="name">operator=</span> ( const <span class="type">TransferDBRecord</span> &amp; <i>other</i> )</h3>
<p>Assign operator. <i>other</i> is the instance of other <a href="transferdbrecord.html">TransferDBRecord</a> to copy this instance.</p>
<!-- @@@operator= -->
</div>
</body>
</html>