Sophie

Sophie

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

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: KPilotDeviceLink 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="contents">
<h1>KPilotDeviceLink Class Reference</h1><!-- doxytag: class="KPilotDeviceLink" --><!-- doxytag: inherits="KPilotLink" --><code>#include &lt;<a class="el" href="kpilotdevicelink_8h-source.html">kpilotdevicelink.h</a>&gt;</code>
<p>
<div class="dynheader">
Inheritance diagram for KPilotDeviceLink:</div>
<div class="dynsection">

<p><center><img src="classKPilotDeviceLink.png" usemap="#KPilotDeviceLink_map" border="0" alt=""></center>
<map name="KPilotDeviceLink_map">
<area href="classKPilotLink.html" alt="KPilotLink" shape="rect" coords="0,0,107,24">
</map>
</div>

<p>
<a href="classKPilotDeviceLink-members.html">List of all members.</a><hr><a name="_details"></a><h2>Detailed Description</h2>
Definition of the device link class for physical handheld devices, which communicate with the PC using DLP / SLP via the pilot-link library. 
<p>Definition at line <a class="el" href="kpilotdevicelink_8h-source.html#l00072">72</a> of file <a class="el" href="kpilotdevicelink_8h-source.html">kpilotdevicelink.h</a>.</p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td></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="classKPilotDeviceLink.html#e807a3db3836da2fdf539d63aef2078c">KPilotDeviceLink</a> (QObject *parent=0, const char *name=0, const QString &amp;tempDevice=QString::null)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#af4e2a2346c8290c04aaff62fe70c0d8">~KPilotDeviceLink</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">LinkStatus&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#15ab53812c739ea99b1eb06c894d10e3">status</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#19b0915f37803193e5b32c527a8b8505">statusString</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#63a66d4f73bce3cc1ac185233258d3e9">isConnected</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#997017c2733fb8fbba41a3a34857263f">reset</a> (const QString &amp;)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#b7e0347f592550521f4c967975e66d1c">close</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#cbf1ed11ea1969ebbebf0970d1eae9c3">reset</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#01525c65efacfee53bff912c13db8bb7">event</a> (QEvent *e)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#4827a40029f4afa11448a8e62773221e">tickle</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual const KPilotCard *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#a6dee82037705d799d978b247360b327">getCardInfo</a> (int card)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#06c7682d047d5c3a37adbaf59116a213">endSync</a> (<a class="el" href="classKPilotLink.html#61758d52e6a0684866d82f5ba224f8c9">EndOfSyncFlags</a> f)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#e9be6b060599f0243c354ba7072e0310">openConduit</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#b3e1e57ce7870b2a3dc04be1fd036066">getNextDatabase</a> (int index, struct DBInfo *)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#de0eb7ed274842e4285b85b218b6f292">findDatabase</a> (const char *name, struct DBInfo *, int index=0, unsigned long type=0, unsigned long creator=0)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#9fc53fd112900f26760a093709b9c82a">retrieveDatabase</a> (const QString &amp;path, struct DBInfo *db)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classKPilotLink.html#a36b97890b47c51a47d2dcd60a84c1d3">DBInfoList</a>&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#5878a9b7a49f69b0cb71a0251ee0f412">getDBList</a> (int cardno=0, int flags=dlpDBListRAM)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classPilotDatabase.html">PilotDatabase</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#b7f7e09a732403d532457f87c623fece">database</a> (const QString &amp;name)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual <a class="el" href="classPilotDatabase.html">PilotDatabase</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#2bf83ecafe0f72ff4765a11cc0780cd7">database</a> (const DBInfo *info)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#fa4baf2a574b3eae79aa98ac77bc89bc">setWorkarounds</a> (bool usb)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#536b002a63217f4ce290ad3862f904aa">setTempDevice</a> (const QString &amp;device)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#213868b7cbb0a58526e8ef2fde779f89">setDevice</a> (const QString &amp;device)</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="classKPilotDeviceLink.html#99cffe9febf5b12705f1df88a66be351">statusString</a> (LinkStatus l)</td></tr>

<tr><td colspan="2"><br><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#d4162fd05917ccc1be4083050e1bada9">installFile</a> (const QString &amp;, const bool deleteFile)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#87873247d80d8e3304de111e1cb33fb4">addSyncLogEntryImpl</a> (const QString &amp;s)</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">virtual int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#8b128f57d6ce5004fc928d5b3ca31542">pilotSocket</a> () const </td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#1b77adddd947f35a4806fff3294cb47c">checkDevice</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#c620a1e28305efbd4b66bb5ed4799ebd">startCommThread</a> ()</td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="320327d3afb0de8ea4cf6df49e076251"></a><!-- doxytag: member="KPilotDeviceLink::stopCommThread" ref="320327d3afb0de8ea4cf6df49e076251" args="()" -->
void&nbsp;</td><td class="memItemRight" valign="bottom"><b>stopCommThread</b> ()</td></tr>

<tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top">bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#a9726b5d6324908d6f7f0e248abbb79b">fWorkaroundUSB</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#8fbbebbfa3cd2e0f405e20c425e1cf56">fRealPilotPath</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#16e64a051920f58eda67086e9d8d308e">fPilotSocket</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="5db6950afb44f89f4373ade2ab08013c"></a><!-- doxytag: member="KPilotDeviceLink::fTempDevice" ref="5db6950afb44f89f4373ade2ab08013c" args="" -->
QString&nbsp;</td><td class="memItemRight" valign="bottom"><b>fTempDevice</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top">int&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#7a8b6e606ba016e7424047d7b60362e1">fAcceptedCount</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="46a721fb2058b123642536262b038a8d"></a><!-- doxytag: member="KPilotDeviceLink::fMessages" ref="46a721fb2058b123642536262b038a8d" args="" -->
Messages *&nbsp;</td><td class="memItemRight" valign="bottom"><b>fMessages</b></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="9d69404c208c6a4cd47303b88fccb61b"></a><!-- doxytag: member="KPilotDeviceLink::fDeviceCommThread" ref="9d69404c208c6a4cd47303b88fccb61b" args="" -->
<a class="el" href="classDeviceCommThread.html">DeviceCommThread</a> *&nbsp;</td><td class="memItemRight" valign="bottom"><b>fDeviceCommThread</b></td></tr>

<tr><td colspan="2"><br><h2>Friends</h2></td></tr>
<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="83b056aedfe20ff0e73612f0c72e97ac"></a><!-- doxytag: member="KPilotDeviceLink::PilotSerialDatabase" ref="83b056aedfe20ff0e73612f0c72e97ac" args="" -->
class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#83b056aedfe20ff0e73612f0c72e97ac">PilotSerialDatabase</a></td></tr>

<tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="0ab49343b366eb048226f0dc558aabca"></a><!-- doxytag: member="KPilotDeviceLink::DeviceCommThread" ref="0ab49343b366eb048226f0dc558aabca" args="" -->
class&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="classKPilotDeviceLink.html#0ab49343b366eb048226f0dc558aabca">DeviceCommThread</a></td></tr>

</table>
<hr><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" name="e807a3db3836da2fdf539d63aef2078c"></a><!-- doxytag: member="KPilotDeviceLink::KPilotDeviceLink" ref="e807a3db3836da2fdf539d63aef2078c" args="(QObject *parent=0, const char *name=0, const QString &amp;tempDevice=QString::null)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KPilotDeviceLink::KPilotDeviceLink           </td>
          <td>(</td>
          <td class="paramtype">QObject *&nbsp;</td>
          <td class="paramname"> <em>parent</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>tempDevice</em> = <code>QString::null</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>
Constructor. 
<p>
Creates a link that can sync to a physical handheld. Call <a class="el" href="classKPilotDeviceLink.html#cbf1ed11ea1969ebbebf0970d1eae9c3" title="Assuming things have been set up at least once already by a call to reset() with...">reset()</a> on it to start looking for a device.<p>
<dl compact><dt><b>Parameters:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>parent</em>&nbsp;</td><td>Parent object. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>name</em>&nbsp;</td><td>Name of this object. </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>tempDevice</em>&nbsp;</td><td>Path to device node to use as an alternative to the "normal" one set by KPilot. </td></tr>
  </table>
</dl>

<p>Definition at line <a class="el" href="kpilotdevicelink_8cc-source.html#l00530">530</a> of file <a class="el" href="kpilotdevicelink_8cc-source.html">kpilotdevicelink.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="af4e2a2346c8290c04aaff62fe70c0d8"></a><!-- doxytag: member="KPilotDeviceLink::~KPilotDeviceLink" ref="af4e2a2346c8290c04aaff62fe70c0d8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">KPilotDeviceLink::~KPilotDeviceLink           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Destructor. 
<p>
This rudely ends the communication with the handheld. It is best to call endOfSync() or finishSync() before destroying the device. 
<p>Definition at line <a class="el" href="kpilotdevicelink_8cc-source.html#l00542">542</a> of file <a class="el" href="kpilotdevicelink_8cc-source.html">kpilotdevicelink.cc</a>.</p>

</div>
</div><p>
<hr><h2>Member Function Documentation</h2>
<a class="anchor" name="15ab53812c739ea99b1eb06c894d10e3"></a><!-- doxytag: member="KPilotDeviceLink::status" ref="15ab53812c739ea99b1eb06c894d10e3" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">LinkStatus KPilotDeviceLink::status           </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>
Get the status (state enum) of this link. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>The LinkStatus enum for the link's current state. </dd></dl>

<p>Definition at line <a class="el" href="kpilotdevicelink_8h-source.html#l00104">104</a> of file <a class="el" href="kpilotdevicelink_8h-source.html">kpilotdevicelink.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="99cffe9febf5b12705f1df88a66be351"></a><!-- doxytag: member="KPilotDeviceLink::statusString" ref="99cffe9febf5b12705f1df88a66be351" args="(LinkStatus l)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString KPilotDeviceLink::statusString           </td>
          <td>(</td>
          <td class="paramtype">LinkStatus&nbsp;</td>
          <td class="paramname"> <em>l</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Get a human-readable string for the given status <code>l</code>. 
<p>

<p>Definition at line <a class="el" href="kpilotdevicelink_8cc-source.html#l00791">791</a> of file <a class="el" href="kpilotdevicelink_8cc-source.html">kpilotdevicelink.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="19b0915f37803193e5b32c527a8b8505"></a><!-- doxytag: member="KPilotDeviceLink::statusString" ref="19b0915f37803193e5b32c527a8b8505" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString KPilotDeviceLink::statusString           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Provides a human-readable status string. 
<p>

<p>Implements <a class="el" href="classKPilotLink.html#b033fdc1c4365a18d6c6d63c3d92b0fc">KPilotLink</a>.</p>

<p>Definition at line <a class="el" href="kpilotdevicelink_8cc-source.html#l00829">829</a> of file <a class="el" href="kpilotdevicelink_8cc-source.html">kpilotdevicelink.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="63a66d4f73bce3cc1ac185233258d3e9"></a><!-- doxytag: member="KPilotDeviceLink::isConnected" ref="63a66d4f73bce3cc1ac185233258d3e9" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KPilotDeviceLink::isConnected           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
True if HotSync has been started but not finished yet (ie. 
<p>
the physical <a class="el" href="namespacePilot.html" title="The Pilot namespace holds constants that are global for the handheld data structures...">Pilot</a> is waiting for sync commands) 
<p>Implements <a class="el" href="classKPilotLink.html#0d5cf7168473128b7b082876e892d536">KPilotLink</a>.</p>

<p>Definition at line <a class="el" href="kpilotdevicelink_8cc-source.html#l00551">551</a> of file <a class="el" href="kpilotdevicelink_8cc-source.html">kpilotdevicelink.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="997017c2733fb8fbba41a3a34857263f"></a><!-- doxytag: member="KPilotDeviceLink::reset" ref="997017c2733fb8fbba41a3a34857263f" args="(const QString &amp;)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPilotDeviceLink::reset           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>pilotPath</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return the device link to the Init state and try connecting to the given device path (if it's non-empty). 
<p>
What the path means depends on the kind of link we're instantiating.<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classKPilotDeviceLink.html#cbf1ed11ea1969ebbebf0970d1eae9c3" title="Assuming things have been set up at least once already by a call to reset() with...">reset()</a> <p>
<a class="el" href="classKPilotLink.html#17da9e490e5929d6b5ada57b9488b85b" title="Information on what kind of device we&#39;re dealing with.">pilotPath()</a> </dd></dl>

<p>Implements <a class="el" href="classKPilotLink.html#8e50e930832f4c92adf53f5ebec8c55b">KPilotLink</a>.</p>

<p>Definition at line <a class="el" href="kpilotdevicelink_8cc-source.html#l00639">639</a> of file <a class="el" href="kpilotdevicelink_8cc-source.html">kpilotdevicelink.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="b7e0347f592550521f4c967975e66d1c"></a><!-- doxytag: member="KPilotDeviceLink::close" ref="b7e0347f592550521f4c967975e66d1c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPilotDeviceLink::close           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Release all resources, including the master pilot socket, timers, etc. 
<p>

<p>Implements <a class="el" href="classKPilotLink.html#c0ec64e0d61b0035ae93c130b77fe9bd">KPilotLink</a>.</p>

<p>Definition at line <a class="el" href="kpilotdevicelink_8cc-source.html#l00630">630</a> of file <a class="el" href="kpilotdevicelink_8cc-source.html">kpilotdevicelink.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="cbf1ed11ea1969ebbebf0970d1eae9c3"></a><!-- doxytag: member="KPilotDeviceLink::reset" ref="cbf1ed11ea1969ebbebf0970d1eae9c3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPilotDeviceLink::reset           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Assuming things have been set up at least once already by a call to <a class="el" href="classKPilotDeviceLink.html#cbf1ed11ea1969ebbebf0970d1eae9c3" title="Assuming things have been set up at least once already by a call to reset() with...">reset()</a> with parameters, use this slot to re-start with the same settings. 
<p>

<p>Implements <a class="el" href="classKPilotLink.html#3e877d552e0ef8f12c36389a76cefd55">KPilotLink</a>.</p>

<p>Definition at line <a class="el" href="kpilotdevicelink_8cc-source.html#l00683">683</a> of file <a class="el" href="kpilotdevicelink_8cc-source.html">kpilotdevicelink.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="01525c65efacfee53bff912c13db8bb7"></a><!-- doxytag: member="KPilotDeviceLink::event" ref="01525c65efacfee53bff912c13db8bb7" args="(QEvent *e)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KPilotDeviceLink::event           </td>
          <td>(</td>
          <td class="paramtype">QEvent *&nbsp;</td>
          <td class="paramname"> <em>e</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Allows our class to receive custom events that our threads will be giving to us, including tickle timeouts and device communication events. 
<p>

<p>Reimplemented from <a class="el" href="classKPilotLink.html#515938ea6d53c08f543db05913eaca86">KPilotLink</a>.</p>

<p>Definition at line <a class="el" href="kpilotdevicelink_8cc-source.html#l00556">556</a> of file <a class="el" href="kpilotdevicelink_8cc-source.html">kpilotdevicelink.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="4827a40029f4afa11448a8e62773221e"></a><!-- doxytag: member="KPilotDeviceLink::tickle" ref="4827a40029f4afa11448a8e62773221e" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KPilotDeviceLink::tickle           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Tickle the underlying device exactly once. 
<p>

<p>Implements <a class="el" href="classKPilotLink.html#a1aa03ed38c1c8940230fd66e6dfa1d2">KPilotLink</a>.</p>

<p>Definition at line <a class="el" href="kpilotdevicelink_8cc-source.html#l00734">734</a> of file <a class="el" href="kpilotdevicelink_8cc-source.html">kpilotdevicelink.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="a6dee82037705d799d978b247360b327"></a><!-- doxytag: member="KPilotDeviceLink::getCardInfo" ref="a6dee82037705d799d978b247360b327" args="(int card)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const KPilotCard * KPilotDeviceLink::getCardInfo           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>card</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieve information about the data card <code>card</code>; I don't think that any pilot supports card numbers other than 0. 
<p>
Non-device links return something fake.<p>
This function may return NULL (non-device links or on error).<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>Ownership of the KPilotCard object is given to the caller, who must delete it. </dd></dl>

<p>Implements <a class="el" href="classKPilotLink.html#12ac9c13081d1205f243c3aeae0cf5c3">KPilotLink</a>.</p>

<p>Definition at line <a class="el" href="kpilotdevicelink_8cc-source.html#l00944">944</a> of file <a class="el" href="kpilotdevicelink_8cc-source.html">kpilotdevicelink.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="06c7682d047d5c3a37adbaf59116a213"></a><!-- doxytag: member="KPilotDeviceLink::endSync" ref="06c7682d047d5c3a37adbaf59116a213" args="(EndOfSyncFlags f)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPilotDeviceLink::endSync           </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classKPilotLink.html#61758d52e6a0684866d82f5ba224f8c9">EndOfSyncFlags</a>&nbsp;</td>
          <td class="paramname"> <em>f</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
End the sync in a gracuful manner. 
<p>
If <code>f</code> is UpdateUserInfo, the sync was successful and the user info and last successful sync timestamp are updated. 
<p>Implements <a class="el" href="classKPilotLink.html#6a4e594890e7f2c8058802c619912fe9">KPilotLink</a>.</p>

<p>Definition at line <a class="el" href="kpilotdevicelink_8cc-source.html#l00834">834</a> of file <a class="el" href="kpilotdevicelink_8cc-source.html">kpilotdevicelink.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="e9be6b060599f0243c354ba7072e0310"></a><!-- doxytag: member="KPilotDeviceLink::openConduit" ref="e9be6b060599f0243c354ba7072e0310" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KPilotDeviceLink::openConduit           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Notify the <a class="el" href="namespacePilot.html" title="The Pilot namespace holds constants that are global for the handheld data structures...">Pilot</a> user that a conduit is running now. 
<p>
On real devices, this prints out (on screen) which database is now opened; useful for progress reporting.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>-1 on error </dd></dl>
<dl class="note" compact><dt><b>Note:</b></dt><dd>the default implementation returns 0 </dd></dl>

<p>Reimplemented from <a class="el" href="classKPilotLink.html#601d9f9b8455f186ab2fe96128f05615">KPilotLink</a>.</p>

<p>Definition at line <a class="el" href="kpilotdevicelink_8cc-source.html#l00786">786</a> of file <a class="el" href="kpilotdevicelink_8cc-source.html">kpilotdevicelink.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="b3e1e57ce7870b2a3dc04be1fd036066"></a><!-- doxytag: member="KPilotDeviceLink::getNextDatabase" ref="b3e1e57ce7870b2a3dc04be1fd036066" args="(int index, struct DBInfo *)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KPilotDeviceLink::getNextDatabase           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>index</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct DBInfo *&nbsp;</td>
          <td class="paramname"> <em>db</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Fill the DBInfo structure <code>db</code> with information about the next database (in some ordering) counting from <code>index</code>. 
<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>&lt; 0 on error </dd></dl>

<p>Implements <a class="el" href="classKPilotLink.html#8ba42e37753719be725e16096e82ac57">KPilotLink</a>.</p>

<p>Definition at line <a class="el" href="kpilotdevicelink_8cc-source.html#l00853">853</a> of file <a class="el" href="kpilotdevicelink_8cc-source.html">kpilotdevicelink.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="de0eb7ed274842e4285b85b218b6f292"></a><!-- doxytag: member="KPilotDeviceLink::findDatabase" ref="de0eb7ed274842e4285b85b218b6f292" args="(const char *name, struct DBInfo *, int index=0, unsigned long type=0, unsigned long creator=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int KPilotDeviceLink::findDatabase           </td>
          <td>(</td>
          <td class="paramtype">const char *&nbsp;</td>
          <td class="paramname"> <em>name</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct DBInfo *&nbsp;</td>
          <td class="paramname"> <em>info</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>index</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned long&nbsp;</td>
          <td class="paramname"> <em>type</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">unsigned long&nbsp;</td>
          <td class="paramname"> <em>creator</em> = <code>0</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Find a database with the given <code>name</code> (and optionally, type <code>type</code> and creator ID (from pi_mktag) <code>creator</code>, on searching from index <code>index</code> on the handheld. 
<p>
Fills in the DBInfo structure <code>info</code> if found.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>&gt;=0 on success. See the documentation for each subclass for particular meanings. <p>
&lt; 0 on error. </dd></dl>

<p>Implements <a class="el" href="classKPilotLink.html#2ad0890c23f6ddea8032eb44be665c79">KPilotLink</a>.</p>

<p>Definition at line <a class="el" href="kpilotdevicelink_8cc-source.html#l00867">867</a> of file <a class="el" href="kpilotdevicelink_8cc-source.html">kpilotdevicelink.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="9fc53fd112900f26760a093709b9c82a"></a><!-- doxytag: member="KPilotDeviceLink::retrieveDatabase" ref="9fc53fd112900f26760a093709b9c82a" args="(const QString &amp;path, struct DBInfo *db)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KPilotDeviceLink::retrieveDatabase           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>path</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">struct DBInfo *&nbsp;</td>
          <td class="paramname"> <em>db</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Retrieve the database indicated by DBInfo <code>*db</code> into the local file <code>path</code>. 
<p>
This copies all the data, and you can create a <a class="el" href="classPilotLocalDatabase.html" title="PilotLocalDatabase represents databases in the same binary format as on the handheld...">PilotLocalDatabase</a> from the resulting <code>path</code> .<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd><code>true</code> on success </dd></dl>

<p>Implements <a class="el" href="classKPilotLink.html#1f99fd2affb3555a87811db2568c9ea0">KPilotLink</a>.</p>

<p>Definition at line <a class="el" href="kpilotdevicelink_8cc-source.html#l00875">875</a> of file <a class="el" href="kpilotdevicelink_8cc-source.html">kpilotdevicelink.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="5878a9b7a49f69b0cb71a0251ee0f412"></a><!-- doxytag: member="KPilotDeviceLink::getDBList" ref="5878a9b7a49f69b0cb71a0251ee0f412" args="(int cardno=0, int flags=dlpDBListRAM)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classKPilotLink.html#a36b97890b47c51a47d2dcd60a84c1d3">KPilotLink::DBInfoList</a> KPilotDeviceLink::getDBList           </td>
          <td>(</td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>cardno</em> = <code>0</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&nbsp;</td>
          <td class="paramname"> <em>flags</em> = <code>dlpDBListRAM</code></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns a list of DBInfo structures describing all the databases available on the link (ie. 
<p>
device) with the given card number <code>cardno</code> and flags <code>flags</code>. No known handheld uses a cardno other than 0; use flags to indicate what kind of databases to fetch -- <code>dlpDBListRAM</code> or <code>dlpDBListROM</code>.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>list of DBInfo objects, one for each database </dd></dl>
<dl class="note" compact><dt><b>Note:</b></dt><dd>ownership of the DBInfo objects is passed to the caller, who must delete the objects. </dd></dl>

<p>Implements <a class="el" href="classKPilotLink.html#d385f4be335cf3cb503b8a6164a4d70d">KPilotLink</a>.</p>

<p>Definition at line <a class="el" href="kpilotdevicelink_8cc-source.html#l00910">910</a> of file <a class="el" href="kpilotdevicelink_8cc-source.html">kpilotdevicelink.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="b7f7e09a732403d532457f87c623fece"></a><!-- doxytag: member="KPilotDeviceLink::database" ref="b7f7e09a732403d532457f87c623fece" args="(const QString &amp;name)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPilotDatabase.html">PilotDatabase</a> * KPilotDeviceLink::database           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>name</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return a database object for manipulating the database with name <code>name</code> on the link. 
<p>
This database may be local or remote, depending on the kind of link in use.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>pointer to database object, or 0 on error. </dd></dl>
<dl class="note" compact><dt><b>Note:</b></dt><dd>ownership of the database object is given to the caller, who must delete the object in time. </dd></dl>

<p>Implements <a class="el" href="classKPilotLink.html#94735b8dc57f66856f805b67945c5b7e">KPilotLink</a>.</p>

<p>Definition at line <a class="el" href="kpilotdevicelink_8cc-source.html#l00957">957</a> of file <a class="el" href="kpilotdevicelink_8cc-source.html">kpilotdevicelink.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="2bf83ecafe0f72ff4765a11cc0780cd7"></a><!-- doxytag: member="KPilotDeviceLink::database" ref="2bf83ecafe0f72ff4765a11cc0780cd7" args="(const DBInfo *info)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classPilotDatabase.html">PilotDatabase</a> * KPilotDeviceLink::database           </td>
          <td>(</td>
          <td class="paramtype">const DBInfo *&nbsp;</td>
          <td class="paramname"> <em>info</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Return a database object for manipulating the database with the name stored in the DBInfo structure <code>info</code> . 
<p>
The default version goes through method <a class="el" href="classKPilotDeviceLink.html#b7f7e09a732403d532457f87c623fece" title="Return a database object for manipulating the database with name name on the link...">database( const QString &amp; )</a>, above.<p>
<dl class="return" compact><dt><b>Returns:</b></dt><dd>pointer to database object, or 0 on error. </dd></dl>
<dl class="note" compact><dt><b>Note:</b></dt><dd>ownership of the database object is given to the caller. </dd></dl>

<p>Reimplemented from <a class="el" href="classKPilotLink.html#28d2ba9733e1a839ffba55c65ed186fe">KPilotLink</a>.</p>

<p>Definition at line <a class="el" href="kpilotdevicelink_8cc-source.html#l00962">962</a> of file <a class="el" href="kpilotdevicelink_8cc-source.html">kpilotdevicelink.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="d4162fd05917ccc1be4083050e1bada9"></a><!-- doxytag: member="KPilotDeviceLink::installFile" ref="d4162fd05917ccc1be4083050e1bada9" args="(const QString &amp;, const bool deleteFile)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool KPilotDeviceLink::installFile           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>f</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const bool&nbsp;</td>
          <td class="paramname"> <em>deleteFile</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Install a single file onto the device link. 
<p>
Full pathname <code>f</code> is used; in addition, if <code>deleteFile</code> is true remove the source file. Returns <code>true</code> if the install succeeded. 
<p>Implements <a class="el" href="classKPilotLink.html#1f0a3f6c244b3324ecd44b8b1135e3b5">KPilotLink</a>.</p>

<p>Definition at line <a class="el" href="kpilotdevicelink_8cc-source.html#l00747">747</a> of file <a class="el" href="kpilotdevicelink_8cc-source.html">kpilotdevicelink.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="87873247d80d8e3304de111e1cb33fb4"></a><!-- doxytag: member="KPilotDeviceLink::addSyncLogEntryImpl" ref="87873247d80d8e3304de111e1cb33fb4" args="(const QString &amp;s)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPilotDeviceLink::addSyncLogEntryImpl           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>s</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Actually write an entry to the device link. 
<p>
The message <code>s</code> must be guaranteed non-empty. 
<p>Implements <a class="el" href="classKPilotLink.html#8b1f27c4461a0f91589e9e34b0e46812">KPilotLink</a>.</p>

<p>Definition at line <a class="el" href="kpilotdevicelink_8cc-source.html#l00741">741</a> of file <a class="el" href="kpilotdevicelink_8cc-source.html">kpilotdevicelink.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="8b128f57d6ce5004fc928d5b3ca31542"></a><!-- doxytag: member="KPilotDeviceLink::pilotSocket" ref="8b128f57d6ce5004fc928d5b3ca31542" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual int KPilotDeviceLink::pilotSocket           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"> const<code> [inline, protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Returns a file handle for raw operations. 
<p>
Not recommended. On links with no physical device backing, returns -1.<p>
<dl class="note" compact><dt><b>Note:</b></dt><dd>the default implementation returns -1 </dd></dl>

<p>Reimplemented from <a class="el" href="classKPilotLink.html#12c8cf7bd8cc77246a8ca47ce23877ec">KPilotLink</a>.</p>

<p>Definition at line <a class="el" href="kpilotdevicelink_8h-source.html#l00136">136</a> of file <a class="el" href="kpilotdevicelink_8h-source.html">kpilotdevicelink.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="fa4baf2a574b3eae79aa98ac77bc89bc"></a><!-- doxytag: member="KPilotDeviceLink::setWorkarounds" ref="fa4baf2a574b3eae79aa98ac77bc89bc" args="(bool usb)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPilotDeviceLink::setWorkarounds           </td>
          <td>(</td>
          <td class="paramtype">bool&nbsp;</td>
          <td class="paramname"> <em>usb</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Special-cases. 
<p>
Call this after a reset to set device- specific workarounds; the only one currently known is the Zire 31/72 T5 quirk of doing a non-HotSync connect when it's switched on. 
<p>Definition at line <a class="el" href="kpilotdevicelink_8h-source.html#l00154">154</a> of file <a class="el" href="kpilotdevicelink_8h-source.html">kpilotdevicelink.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="536b002a63217f4ce290ad3862f904aa"></a><!-- doxytag: member="KPilotDeviceLink::setTempDevice" ref="536b002a63217f4ce290ad3862f904aa" args="(const QString &amp;device)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPilotDeviceLink::setTempDevice           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>device</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets an additional device, which should be tried as fallback. 
<p>
Useful for hotplug enviroments, this device is used <em>once</em> for accepting a connection. 
<p>Definition at line <a class="el" href="kpilotdevicelink_8cc-source.html#l00728">728</a> of file <a class="el" href="kpilotdevicelink_8cc-source.html">kpilotdevicelink.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="213868b7cbb0a58526e8ef2fde779f89"></a><!-- doxytag: member="KPilotDeviceLink::setDevice" ref="213868b7cbb0a58526e8ef2fde779f89" args="(const QString &amp;device)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPilotDeviceLink::setDevice           </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>device</em>          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [inline]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Sets the device to use. 
<p>
Used by probe dialog, since we know what device to use, but we don't want to start the detection immediately. 
<p>Definition at line <a class="el" href="kpilotdevicelink_8h-source.html#l00171">171</a> of file <a class="el" href="kpilotdevicelink_8h-source.html">kpilotdevicelink.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="1b77adddd947f35a4806fff3294cb47c"></a><!-- doxytag: member="KPilotDeviceLink::checkDevice" ref="1b77adddd947f35a4806fff3294cb47c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPilotDeviceLink::checkDevice           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Check for device permissions and existence, emitting warnings for weird situations. 
<p>
This is primarily intended to inform the user. 
<p>Definition at line <a class="el" href="kpilotdevicelink_8cc-source.html#l00697">697</a> of file <a class="el" href="kpilotdevicelink_8cc-source.html">kpilotdevicelink.cc</a>.</p>

</div>
</div><p>
<a class="anchor" name="c620a1e28305efbd4b66bb5ed4799ebd"></a><!-- doxytag: member="KPilotDeviceLink::startCommThread" ref="c620a1e28305efbd4b66bb5ed4799ebd" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void KPilotDeviceLink::startCommThread           </td>
          <td>(</td>
          <td class="paramname">          </td>
          <td>&nbsp;)&nbsp;</td>
          <td width="100%"><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Start/Stop our device communication thread. 
<p>

<p>Definition at line <a class="el" href="kpilotdevicelink_8cc-source.html#l00659">659</a> of file <a class="el" href="kpilotdevicelink_8cc-source.html">kpilotdevicelink.cc</a>.</p>

</div>
</div><p>
<hr><h2>Member Data Documentation</h2>
<a class="anchor" name="a9726b5d6324908d6f7f0e248abbb79b"></a><!-- doxytag: member="KPilotDeviceLink::fWorkaroundUSB" ref="a9726b5d6324908d6f7f0e248abbb79b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classKPilotDeviceLink.html#a9726b5d6324908d6f7f0e248abbb79b">KPilotDeviceLink::fWorkaroundUSB</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Should we work around the Zire31/72 quirk? 
<p>
<dl class="see" compact><dt><b>See also:</b></dt><dd><a class="el" href="classKPilotDeviceLink.html#fa4baf2a574b3eae79aa98ac77bc89bc" title="Special-cases.">setWorkarounds()</a> </dd></dl>

<p>Definition at line <a class="el" href="kpilotdevicelink_8h-source.html#l00179">179</a> of file <a class="el" href="kpilotdevicelink_8h-source.html">kpilotdevicelink.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="8fbbebbfa3cd2e0f405e20c425e1cf56"></a><!-- doxytag: member="KPilotDeviceLink::fRealPilotPath" ref="8fbbebbfa3cd2e0f405e20c425e1cf56" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString <a class="el" href="classKPilotDeviceLink.html#8fbbebbfa3cd2e0f405e20c425e1cf56">KPilotDeviceLink::fRealPilotPath</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Path with resolved symlinks, to prevent double binding to the same device. 
<p>

<p>Definition at line <a class="el" href="kpilotdevicelink_8h-source.html#l00194">194</a> of file <a class="el" href="kpilotdevicelink_8h-source.html">kpilotdevicelink.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="16e64a051920f58eda67086e9d8d308e"></a><!-- doxytag: member="KPilotDeviceLink::fPilotSocket" ref="16e64a051920f58eda67086e9d8d308e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classKPilotDeviceLink.html#16e64a051920f58eda67086e9d8d308e">KPilotDeviceLink::fPilotSocket</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Pilot-link library handles for the device once it's opened. 
<p>

<p>Definition at line <a class="el" href="kpilotdevicelink_8h-source.html#l00199">199</a> of file <a class="el" href="kpilotdevicelink_8h-source.html">kpilotdevicelink.h</a>.</p>

</div>
</div><p>
<a class="anchor" name="7a8b6e606ba016e7424047d7b60362e1"></a><!-- doxytag: member="KPilotDeviceLink::fAcceptedCount" ref="7a8b6e606ba016e7424047d7b60362e1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classKPilotDeviceLink.html#7a8b6e606ba016e7424047d7b60362e1">KPilotDeviceLink::fAcceptedCount</a><code> [protected]</code>          </td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>
Handle cases where we can't accept or open the device, and data remains available on the pilot socket. 
<p>

<p>Definition at line <a class="el" href="kpilotdevicelink_8h-source.html#l00206">206</a> of file <a class="el" href="kpilotdevicelink_8h-source.html">kpilotdevicelink.h</a>.</p>

</div>
</div><p>
<hr>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="kpilotdevicelink_8h-source.html">kpilotdevicelink.h</a><li><a class="el" href="kpilotdevicelink_8cc-source.html">kpilotdevicelink.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>