Sophie

Sophie

distrib > Mandriva > 2010.2 > i586 > by-pkgid > 9601c7beb4ff23e834bfa171795ed560 > files > 482

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: CrashReportDialog 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>CrashReportDialog Class Reference</h1><!-- doxytag: class="CrashReportDialog" -->
<p><code>#include &lt;<a class="el" href="_crash_report_dialog_8h_source.html">CrashReportDialog.h</a>&gt;</code></p>

<p><a href="class_crash_report_dialog-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">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crash_report_dialog.html#af866c82cd9f0c58b1c61ebae47af4dd1">accept</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crash_report_dialog.html#a29eb3a0077d94675a9c4fc3bca849478">reject</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_crash_report_dialog.html#a3d67299fbdae910617db35ef37d29a2a">CrashReportDialog</a> (QWidget *parent=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crash_report_dialog.html#a06d533cf39f3b2665e4784aa3bca3a17">setCrashAnnotations</a> (const QHash&lt; QString, QString &gt; &amp;annotations)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crash_report_dialog.html#a8ea6147e516b2f7b8581aacb1f0031ed">setMinidump</a> (const QString &amp;id, const QByteArray &amp;minidump)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crash_report_dialog.html#abf04b9d915ec2db9c2e5428ab95040f3">submitCrashReport</a> ()</td></tr>
<tr><td colspan="2"><h2>Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QString&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crash_report_dialog.html#ae74201384edd6a53de9a5fe2790898be">_minidumpId</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QByteArray&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crash_report_dialog.html#a1149ed801ec10e3d2530728b19edd7b5">_minidump</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QHash&lt; QString, QString &gt;&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crash_report_dialog.html#a2b0ed8abb09cca203c9976e6716dc1c5">_annotations</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Ui::CrashReportDialog&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_crash_report_dialog.html#adfa26d7ffa031417c077616219d3ea3f">ui</a></td></tr>
</table>
<hr/><a name="_details"></a><h2>Detailed Description</h2>

<p>Definition at line <a class="el" href="_crash_report_dialog_8h_source.html#l00027">27</a> of file <a class="el" href="_crash_report_dialog_8h_source.html">CrashReportDialog.h</a>.</p>
<hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a3d67299fbdae910617db35ef37d29a2a"></a><!-- doxytag: member="CrashReportDialog::CrashReportDialog" ref="a3d67299fbdae910617db35ef37d29a2a" args="(QWidget *parent=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">CrashReportDialog::CrashReportDialog </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="_crash_report_dialog_8cpp_source.html#l00031">31</a> of file <a class="el" href="_crash_report_dialog_8cpp_source.html">CrashReportDialog.cpp</a>.</p>

<p>References <a class="el" href="_crash_report_dialog_8h_source.html#l00090">ui</a>.</p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="af866c82cd9f0c58b1c61ebae47af4dd1"></a><!-- doxytag: member="CrashReportDialog::accept" ref="af866c82cd9f0c58b1c61ebae47af4dd1" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CrashReportDialog::accept </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Called when the user clicks the "Restart Vidalia" button on the dialog. If the "Submit my crash report..." checkbox is checked, it will first attempt to submit the crash report. After that is complete, it will try to restart the <a class="el" href="class_vidalia.html">Vidalia</a> process with any arguments specified in the crash annotations file. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_crash_report_dialog.html#a06d533cf39f3b2665e4784aa3bca3a17">setCrashAnnotations()</a> </dd></dl>

<p>Definition at line <a class="el" href="_crash_report_dialog_8cpp_source.html#l00097">97</a> of file <a class="el" href="_crash_report_dialog_8cpp_source.html">CrashReportDialog.cpp</a>.</p>

<p>References <a class="el" href="_crash_report_dialog_8h_source.html#l00086">_annotations</a>, <a class="el" href="stringutil_8cpp_source.html#l00231">string_parse_arguments()</a>, <a class="el" href="_crash_report_dialog_8cpp_source.html#l00059">submitCrashReport()</a>, and <a class="el" href="_crash_report_dialog_8h_source.html#l00090">ui</a>.</p>

<p>Referenced by <a class="el" href="_crash_report_dialog_8cpp_source.html#l00059">submitCrashReport()</a>.</p>

</div>
</div>
<a class="anchor" id="a29eb3a0077d94675a9c4fc3bca849478"></a><!-- doxytag: member="CrashReportDialog::reject" ref="a29eb3a0077d94675a9c4fc3bca849478" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CrashReportDialog::reject </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td><code> [virtual, slot]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Called when the user clicks the "Don't Restart" button on the dialog. If the "Submit my crash report.." checkbox is checked, it will attempt to submit the crash report and then exit without restarting <a class="el" href="class_vidalia.html">Vidalia</a>. </p>

<p>Definition at line <a class="el" href="_crash_report_dialog_8cpp_source.html#l00120">120</a> of file <a class="el" href="_crash_report_dialog_8cpp_source.html">CrashReportDialog.cpp</a>.</p>

<p>References <a class="el" href="_crash_report_dialog_8cpp_source.html#l00059">submitCrashReport()</a>, and <a class="el" href="_crash_report_dialog_8h_source.html#l00090">ui</a>.</p>

</div>
</div>
<a class="anchor" id="a06d533cf39f3b2665e4784aa3bca3a17"></a><!-- doxytag: member="CrashReportDialog::setCrashAnnotations" ref="a06d533cf39f3b2665e4784aa3bca3a17" args="(const QHash&lt; QString, QString &gt; &amp;annotations)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CrashReportDialog::setCrashAnnotations </td>
          <td>(</td>
          <td class="paramtype">const QHash&lt; QString, QString &gt; &amp;&nbsp;</td>
          <td class="paramname"> <em>annotations</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sets the crash <b>annotations</b> key-value pairs associated with the generated minidump. </p>

<p>Definition at line <a class="el" href="_crash_report_dialog_8cpp_source.html#l00046">46</a> of file <a class="el" href="_crash_report_dialog_8cpp_source.html">CrashReportDialog.cpp</a>.</p>

<p>References <a class="el" href="_crash_report_dialog_8h_source.html#l00086">_annotations</a>.</p>

<p>Referenced by <a class="el" href="crashreporter_2main_8cpp_source.html#l00091">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a8ea6147e516b2f7b8581aacb1f0031ed"></a><!-- doxytag: member="CrashReportDialog::setMinidump" ref="a8ea6147e516b2f7b8581aacb1f0031ed" args="(const QString &amp;id, const QByteArray &amp;minidump)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CrashReportDialog::setMinidump </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&nbsp;</td>
          <td class="paramname"> <em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QByteArray &amp;&nbsp;</td>
          <td class="paramname"> <em>minidump</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Sets the <b>minidump</b> contents generated by the crashed applications exception handler. </p>

<p>Definition at line <a class="el" href="_crash_report_dialog_8cpp_source.html#l00052">52</a> of file <a class="el" href="_crash_report_dialog_8cpp_source.html">CrashReportDialog.cpp</a>.</p>

<p>References <a class="el" href="_crash_report_dialog_8h_source.html#l00081">_minidump</a>, and <a class="el" href="_crash_report_dialog_8h_source.html#l00077">_minidumpId</a>.</p>

<p>Referenced by <a class="el" href="crashreporter_2main_8cpp_source.html#l00091">main()</a>.</p>

</div>
</div>
<a class="anchor" id="abf04b9d915ec2db9c2e5428ab95040f3"></a><!-- doxytag: member="CrashReportDialog::submitCrashReport" ref="abf04b9d915ec2db9c2e5428ab95040f3" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void CrashReportDialog::submitCrashReport </td>
          <td>(</td>
          <td class="paramname"></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Uploads the generated minidump, user comments, and any additional crash annotations generated by the exception handler to the crash reporting server. </p>
<dl class="see"><dt><b>See also:</b></dt><dd><a class="el" href="class_crash_report_dialog.html#a8ea6147e516b2f7b8581aacb1f0031ed">setMinidump()</a> </dd>
<dd>
<a class="el" href="class_crash_report_dialog.html#a06d533cf39f3b2665e4784aa3bca3a17">setCrashAnnotations()</a> </dd></dl>

<p>Definition at line <a class="el" href="_crash_report_dialog_8cpp_source.html#l00059">59</a> of file <a class="el" href="_crash_report_dialog_8cpp_source.html">CrashReportDialog.cpp</a>.</p>

<p>References <a class="el" href="_crash_report_dialog_8h_source.html#l00086">_annotations</a>, <a class="el" href="_crash_report_dialog_8h_source.html#l00081">_minidump</a>, <a class="el" href="_crash_report_dialog_8h_source.html#l00077">_minidumpId</a>, <a class="el" href="_crash_report_dialog_8cpp_source.html#l00097">accept()</a>, <a class="el" href="_crash_report_uploader_8cpp_source.html#l00109">CrashReportUploader::cancel()</a>, <a class="el" href="_crash_report_dialog_8h_source.html#l00090">ui</a>, and <a class="el" href="_crash_report_uploader_8cpp_source.html#l00052">CrashReportUploader::uploadMinidump()</a>.</p>

<p>Referenced by <a class="el" href="_crash_report_dialog_8cpp_source.html#l00097">accept()</a>, and <a class="el" href="_crash_report_dialog_8cpp_source.html#l00120">reject()</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a2b0ed8abb09cca203c9976e6716dc1c5"></a><!-- doxytag: member="CrashReportDialog::_annotations" ref="a2b0ed8abb09cca203c9976e6716dc1c5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QHash&lt;QString,QString&gt; <a class="el" href="class_crash_report_dialog.html#a2b0ed8abb09cca203c9976e6716dc1c5">CrashReportDialog::_annotations</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Set of parsed key-value pairs generated by the crashed application's exception handler and written alongside the minidump. </p>

<p>Definition at line <a class="el" href="_crash_report_dialog_8h_source.html#l00086">86</a> of file <a class="el" href="_crash_report_dialog_8h_source.html">CrashReportDialog.h</a>.</p>

<p>Referenced by <a class="el" href="_crash_report_dialog_8cpp_source.html#l00097">accept()</a>, <a class="el" href="_crash_report_dialog_8cpp_source.html#l00046">setCrashAnnotations()</a>, and <a class="el" href="_crash_report_dialog_8cpp_source.html#l00059">submitCrashReport()</a>.</p>

</div>
</div>
<a class="anchor" id="a1149ed801ec10e3d2530728b19edd7b5"></a><!-- doxytag: member="CrashReportDialog::_minidump" ref="a1149ed801ec10e3d2530728b19edd7b5" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QByteArray <a class="el" href="class_crash_report_dialog.html#a1149ed801ec10e3d2530728b19edd7b5">CrashReportDialog::_minidump</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Contents of the generated minidump. </p>

<p>Definition at line <a class="el" href="_crash_report_dialog_8h_source.html#l00081">81</a> of file <a class="el" href="_crash_report_dialog_8h_source.html">CrashReportDialog.h</a>.</p>

<p>Referenced by <a class="el" href="_crash_report_dialog_8cpp_source.html#l00052">setMinidump()</a>, and <a class="el" href="_crash_report_dialog_8cpp_source.html#l00059">submitCrashReport()</a>.</p>

</div>
</div>
<a class="anchor" id="ae74201384edd6a53de9a5fe2790898be"></a><!-- doxytag: member="CrashReportDialog::_minidumpId" ref="ae74201384edd6a53de9a5fe2790898be" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString <a class="el" href="class_crash_report_dialog.html#ae74201384edd6a53de9a5fe2790898be">CrashReportDialog::_minidumpId</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Each minidump is given a randomly-generated GUID when it is created, which is used to form the minidump filename. This ID is also used by the crash reporting server when accepting and processing uploaded minidumps. </p>

<p>Definition at line <a class="el" href="_crash_report_dialog_8h_source.html#l00077">77</a> of file <a class="el" href="_crash_report_dialog_8h_source.html">CrashReportDialog.h</a>.</p>

<p>Referenced by <a class="el" href="_crash_report_dialog_8cpp_source.html#l00052">setMinidump()</a>, and <a class="el" href="_crash_report_dialog_8cpp_source.html#l00059">submitCrashReport()</a>.</p>

</div>
</div>
<a class="anchor" id="adfa26d7ffa031417c077616219d3ea3f"></a><!-- doxytag: member="CrashReportDialog::ui" ref="adfa26d7ffa031417c077616219d3ea3f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Ui::CrashReportDialog <a class="el" href="class_crash_report_dialog.html#adfa26d7ffa031417c077616219d3ea3f">CrashReportDialog::ui</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Qt Designer created object. </p>

<p>Definition at line <a class="el" href="_crash_report_dialog_8h_source.html#l00090">90</a> of file <a class="el" href="_crash_report_dialog_8h_source.html">CrashReportDialog.h</a>.</p>

<p>Referenced by <a class="el" href="_crash_report_dialog_8cpp_source.html#l00097">accept()</a>, <a class="el" href="_crash_report_dialog_8cpp_source.html#l00031">CrashReportDialog()</a>, <a class="el" href="_crash_report_dialog_8cpp_source.html#l00120">reject()</a>, and <a class="el" href="_crash_report_dialog_8cpp_source.html#l00059">submitCrashReport()</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="_crash_report_dialog_8h_source.html">CrashReportDialog.h</a></li>
<li><a class="el" href="_crash_report_dialog_8cpp_source.html">CrashReportDialog.cpp</a></li>
</ul>
</div>
<hr class="footer"/><address style="text-align: right;"><small>Generated on Mon Aug 30 22:58:56 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>