Vidalia 0.2.15
Public Slots | Public Member Functions | Private Attributes
CrashReportDialog Class Reference

#include <CrashReportDialog.h>

List of all members.

Public Slots

virtual void accept ()

Public Member Functions

 CrashReportDialog (QWidget *parent=0)
void setCrashAnnotations (const QHash< QString, QString > &annotations)
void setMinidumpFiles (const QString &minidump, const QString &annotations)

Private Attributes

QString _minidumpPath
QString _annotationsPath
QHash< QString, QString > _annotations
Ui::CrashReportDialog ui

Detailed Description

Definition at line 26 of file CrashReportDialog.h.


Constructor & Destructor Documentation

CrashReportDialog::CrashReportDialog ( QWidget *  parent = 0)

Default constructor.

Definition at line 28 of file CrashReportDialog.cpp.

References ui.


Member Function Documentation

void CrashReportDialog::accept ( ) [virtual, slot]

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 Vidalia process with any arguments specified in the crash annotations file.

See also:
setCrashAnnotations()

Definition at line 58 of file CrashReportDialog.cpp.

References _annotations, and string_parse_arguments().

void CrashReportDialog::setCrashAnnotations ( const QHash< QString, QString > &  annotations)

Sets the crash annotations key-value pairs associated with the generated minidump.

Definition at line 43 of file CrashReportDialog.cpp.

References _annotations.

Referenced by main().

void CrashReportDialog::setMinidumpFiles ( const QString &  minidump,
const QString &  annotations 
)

Sets the minidump contents generated by the crashed applications exception handler.

Definition at line 49 of file CrashReportDialog.cpp.

References _annotationsPath, _minidumpPath, and ui.

Referenced by main().


Member Data Documentation

QHash<QString,QString> CrashReportDialog::_annotations [private]

Set of parsed key-value pairs generated by the crashed application's exception handler and written alongside the minidump.

Definition at line 67 of file CrashReportDialog.h.

Referenced by accept(), and setCrashAnnotations().

Minidump info path

Definition at line 62 of file CrashReportDialog.h.

Referenced by setMinidumpFiles().

Minidump path

Definition at line 58 of file CrashReportDialog.h.

Referenced by setMinidumpFiles().

Ui::CrashReportDialog CrashReportDialog::ui [private]

Qt Designer created object.

Definition at line 71 of file CrashReportDialog.h.

Referenced by CrashReportDialog(), and setMinidumpFiles().


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