Vidalia
0.2.17
|
#include "CrashReportDialog.h"
#include <QApplication>
#include <QFileInfo>
#include <QMessageBox>
#include <QTextStream>
#include <QTextCodec>
Go to the source code of this file.
Functions | |
QHash< QString, QString > | read_annotations_file (const QString &fileName, QString &errorMessage) |
int | main (int argc, char *argv[]) |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 62 of file crashreporter/main.cpp.
References err(), read_annotations_file(), CrashReportDialog::setCrashAnnotations(), and CrashReportDialog::setMinidumpFiles().
QHash<QString,QString> read_annotations_file | ( | const QString & | fileName, |
QString & | errorMessage | ||
) |
Read the crash dump annotations file given by fileName and parse each line into a Key=Value pair. Returns a QHash containing the keys mapped to their values on success. If a file or parse error occurs, this returns a default-constructed QHash and sets errorMessage to a string describing the error encountered.
Definition at line 32 of file crashreporter/main.cpp.
Referenced by main().