Engauge Digitizer  2
DlgErrorReportAbstractBase.h
1 /******************************************************************************************************
2  * (C) 2016 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3  * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4  * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5  ******************************************************************************************************/
6 
7 #ifndef DLG_ERROR_REPORT_ABSTRACT_BASE_H
8 #define DLG_ERROR_REPORT_ABSTRACT_BASE_H
9 
10 #include <QDialog>
11 
13 class DlgErrorReportAbstractBase : public QDialog
14 {
15  public:
17  DlgErrorReportAbstractBase (QWidget *parent = 0);
19 
20  protected:
22  QString errorFile () const;
23 
25  void saveFile (const QString &xml) const;
26 
27  private:
28 
29 };
30 
31 #endif // DLG_ERROR_REPORT_ABSTRACT_BASE_H
QString errorFile() const
File name for output file containing error report.
void saveFile(const QString &xml) const
Save xml into output file named by errorFile.
DlgErrorReportAbstractBase(QWidget *parent=0)
Single constructor.
Base class for dialogs that handle the error report.