Vidalia 0.2.12
Public Slots | Public Member Functions | Protected Member Functions | Private Attributes

UploadProgressDialog Class Reference

#include <UploadProgressDialog.h>

List of all members.

Public Slots

void setStatus (const QString &status)
void setUploadProgress (int value, int maximum)
void uploadFailed (const QString &error)

Public Member Functions

 UploadProgressDialog (QWidget *parent=0)

Protected Member Functions

virtual void setVisible (bool visible)

Private Attributes

Ui::UploadProgressDialog ui

Detailed Description

Definition at line 22 of file UploadProgressDialog.h.


Constructor & Destructor Documentation

UploadProgressDialog::UploadProgressDialog ( QWidget *  parent = 0)

Default constructor.

Definition at line 19 of file UploadProgressDialog.cpp.

References ui.


Member Function Documentation

void UploadProgressDialog::setStatus ( const QString &  status) [slot]

Sets the status message text in the dialog to status.

Definition at line 38 of file UploadProgressDialog.cpp.

References ui.

void UploadProgressDialog::setUploadProgress ( int  value,
int  maximum 
) [slot]

Updates the minidump upload progress bar to value out of maximum steps. If value and maximum are both 0, then a "busy" progress bar is displayed.

Definition at line 44 of file UploadProgressDialog.cpp.

References ui.

void UploadProgressDialog::setVisible ( bool  visible) [protected, virtual]

Overloaded method called when the progress dialog is first shown in order to initialize the progress bar, status text and dialog button box.

Definition at line 28 of file UploadProgressDialog.cpp.

References ui.

void UploadProgressDialog::uploadFailed ( const QString &  error) [slot]

Called when the minidump upload fails. The string error provides a human-readable description of the reason the upload failed, which is displayed for the user.

Definition at line 51 of file UploadProgressDialog.cpp.

References ui.


Member Data Documentation

Ui::UploadProgressDialog UploadProgressDialog::ui [private]

Qt Designer generated object.

Definition at line 58 of file UploadProgressDialog.h.

Referenced by setStatus(), setUploadProgress(), setVisible(), uploadFailed(), and UploadProgressDialog().


The documentation for this class was generated from the following files: