00001 #ifndef BUGREPORTDIALOG_H
00002 #define BUGREPORTDIALOG_H
00003
00004 #include <QDialog>
00005 #include "ui_BugReportDialog.h"
00006 #include "../Mail/mailerthread.h"
00007 class Settings;
00008
00009 class BugReportDialog : public QDialog, private Ui::BugReportDialog
00010 {
00011 Q_OBJECT
00012
00013 public:
00014 BugReportDialog(Settings &settings, MailerThread *m, QWidget *parent);
00015
00016 private:
00017 Settings *settings;
00018 MailerThread *mailerThread;
00019 void createActions();
00020
00021 private slots:
00022 void chooseAttachment();
00023 void sendMail();
00024 };
00025
00026 #endif // BUGREPORTDIALOG_H