cutter/src/dialogs/RenameDialog.h
2017-10-02 11:41:28 +02:00

33 lines
503 B
C++

#ifndef RENAMEDIALOG_H
#define RENAMEDIALOG_H
#include <QDialog>
#include <memory>
namespace Ui
{
class RenameDialog;
}
class RenameDialog : public QDialog
{
Q_OBJECT
public:
explicit RenameDialog(QWidget *parent = 0);
~RenameDialog();
void setFunctionName(QString fcnName);
QString getFunctionName() const;
private slots:
void on_buttonBox_accepted();
void on_buttonBox_rejected();
private:
std::unique_ptr<Ui::RenameDialog> ui;
};
#endif // RENAMEDIALOG_H