Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 98d6b53e11e983e268c3e19f14e091a0 > files > 3618

kdepim-devel-doc-3.5.9-9mdv2008.1.x86_64.rpm

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en_US" xml:lang="en_US">

<head>
  <title>kpilot/lib: SyncAction::SyncMode Class Reference (kpilot/lib)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

  <meta http-equiv="Content-Style-Type" content="text/css" />

  <meta http-equiv="pics-label" content='(pics-1.1 "http://www.icra.org/ratingsv02.html" comment "ICRAonline DE v2.0" l gen true for "http://www.kde.org"  r (nz 1 vz 1 lz 1 oz 1 cb 1) "http://www.rsac.org/ratingsv01.html" l gen true for "http://www.kde.org"  r (n 0 s 0 v 0 l 0))' />

  <meta name="trademark" content="KDE e.V." />
  <meta name="description" content="K Desktop Environment Homepage, KDE.org" />
  <meta name="MSSmartTagsPreventParsing" content="true" />
  <meta name="robots" content="all" />

  <link rel="shortcut icon" href="../../../favicon.ico" />

<link rel="stylesheet" media="screen" type="text/css" title="APIDOX" href="doxygen.css" />



<style type="text/css">
<!--
hr { display: none; }
#content h2 { margin-left: 0px; }
table.mdTable { background-color: #f8f8f8; border: .2em solid #d7d7d7; }
td.mdRow { padding: 8px 20px; }
td.md { font-weight: bold; }
td.mdname1 { font-weight: bold; color: #602020; }
td.mdname { font-weight: bold; color: #602020;  }

-->
</style>

</head>

<body>

<div id="nav_header_top" align="right">
  <a href="#content" class="doNotDisplay" accesskey="2">Skip to main content ::</a>

  <a href="../../.."><img id="nav_header_logo" alt="Home" align="left" src="../../../kde_gear_64.png" border="0" /></a>
  <span class="doNotDisplay">::</span>
  <img id="nav_header_logo_right" alt="" align="right" src="../../../pimlogo.png" border="0" />

  <div id="nav_header_title" align="left">KDE PIM API Reference</div>


</div>

<div id="nav_header_bottom" align="right">
  <span class="doNotDisplay">:: <a href="#navigation" accesskey="5">Skip to Link Menu</a><br/></span>
  <div id="nav_header_bottom_left" style="text-align: left;">
/ <a href="../../../">API Reference</a>
 / <a href="../../html/index.html">kpilot</a> / <a href=".">lib</a>
  </div>
</div>


<table id="main" border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
      <td valign="top" class="menuheader" height="0"></td>

  <td id="contentcolumn" valign="top" rowspan="2" >
    <div id="content" style="padding-top: 0px;"><div style="width:100%; margin: 0px; padding: 0px;">
    <h2><a name="content"></a>kpilot/lib</h2>


<!-- Generated by Doxygen 1.5.5 -->
  <div class="navpath"><b>SyncAction</b>::<a class="el" href="classSyncAction_1_1SyncMode.html">SyncMode</a>
  </div>
<div class="contents">
<h1>SyncAction::SyncMode Class Reference</h1><!-- doxytag: class="SyncAction::SyncMode" --><code>#include &lt;<a class="el" href="syncAction_8h-source.html">syncAction.h</a>&gt;</code>
<p>

<p>
<a href="classSyncAction_1_1SyncMode-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
This class encapsulates the different sync modes that can be used, and enforces a little discipline in changing the mode and messing around in general. 
<p>
It replaces a simple enum by not much more, but it makes things like local test backups less likely to happen.<p>
Note that this could all be packed into a bitfield (5 bits needed) but that makes for messy code in the end. 
<p>Definition at line <a class="el" href="syncAction_8h-source.html#l00194">194</a> of file <a class="el" href="syncAction_8h-source.html">syncAction.h</a>.</p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></td></tr>
<tr><td colspan="2"><br><h2>Public Types</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">enum &nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyncAction_1_1SyncMode.html#c34dd6e35cced38e6b2d733d59727cbf">Mode</a> { <br>
&nbsp;&nbsp;<b>eHotSync</b> = 1, 
<b>eFullSync</b> = 2, 
<b>eCopyPCToHH</b> = 3, 
<b>eCopyHHToPC</b> = 4, 
<br>
&nbsp;&nbsp;<b>eBackup</b> = 5, 
<b>eRestore</b> = 6
<br>
 }</td></tr>

<tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyncAction_1_1SyncMode.html#8e5a9c9c54c35e80ea254a50cfcfd5bf">SyncMode</a> (<a class="el" href="classSyncAction_1_1SyncMode.html#c34dd6e35cced38e6b2d733d59727cbf">Mode</a> m, bool test=false, bool local=false)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyncAction_1_1SyncMode.html#f1647fdcdf85ec9c9f5812e448707f70">SyncMode</a> (const QStringList &amp;l)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="classSyncAction_1_1SyncMode.html#c34dd6e35cced38e6b2d733d59727cbf">Mode</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyncAction_1_1SyncMode.html#6209e0699a6e6921e19abe5823ba2baf">mode</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyncAction_1_1SyncMode.html#9ab7763fcf4ee6bd36124939b17f8d80">setMode</a> (int)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyncAction_1_1SyncMode.html#857d6014d7457cd74ab2ae31afa6850a">setMode</a> (<a class="el" href="classSyncAction_1_1SyncMode.html#c34dd6e35cced38e6b2d733d59727cbf">Mode</a> m)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyncAction_1_1SyncMode.html#9edb7be1e0417bc6244d6973ed132673">setOptions</a> (bool test, bool local)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyncAction_1_1SyncMode.html#67138573062486a2779aa315a7e3e3ae">operator==</a> (const <a class="el" href="classSyncAction_1_1SyncMode.html#c34dd6e35cced38e6b2d733d59727cbf">Mode</a> &amp;m) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyncAction_1_1SyncMode.html#02827ea6d9a87ecff52234c28133b316">operator==</a> (const <a class="el" href="classSyncAction_1_1SyncMode.html">SyncMode</a> &amp;m) const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyncAction_1_1SyncMode.html#a9a41b9422883413fcf6dbd7642810e6">isTest</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyncAction_1_1SyncMode.html#9532f8bf401914dab5d7bd3d4ac9dacf">isLocal</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="7ebd0a3ee5ff46ed3940d8e9f38b6108"></a><!-- doxytag: member="SyncAction::SyncMode::isFullSync" ref="7ebd0a3ee5ff46ed3940d8e9f38b6108" args="() const " -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>isFullSync</b> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="1bd800155dd6365ffb2a9e11c252eef7"></a><!-- doxytag: member="SyncAction::SyncMode::isFirstSync" ref="1bd800155dd6365ffb2a9e11c252eef7" args="() const " -->
bool&nbsp;</td><td class="memItemRight" valign="bottom"><b>isFirstSync</b> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyncAction_1_1SyncMode.html#818bc334b5001f2099d9868143dea28a">isSync</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyncAction_1_1SyncMode.html#efbd362eee2d2549e92574e2e55957c4">isCopy</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyncAction_1_1SyncMode.html#8343f36b6b82424a49f22baa64058040">name</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QStringList&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyncAction_1_1SyncMode.html#1e549a437d08803bca55ad65b8419ea9">list</a> () const </td></tr>

<tr><td colspan="2"><br><h2>Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">static QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSyncAction_1_1SyncMode.html#5e4b2586b7080ecb814389fe80102b6b">name</a> (<a class="el" href="classSyncAction_1_1SyncMode.html#c34dd6e35cced38e6b2d733d59727cbf">Mode</a>)</td></tr>

</table>
<hr><h2>Member Enumeration Documentation</h2>
<a class="anchor" name="c34dd6e35cced38e6b2d733d59727cbf"></a><!-- doxytag: member="SyncAction::SyncMode::Mode" ref="c34dd6e35cced38e6b2d733d59727cbf" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="classSyncAction_1_1SyncMode.html#c34dd6e35cced38e6b2d733d59727cbf">SyncAction::SyncMode::Mode</a>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Available modes for the sync. 
<p>

<p>Definition at line <a class="el" href="syncAction_8h-source.html#l00198">198</a> of file <a class="el" href="syncAction_8h-source.html">syncAction.h</a>.</p>

</div>
</div><p>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="8e5a9c9c54c35e80ea254a50cfcfd5bf"></a><!-- doxytag: member="SyncAction::SyncMode::SyncMode" ref="8e5a9c9c54c35e80ea254a50cfcfd5bf" args="(Mode m, bool test=false, bool local=false)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SyncAction::SyncMode::SyncMode           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classSyncAction_1_1SyncMode.html#c34dd6e35cced38e6b2d733d59727cbf">Mode</a>&nbsp;</td>
          <td class="paramname"> <em>m</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>test</em> = <code>false</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>local</em> = <code>false</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a mode with the given Mode <code>m</code> and the mix-ins <code>test</code> and <code>local</code>, which determine whether the sync should actually change anything at all (test mode) and whether the HH is to be simulated by local databases. 
<p>

<p>Definition at line <a class="el" href="syncAction_8cc-source.html#l00160">160</a> of file <a class="el" href="syncAction_8cc-source.html">syncAction.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="f1647fdcdf85ec9c9f5812e448707f70"></a><!-- doxytag: member="SyncAction::SyncMode::SyncMode" ref="f1647fdcdf85ec9c9f5812e448707f70" args="(const QStringList &amp;l)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SyncAction::SyncMode::SyncMode           </td>
          <td>(</td>
          <td class="paramtype">const QStringList &amp;&nbsp;</td>
          <td class="paramname"> <em>l</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Create a mode by parsing the string list. 
<p>
This is used mostly by the conduit proxies, which use a string list to pass aparameters to the shared library loader. 
<p>Definition at line <a class="el" href="syncAction_8cc-source.html#l00137">137</a> of file <a class="el" href="syncAction_8cc-source.html">syncAction.cc</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="6209e0699a6e6921e19abe5823ba2baf"></a><!-- doxytag: member="SyncAction::SyncMode::mode" ref="6209e0699a6e6921e19abe5823ba2baf" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classSyncAction_1_1SyncMode.html#c34dd6e35cced38e6b2d733d59727cbf">Mode</a> SyncAction::SyncMode::mode           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns the kind of sync; this is just incomplete information, since a test hot sync is very different from a non-test one. 
<p>

<p>Definition at line <a class="el" href="syncAction_8h-source.html#l00225">225</a> of file <a class="el" href="syncAction_8h-source.html">syncAction.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="9ab7763fcf4ee6bd36124939b17f8d80"></a><!-- doxytag: member="SyncAction::SyncMode::setMode" ref="9ab7763fcf4ee6bd36124939b17f8d80" args="(int)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SyncAction::SyncMode::setMode           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>mode</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets a mode from an integer <code>mode</code>, if possible. 
<p>
If the <code>mode</code> is illegal, return false and set the mode to Hot Sync. As a side effect, options test and local are reset to false. 
<p>Definition at line <a class="el" href="syncAction_8cc-source.html#l00229">229</a> of file <a class="el" href="syncAction_8cc-source.html">syncAction.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="857d6014d7457cd74ab2ae31afa6850a"></a><!-- doxytag: member="SyncAction::SyncMode::setMode" ref="857d6014d7457cd74ab2ae31afa6850a" args="(Mode m)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SyncAction::SyncMode::setMode           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classSyncAction_1_1SyncMode.html#c34dd6e35cced38e6b2d733d59727cbf">Mode</a>&nbsp;</td>
          <td class="paramname"> <em>m</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets a mode from a <code>mode</code>, if possible. 
<p>
This leaves the options unchanged, so as to reward properly-typed programming. 
<p>Definition at line <a class="el" href="syncAction_8cc-source.html#l00247">247</a> of file <a class="el" href="syncAction_8cc-source.html">syncAction.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="9edb7be1e0417bc6244d6973ed132673"></a><!-- doxytag: member="SyncAction::SyncMode::setOptions" ref="9edb7be1e0417bc6244d6973ed132673" args="(bool test, bool local)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SyncAction::SyncMode::setOptions           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>test</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>local</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets options. 
<p>
Returns false if the combination of mode and the options is impossible. 
<p>Definition at line <a class="el" href="syncAction_8h-source.html#l00244">244</a> of file <a class="el" href="syncAction_8h-source.html">syncAction.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="67138573062486a2779aa315a7e3e3ae"></a><!-- doxytag: member="SyncAction::SyncMode::operator==" ref="67138573062486a2779aa315a7e3e3ae" args="(const Mode &amp;m) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SyncAction::SyncMode::operator==           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSyncAction_1_1SyncMode.html#c34dd6e35cced38e6b2d733d59727cbf">Mode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>m</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Shorthand to test for a specific mode enum. 
<p>
This disregards the mixings local and test. 
<p>Definition at line <a class="el" href="syncAction_8h-source.html#l00254">254</a> of file <a class="el" href="syncAction_8h-source.html">syncAction.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="02827ea6d9a87ecff52234c28133b316"></a><!-- doxytag: member="SyncAction::SyncMode::operator==" ref="02827ea6d9a87ecff52234c28133b316" args="(const SyncMode &amp;m) const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SyncAction::SyncMode::operator==           </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classSyncAction_1_1SyncMode.html">SyncMode</a> &amp;&nbsp;</td>
          <td class="paramname"> <em>m</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Longhand comparison. 
<p>
Compares two modes for the same mode enum and mixins local and test. 
<p>Definition at line <a class="el" href="syncAction_8h-source.html#l00261">261</a> of file <a class="el" href="syncAction_8h-source.html">syncAction.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="a9a41b9422883413fcf6dbd7642810e6"></a><!-- doxytag: member="SyncAction::SyncMode::isTest" ref="a9a41b9422883413fcf6dbd7642810e6" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SyncAction::SyncMode::isTest           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Accessor for the test part of the mode. 
<p>
Test syncs should never actually modify data anywhere. 
<p>Definition at line <a class="el" href="syncAction_8h-source.html#l00271">271</a> of file <a class="el" href="syncAction_8h-source.html">syncAction.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="9532f8bf401914dab5d7bd3d4ac9dacf"></a><!-- doxytag: member="SyncAction::SyncMode::isLocal" ref="9532f8bf401914dab5d7bd3d4ac9dacf" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SyncAction::SyncMode::isLocal           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Accessor for the local part of the mode. 
<p>
Local syncs use a local database instead of one on the device link. 
<p>Definition at line <a class="el" href="syncAction_8h-source.html#l00279">279</a> of file <a class="el" href="syncAction_8h-source.html">syncAction.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="818bc334b5001f2099d9868143dea28a"></a><!-- doxytag: member="SyncAction::SyncMode::isSync" ref="818bc334b5001f2099d9868143dea28a" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SyncAction::SyncMode::isSync           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Classify every mode as either a sync (two-way) or copy (one-way) mode. 
<p>

<p>Definition at line <a class="el" href="syncAction_8h-source.html#l00296">296</a> of file <a class="el" href="syncAction_8h-source.html">syncAction.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="efbd362eee2d2549e92574e2e55957c4"></a><!-- doxytag: member="SyncAction::SyncMode::isCopy" ref="efbd362eee2d2549e92574e2e55957c4" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool SyncAction::SyncMode::isCopy           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Classify every mode as either a sync (two-way) or copy (one-way) mode. 
<p>

<p>Definition at line <a class="el" href="syncAction_8h-source.html#l00303">303</a> of file <a class="el" href="syncAction_8h-source.html">syncAction.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="5e4b2586b7080ecb814389fe80102b6b"></a><!-- doxytag: member="SyncAction::SyncMode::name" ref="5e4b2586b7080ecb814389fe80102b6b" args="(Mode)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString SyncAction::SyncMode::name           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classSyncAction_1_1SyncMode.html#c34dd6e35cced38e6b2d733d59727cbf">Mode</a>&nbsp;</td>
          <td class="paramname"> <em>e</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns a standard name for each of the sync modes. 
<p>

<p>Definition at line <a class="el" href="syncAction_8cc-source.html#l00200">200</a> of file <a class="el" href="syncAction_8cc-source.html">syncAction.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="8343f36b6b82424a49f22baa64058040"></a><!-- doxytag: member="SyncAction::SyncMode::name" ref="8343f36b6b82424a49f22baa64058040" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString SyncAction::SyncMode::name           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns a (human readable) name for this particular mode, including extra information about test and local mode. 
<p>

<p>Definition at line <a class="el" href="syncAction_8cc-source.html#l00214">214</a> of file <a class="el" href="syncAction_8cc-source.html">syncAction.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="1e549a437d08803bca55ad65b8419ea9"></a><!-- doxytag: member="SyncAction::SyncMode::list" ref="1e549a437d08803bca55ad65b8419ea9" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QStringList SyncAction::SyncMode::list           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns a QStringList that, when passed to the constructor of <a class="el" href="classSyncAction_1_1SyncMode.html" title="This class encapsulates the different sync modes that can be used, and enforces a...">SyncMode</a>, will re-create it. 
<p>
Used to pass modes into shared library factories. 
<p>Definition at line <a class="el" href="syncAction_8cc-source.html#l00173">173</a> of file <a class="el" href="syncAction_8cc-source.html">syncAction.cc</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="syncAction_8h-source.html">syncAction.h</a><li><a class="el" href="syncAction_8cc-source.html">syncAction.cc</a></ul>
</div>
    </div></div>


      </td>
  </tr>
  <tr>
    <td valign="top" id="leftmenu" width="25%">
      <a name="navigation"></a>
      <div class="menu_box"><h2>kpilot/lib</h2>
<div class="nav_list">
<ul><li><a href="index.html">Main Page</a></li><li><a href="namespaces.html">Namespace List</a></li><li><a href="hierarchy.html">Class Hierarchy</a></li><li><a href="classes.html">Alphabetical List</a></li><li><a href="annotated.html">Class List</a></li><li><a href="files.html">File List</a></li><li><a href="namespacemembers.html">Namespace Members</a></li><li><a href="functions.html">Class Members</a></li></ul>
<!--
<h2>Class Picker</h2>
<div style="text-align: center;">
<form name="guideform">
<select name="guidelinks" style="width:100%;" onChange="window.location=document.guideform.guidelinks.options[document.guideform.guidelinks.selectedIndex].value">
<option value="annotated.html">-- Choose --</option>
  <option value="classActionQueue.html">actionqueue</option>,  <option value="classCleanupAction.html">cleanupaction</option>,  <option value="classConduitAction.html">conduitaction</option>,  <option value="classConduitConfigBase.html">conduitconfigbase</option>,  <option value="classConduitFactory.html">conduitfactory</option>,  <option value="classConduitProxy.html">conduitproxy</option>,  <option value="classCUDCounter.html">cudcounter</option>,  <option value="classDatabaseInterpreter.html">databaseinterpreter</option>,  <option value="classDeviceCommThread.html">devicecommthread</option>,  <option value="classIDMapper.html">idmapper</option>,  <option value="classKPilotDeviceLink.html">kpilotdevicelink</option>,  <option value="classKPilotLink.html">kpilotlink</option>,  <option value="classKPilotLocalLink.html">kpilotlocallink</option>,  <option value="classNullMapper.html">nullmapper</option>,  <option value="classPhoneSlot.html">phoneslot</option>,  <option value="classPilotAddress.html">pilotaddress</option>,  <option value="classPilotAppInfo.html">pilotappinfo</option>,  <option value="classPilotAppInfoBase.html">pilotappinfobase</option>,  <option value="classPilotDatabase.html">pilotdatabase</option>,  <option value="classPilotDateEntry.html">pilotdateentry</option>,  <option value="classPilotLocalDatabase.html">pilotlocaldatabase</option>,  <option value="classPilotRecord.html">pilotrecord</option>,  <option value="classPilotRecordBase.html">pilotrecordbase</option>,  <option value="classPilotSerialDatabase.html">pilotserialdatabase</option>,  <option value="classPilotTodoEntry.html">pilottodoentry</option>,  <option value="classRecordConduitBase.html">recordconduitbase</option>,  <option value="classSorryAction.html">sorryaction</option>,  <option value="classSyncAction_1_1SyncMode.html">syncaction::syncmode</option>,  <option value="classTestLink.html">testlink</option>,  <option value="classWelcomeAction.html">welcomeaction</option>,
</select>
</form>
</div>
-->
</div></div>
<div class="menu_box"><h2>API Dox</h2>
<div class="nav_list">
<ul>
<li><a href="../../../akregator/html/index.html">akregator</a></li><li>&nbsp;&nbsp;<a href="../../../akregator/src/html/index.html">src</a></li><li>&nbsp;&nbsp;&nbsp;&nbsp;<a href="../../../akregator/src/librss/html/index.html">librss</a></li><li><a href="../../../certmanager/html/index.html">certmanager</a></li><li>&nbsp;&nbsp;<a href="../../../certmanager/lib/html/index.html">lib</a></li><li><a href="../../../kaddressbook/html/index.html">kaddressbook</a></li><li><a href="../../../kalarm/html/index.html">kalarm</a></li><li>&nbsp;&nbsp;<a href="../../../kalarm/lib/html/index.html">lib</a></li><li><a href="../../../kandy/html/index.html">kandy</a></li><li><a href="../../../karm/html/index.html">karm</a></li><li><a href="../../../kdgantt/html/index.html">kdgantt</a></li><li><a href="../../../kgantt/html/index.html">kgantt</a></li><li><a href="../../../kioslaves/html/index.html">kioslaves</a></li><li>&nbsp;&nbsp;<a href="../../../kioslaves/imap4/html/index.html">imap4</a></li><li>&nbsp;&nbsp;<a href="../../../kioslaves/mbox/html/index.html">mbox</a></li><li><a href="../../../kitchensync/html/index.html">kitchensync</a></li><li><a href="../../../kmail/html/index.html">kmail</a></li><li><a href="../../../knotes/html/index.html">knotes</a></li><li><a href="../../../konsolekalendar/html/index.html">konsolekalendar</a></li><li><a href="../../../kontact/html/index.html">kontact</a></li><li><a href="../../../korganizer/html/index.html">korganizer</a></li><li><a href="../../../kpilot/html/index.html">kpilot</a></li><li>&nbsp;&nbsp;<a href="../../../kpilot/kpilot/html/index.html">kpilot</a></li><li>&nbsp;&nbsp;<a href="../../../kpilot/lib/html/index.html">lib</a></li><li><a href="../../../libemailfunctions/html/index.html">libemailfunctions</a></li><li><a href="../../../libkcal/html/index.html">libkcal</a></li><li><a href="../../../libkdepim/html/index.html">libkdepim</a></li><li><a href="../../../libkholidays/html/index.html">libkholidays</a></li><li><a href="../../../libkmime/html/index.html">libkmime</a></li><li><a href="../../../libkpgp/html/index.html">libkpgp</a></li><li><a href="../../../libkpimidentities/html/index.html">libkpimidentities</a></li>
</ul></div></div>


        </td>
</tr>
</table>

<span class="doNotDisplay">
  <a href="http://www.kde.org/" accesskey="8">KDE Home</a> |
  <a href="http://accessibility.kde.org/" accesskey="9">KDE Accessibility Home</a> |
  <a href="http://www.kde.org/media/accesskeys.php" accesskey="0">Description of Access Keys</a>
</span>


<div style="height: 8px"></div>

<div id="footer">
  <div id="footer_left">
    Maintained by <a href="&#109;&#97;&#105;&#108;&#116;&#111;&#58;groo&#116;&#64;kde&#46;or&#x67;">Adriaan de Groot</a>
and
<a href="&#109;a&#105;&#108;&#116;&#111;&#58;w&#105;nter&#64;kde&#46;or&#x67">Allen Winter</a>.
<br/>
    KDE and K Desktop Environment are trademarks of <a href="http://www.kde.org/areas/kde-ev/" title="Homepage of the KDE non-profit Organization">KDE e.V.</a> |
    <a href="http://www.kde.org/contact/impressum.php">Legal</a>
  </div>
  <div id="footer_right"><img src="/media/images/footer_right.png" style="margin: 0px" alt="" /></div>
</div>

<!--
WARNING: DO NOT SEND MAIL TO THE FOLLOWING EMAIL ADDRESS! YOU WILL
BE BLOCKED INSTANTLY AND PERMANENTLY!
<a href="mailto:aaaatrap-425acc3b5374943f@kde.org">Block me</a>
WARNING END
-->

</body>
</html>