Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > media > contrib-backports > by-pkgid > 9601c7beb4ff23e834bfa171795ed560 > files > 565

vidalia-0.2.9-1mdv2010.1.i586.rpm

<!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">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Vidalia: RouterDescriptorView Class Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.3 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Class&nbsp;List</span></a></li>
      <li><a href="classes.html"><span>Class&nbsp;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&nbsp;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&nbsp;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>RouterDescriptorView Class Reference</h1><!-- doxytag: class="RouterDescriptorView" -->
<p><code>#include &lt;<a class="el" href="_router_descriptor_view_8h_source.html">RouterDescriptorView.h</a>&gt;</code></p>

<p><a href="class_router_descriptor_view-members.html">List of all members.</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Public Slots</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_router_descriptor_view.html#a43bf58dd45c29e01cbe23b8e36c84545">display</a> (<a class="el" href="class_router_descriptor.html">RouterDescriptor</a> rd)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_router_descriptor_view.html#ae44d3e20d725c187b7f0de320ec6dc1c">display</a> (QList&lt; <a class="el" href="class_router_descriptor.html">RouterDescriptor</a> &gt; rdlist)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_router_descriptor_view.html#a770be7bb7238121e043f19edb3a1d48d">copySelectedText</a> ()</td></tr>
<tr><td colspan="2"><h2>Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_router_descriptor_view.html#a36313f7b51a3725b4ae41be9ada6a54c">RouterDescriptorView</a> (QWidget *parent=0)</td></tr>
<tr><td colspan="2"><h2>Protected Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_router_descriptor_view.html#a81ff3b19ccad82ac9ae86f40f459ad5d">contextMenuEvent</a> (QContextMenuEvent *event)</td></tr>
<tr><td colspan="2"><h2>Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">quint64&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_router_descriptor_view.html#a8bd409c017e9b40fa9c91e9be3d096b9">adjustUptime</a> (quint64 uptime, QDateTime published)</td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>

<p>Definition at line <a class="el" href="_router_descriptor_view_8h_source.html#l00028">28</a> of file <a class="el" href="_router_descriptor_view_8h_source.html">RouterDescriptorView.h</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a36313f7b51a3725b4ae41be9ada6a54c"></a><!-- doxytag: member="RouterDescriptorView::RouterDescriptorView" ref="a36313f7b51a3725b4ae41be9ada6a54c" args="(QWidget *parent=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">RouterDescriptorView::RouterDescriptorView </td>
          <td>(</td>
          <td class="paramtype">QWidget *&nbsp;</td>
          <td class="paramname"> <em>parent</em> = <code>0</code></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Default constructor. </p>

<p>Definition at line <a class="el" href="_router_descriptor_view_8cpp_source.html#l00034">34</a> of file <a class="el" href="_router_descriptor_view_8cpp_source.html">RouterDescriptorView.cpp</a>.</p>

<p>References <a class="el" href="_router_descriptor_view_8cpp_source.html#l00065">copySelectedText()</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a8bd409c017e9b40fa9c91e9be3d096b9"></a><!-- doxytag: member="RouterDescriptorView::adjustUptime" ref="a8bd409c017e9b40fa9c91e9be3d096b9" args="(quint64 uptime, QDateTime published)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">quint64 RouterDescriptorView::adjustUptime </td>
          <td>(</td>
          <td class="paramtype">quint64&nbsp;</td>
          <td class="paramname"> <em>uptime</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QDateTime&nbsp;</td>
          <td class="paramname"> <em>published</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Adjusts the displayed uptime to include time since the router's descriptor was last published. </p>

<p>Definition at line <a class="el" href="_router_descriptor_view_8cpp_source.html#l00075">75</a> of file <a class="el" href="_router_descriptor_view_8cpp_source.html">RouterDescriptorView.cpp</a>.</p>

<p>Referenced by <a class="el" href="_router_descriptor_view_8cpp_source.html#l00087">display()</a>.</p>

</div>
</div>
<a class="anchor" id="a81ff3b19ccad82ac9ae86f40f459ad5d"></a><!-- doxytag: member="RouterDescriptorView::contextMenuEvent" ref="a81ff3b19ccad82ac9ae86f40f459ad5d" args="(QContextMenuEvent *event)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RouterDescriptorView::contextMenuEvent </td>
          <td>(</td>
          <td class="paramtype">QContextMenuEvent *&nbsp;</td>
          <td class="paramname"> <em>event</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [protected, virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Displays a context menu for the user when they right-click on the widget. </p>

<p>Definition at line <a class="el" href="_router_descriptor_view_8cpp_source.html#l00047">47</a> of file <a class="el" href="_router_descriptor_view_8cpp_source.html">RouterDescriptorView.cpp</a>.</p>

<p>References <a class="el" href="_router_descriptor_view_8cpp_source.html#l00065">copySelectedText()</a>, and <a class="el" href="_network_page_8cpp_source.html#l00033">IMG_COPY</a>.</p>

</div>
</div>
<a class="anchor" id="a770be7bb7238121e043f19edb3a1d48d"></a><!-- doxytag: member="RouterDescriptorView::copySelectedText" ref="a770be7bb7238121e043f19edb3a1d48d" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RouterDescriptorView::copySelectedText </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Copies any selected text to the clipboard. </p>

<p>Definition at line <a class="el" href="_router_descriptor_view_8cpp_source.html#l00065">65</a> of file <a class="el" href="_router_descriptor_view_8cpp_source.html">RouterDescriptorView.cpp</a>.</p>

<p>References <a class="el" href="_vidalia_8h_source.html#l00037">vApp</a>.</p>

<p>Referenced by <a class="el" href="_router_descriptor_view_8cpp_source.html#l00047">contextMenuEvent()</a>, and <a class="el" href="_router_descriptor_view_8cpp_source.html#l00034">RouterDescriptorView()</a>.</p>

</div>
</div>
<a class="anchor" id="ae44d3e20d725c187b7f0de320ec6dc1c"></a><!-- doxytag: member="RouterDescriptorView::display" ref="ae44d3e20d725c187b7f0de320ec6dc1c" args="(QList&lt; RouterDescriptor &gt; rdlist)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RouterDescriptorView::display </td>
          <td>(</td>
          <td class="paramtype">QList&lt; <a class="el" href="class_router_descriptor.html">RouterDescriptor</a> &gt;&nbsp;</td>
          <td class="paramname"> <em>rdlist</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Shows all router descriptors in the given list.</p>
<p>Displays all router descriptors in the given list. </p>

<p>Definition at line <a class="el" href="_router_descriptor_view_8cpp_source.html#l00087">87</a> of file <a class="el" href="_router_descriptor_view_8cpp_source.html">RouterDescriptorView.cpp</a>.</p>

<p>References <a class="el" href="_router_descriptor_view_8cpp_source.html#l00075">adjustUptime()</a>, <a class="el" href="html_8cpp_source.html#l00040">b()</a>, <a class="el" href="html_8cpp_source.html#l00033">i()</a>, <a class="el" href="_router_descriptor_8h_source.html#l00047">RouterDescriptor::ip()</a>, <a class="el" href="_router_descriptor_8h_source.html#l00077">RouterDescriptor::isEmpty()</a>, <a class="el" href="_router_descriptor_8h_source.html#l00084">RouterDescriptor::location()</a>, <a class="el" href="_router_descriptor_8h_source.html#l00045">RouterDescriptor::name()</a>, <a class="el" href="_router_descriptor_8h_source.html#l00069">RouterDescriptor::observedBandwidth()</a>, <a class="el" href="_router_descriptor_8h_source.html#l00073">RouterDescriptor::offline()</a>, <a class="el" href="html_8cpp_source.html#l00023">p()</a>, <a class="el" href="_router_descriptor_8h_source.html#l00055">RouterDescriptor::platform()</a>, <a class="el" href="_router_descriptor_8h_source.html#l00061">RouterDescriptor::published()</a>, <a class="el" href="_router_descriptor_8cpp_source.html#l00074">RouterDescriptor::status()</a>, <a class="el" href="stringutil_8cpp_source.html#l00345">string_format_bandwidth()</a>, <a class="el" href="stringutil_8cpp_source.html#l00337">string_format_datetime()</a>, <a class="el" href="stringutil_8cpp_source.html#l00314">string_format_uptime()</a>, <a class="el" href="html_8cpp_source.html#l00054">tcol()</a>, <a class="el" href="html_8cpp_source.html#l00047">trow()</a>, and <a class="el" href="_router_descriptor_8h_source.html#l00057">RouterDescriptor::uptime()</a>.</p>

</div>
</div>
<a class="anchor" id="a43bf58dd45c29e01cbe23b8e36c84545"></a><!-- doxytag: member="RouterDescriptorView::display" ref="a43bf58dd45c29e01cbe23b8e36c84545" args="(RouterDescriptor rd)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void RouterDescriptorView::display </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="class_router_descriptor.html">RouterDescriptor</a>&nbsp;</td>
          <td class="paramname"> <em>rd</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Shows the given router descriptor.</p>
<p>Displays the given router descriptor. </p>

<p>Definition at line <a class="el" href="_router_descriptor_view_8cpp_source.html#l00139">139</a> of file <a class="el" href="_router_descriptor_view_8cpp_source.html">RouterDescriptorView.cpp</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="_router_descriptor_view_8h_source.html">RouterDescriptorView.h</a></li>
<li><a class="el" href="_router_descriptor_view_8cpp_source.html">RouterDescriptorView.cpp</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Mon Aug 30 22:58:57 2010 for Vidalia by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>