<!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: UpdateProgressDialog 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 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 List</span></a></li> <li><a href="classes.html"><span>Class Index</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>UpdateProgressDialog Class Reference</h1><!-- doxytag: class="UpdateProgressDialog" --> <p><code>#include <<a class="el" href="_update_progress_dialog_8h_source.html">UpdateProgressDialog.h</a>></code></p> <p><a href="class_update_progress_dialog-members.html">List of all members.</a></p> <table border="0" cellpadding="0" cellspacing="0"> <tr><td colspan="2"><h2>Public Types</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">enum </td><td class="memItemRight" valign="bottom"><a class="el" href="class_update_progress_dialog.html#ace6055d2fe0986a44150b8be996ea7c0">Status</a> { <a class="el" href="class_update_progress_dialog.html#ace6055d2fe0986a44150b8be996ea7c0a2fcec584472a54aed9260f423b3946f9">CheckingForUpdates</a>, <a class="el" href="class_update_progress_dialog.html#ace6055d2fe0986a44150b8be996ea7c0a3c88296e37dcc55e1a1ff0644ec8ed3c">DownloadingUpdates</a>, <a class="el" href="class_update_progress_dialog.html#ace6055d2fe0986a44150b8be996ea7c0a9f2610f29b13e5c5884bce273c4752e6">InstallingUpdates</a>, <a class="el" href="class_update_progress_dialog.html#ace6055d2fe0986a44150b8be996ea7c0afdd9051b71dff7e79abc8ba530f7b31b">UpdatesInstalled</a> }</td></tr> <tr><td colspan="2"><h2>Public Slots</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_update_progress_dialog.html#a23a3e59ed48880911497d9054fa21de9">setDownloadProgress</a> (const QString &url, int bytesReceived, int bytesTotal)</td></tr> <tr><td colspan="2"><h2>Signals</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_update_progress_dialog.html#a15eefeb57e2a363b354fd0f6c8b4a2f4">cancelUpdate</a> ()</td></tr> <tr><td colspan="2"><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="class_update_progress_dialog.html#a0935a23bb2f41b8cb2169920b0daa9e7">UpdateProgressDialog</a> (QWidget *parent=0)</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_update_progress_dialog.html#a7e54f654588bdb8dc7576f85153a1629">setStatus</a> (<a class="el" href="class_update_progress_dialog.html#ace6055d2fe0986a44150b8be996ea7c0">UpdateProgressDialog::Status</a> status)</td></tr> <tr><td colspan="2"><h2>Private Slots</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_update_progress_dialog.html#a69436d304a113b312849c093874e5dc9">onHide</a> ()</td></tr> <tr><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="class_update_progress_dialog.html#a734cc6b5d135e2d493406d336356cfc6">onCancel</a> ()</td></tr> <tr><td colspan="2"><h2>Private Attributes</h2></td></tr> <tr><td class="memItemLeft" align="right" valign="top">Ui::UpdateProgressDialog </td><td class="memItemRight" valign="bottom"><a class="el" href="class_update_progress_dialog.html#a54ccf4a127b9d4c2311cfab0c6170209">ui</a></td></tr> </table> <hr/><a name="_details"></a><h2>Detailed Description</h2> <p>Definition at line <a class="el" href="_update_progress_dialog_8h_source.html#l00019">19</a> of file <a class="el" href="_update_progress_dialog_8h_source.html">UpdateProgressDialog.h</a>.</p> <hr/><h2>Member Enumeration Documentation</h2> <a class="anchor" id="ace6055d2fe0986a44150b8be996ea7c0"></a><!-- doxytag: member="UpdateProgressDialog::Status" ref="ace6055d2fe0986a44150b8be996ea7c0" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">enum <a class="el" href="class_update_progress_dialog.html#ace6055d2fe0986a44150b8be996ea7c0">UpdateProgressDialog::Status</a></td> </tr> </table> </div> <div class="memdoc"> <dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0"> <tr><td valign="top"><em><a class="anchor" id="ace6055d2fe0986a44150b8be996ea7c0a2fcec584472a54aed9260f423b3946f9"></a><!-- doxytag: member="CheckingForUpdates" ref="ace6055d2fe0986a44150b8be996ea7c0a2fcec584472a54aed9260f423b3946f9" args="" -->CheckingForUpdates</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="ace6055d2fe0986a44150b8be996ea7c0a3c88296e37dcc55e1a1ff0644ec8ed3c"></a><!-- doxytag: member="DownloadingUpdates" ref="ace6055d2fe0986a44150b8be996ea7c0a3c88296e37dcc55e1a1ff0644ec8ed3c" args="" -->DownloadingUpdates</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="ace6055d2fe0986a44150b8be996ea7c0a9f2610f29b13e5c5884bce273c4752e6"></a><!-- doxytag: member="InstallingUpdates" ref="ace6055d2fe0986a44150b8be996ea7c0a9f2610f29b13e5c5884bce273c4752e6" args="" -->InstallingUpdates</em> </td><td> </td></tr> <tr><td valign="top"><em><a class="anchor" id="ace6055d2fe0986a44150b8be996ea7c0afdd9051b71dff7e79abc8ba530f7b31b"></a><!-- doxytag: member="UpdatesInstalled" ref="ace6055d2fe0986a44150b8be996ea7c0afdd9051b71dff7e79abc8ba530f7b31b" args="" -->UpdatesInstalled</em> </td><td> </td></tr> </table> </dd> </dl> <p>Definition at line <a class="el" href="_update_progress_dialog_8h_source.html#l00024">24</a> of file <a class="el" href="_update_progress_dialog_8h_source.html">UpdateProgressDialog.h</a>.</p> </div> </div> <hr/><h2>Constructor & Destructor Documentation</h2> <a class="anchor" id="a0935a23bb2f41b8cb2169920b0daa9e7"></a><!-- doxytag: member="UpdateProgressDialog::UpdateProgressDialog" ref="a0935a23bb2f41b8cb2169920b0daa9e7" args="(QWidget *parent=0)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">UpdateProgressDialog::UpdateProgressDialog </td> <td>(</td> <td class="paramtype">QWidget * </td> <td class="paramname"> <em>parent</em> = <code>0</code></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Default constructor. </p> <p>Definition at line <a class="el" href="_update_progress_dialog_8cpp_source.html#l00014">14</a> of file <a class="el" href="_update_progress_dialog_8cpp_source.html">UpdateProgressDialog.cpp</a>.</p> <p>References <a class="el" href="_update_progress_dialog_8cpp_source.html#l00087">onCancel()</a>, <a class="el" href="_update_progress_dialog_8cpp_source.html#l00081">onHide()</a>, and <a class="el" href="_update_progress_dialog_8h_source.html#l00067">ui</a>.</p> </div> </div> <hr/><h2>Member Function Documentation</h2> <a class="anchor" id="a15eefeb57e2a363b354fd0f6c8b4a2f4"></a><!-- doxytag: member="UpdateProgressDialog::cancelUpdate" ref="a15eefeb57e2a363b354fd0f6c8b4a2f4" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void UpdateProgressDialog::cancelUpdate </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [signal]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Emitted when the user clicks the "Cancel" button indicating they want to terminate the current check for available updates. </p> <p>Referenced by <a class="el" href="_update_progress_dialog_8cpp_source.html#l00087">onCancel()</a>.</p> </div> </div> <a class="anchor" id="a734cc6b5d135e2d493406d336356cfc6"></a><!-- doxytag: member="UpdateProgressDialog::onCancel" ref="a734cc6b5d135e2d493406d336356cfc6" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void UpdateProgressDialog::onCancel </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [private, slot]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Called when the user clicks the "Hide" button. Hides the dialog box. </p> <p>Definition at line <a class="el" href="_update_progress_dialog_8cpp_source.html#l00087">87</a> of file <a class="el" href="_update_progress_dialog_8cpp_source.html">UpdateProgressDialog.cpp</a>.</p> <p>References <a class="el" href="class_update_progress_dialog.html#a15eefeb57e2a363b354fd0f6c8b4a2f4">cancelUpdate()</a>.</p> <p>Referenced by <a class="el" href="_update_progress_dialog_8cpp_source.html#l00014">UpdateProgressDialog()</a>.</p> </div> </div> <a class="anchor" id="a69436d304a113b312849c093874e5dc9"></a><!-- doxytag: member="UpdateProgressDialog::onHide" ref="a69436d304a113b312849c093874e5dc9" args="()" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void UpdateProgressDialog::onHide </td> <td>(</td> <td class="paramname"></td> <td> ) </td> <td><code> [private, slot]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Called when the user clicks the "Cancel" button. Emits the <a class="el" href="class_update_progress_dialog.html#a15eefeb57e2a363b354fd0f6c8b4a2f4">cancelUpdate()</a> signal. </p> <p>Definition at line <a class="el" href="_update_progress_dialog_8cpp_source.html#l00081">81</a> of file <a class="el" href="_update_progress_dialog_8cpp_source.html">UpdateProgressDialog.cpp</a>.</p> <p>Referenced by <a class="el" href="_update_progress_dialog_8cpp_source.html#l00014">UpdateProgressDialog()</a>.</p> </div> </div> <a class="anchor" id="a23a3e59ed48880911497d9054fa21de9"></a><!-- doxytag: member="UpdateProgressDialog::setDownloadProgress" ref="a23a3e59ed48880911497d9054fa21de9" args="(const QString &url, int bytesReceived, int bytesTotal)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void UpdateProgressDialog::setDownloadProgress </td> <td>(</td> <td class="paramtype">const QString & </td> <td class="paramname"> <em>url</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>bytesReceived</em>, </td> </tr> <tr> <td class="paramkey"></td> <td></td> <td class="paramtype">int </td> <td class="paramname"> <em>bytesTotal</em></td><td> </td> </tr> <tr> <td></td> <td>)</td> <td></td><td></td><td><code> [slot]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Called when more bytes of <b>url</b> have been received. <b>bytesReceived</b> indicates how many bytes have been downloaded so far and <b>bytesTotal</b> indicates the total size of the update to be downloaded. </p> <p>Definition at line <a class="el" href="_update_progress_dialog_8cpp_source.html#l00070">70</a> of file <a class="el" href="_update_progress_dialog_8cpp_source.html">UpdateProgressDialog.cpp</a>.</p> <p>References <a class="el" href="_update_progress_dialog_8h_source.html#l00026">DownloadingUpdates</a>, <a class="el" href="_update_progress_dialog_8cpp_source.html#l00026">setStatus()</a>, and <a class="el" href="_update_progress_dialog_8h_source.html#l00067">ui</a>.</p> </div> </div> <a class="anchor" id="a7e54f654588bdb8dc7576f85153a1629"></a><!-- doxytag: member="UpdateProgressDialog::setStatus" ref="a7e54f654588bdb8dc7576f85153a1629" args="(UpdateProgressDialog::Status status)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">void UpdateProgressDialog::setStatus </td> <td>(</td> <td class="paramtype"><a class="el" href="class_update_progress_dialog.html#ace6055d2fe0986a44150b8be996ea7c0">UpdateProgressDialog::Status</a> </td> <td class="paramname"> <em>status</em></td> <td> ) </td> <td></td> </tr> </table> </div> <div class="memdoc"> <p>Updates the dialog's display to reflect the current action indicated by <b>status</b>. </p> <p>Definition at line <a class="el" href="_update_progress_dialog_8cpp_source.html#l00026">26</a> of file <a class="el" href="_update_progress_dialog_8cpp_source.html">UpdateProgressDialog.cpp</a>.</p> <p>References <a class="el" href="_update_progress_dialog_8h_source.html#l00025">CheckingForUpdates</a>, <a class="el" href="_update_progress_dialog_8h_source.html#l00026">DownloadingUpdates</a>, <a class="el" href="_update_progress_dialog_8h_source.html#l00027">InstallingUpdates</a>, <a class="el" href="_update_progress_dialog_8h_source.html#l00067">ui</a>, and <a class="el" href="_update_progress_dialog_8h_source.html#l00028">UpdatesInstalled</a>.</p> <p>Referenced by <a class="el" href="_update_progress_dialog_8cpp_source.html#l00070">setDownloadProgress()</a>.</p> </div> </div> <hr/><h2>Member Data Documentation</h2> <a class="anchor" id="a54ccf4a127b9d4c2311cfab0c6170209"></a><!-- doxytag: member="UpdateProgressDialog::ui" ref="a54ccf4a127b9d4c2311cfab0c6170209" args="" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">Ui::UpdateProgressDialog <a class="el" href="class_update_progress_dialog.html#a54ccf4a127b9d4c2311cfab0c6170209">UpdateProgressDialog::ui</a><code> [private]</code></td> </tr> </table> </div> <div class="memdoc"> <p>Qt Designer generated object. </p> <p>Definition at line <a class="el" href="_update_progress_dialog_8h_source.html#l00067">67</a> of file <a class="el" href="_update_progress_dialog_8h_source.html">UpdateProgressDialog.h</a>.</p> <p>Referenced by <a class="el" href="_update_progress_dialog_8cpp_source.html#l00070">setDownloadProgress()</a>, <a class="el" href="_update_progress_dialog_8cpp_source.html#l00026">setStatus()</a>, and <a class="el" href="_update_progress_dialog_8cpp_source.html#l00014">UpdateProgressDialog()</a>.</p> </div> </div> <hr/>The documentation for this class was generated from the following files:<ul> <li><a class="el" href="_update_progress_dialog_8h_source.html">UpdateProgressDialog.h</a></li> <li><a class="el" href="_update_progress_dialog_8cpp_source.html">UpdateProgressDialog.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 <a href="http://www.doxygen.org/index.html"> <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address> </body> </html>