cutter/src/dialogs/FlagDialog.h
Paul I bebc2ec36d More c++11 (#478)
* Replace 0 and Q_NULLPTR with nullptr
* Use c++11 foreach
2018-05-04 09:58:32 +02:00

32 lines
502 B
C++

#ifndef FLAGDIALOG_H
#define FLAGDIALOG_H
#include <QDialog>
#include <QIntValidator>
#include <memory>
#include "Cutter.h"
namespace Ui {
class FlagDialog;
}
class FlagDialog : public QDialog
{
Q_OBJECT
public:
explicit FlagDialog(RVA offset, QWidget *parent = nullptr);
~FlagDialog();
private slots:
void on_buttonBox_accepted();
void on_buttonBox_rejected();
private:
std::unique_ptr<Ui::FlagDialog> ui;
RVA offset;
CutterCore *core;
};
#endif // FLAGDIALOG_H