mirror of
https://github.com/rizinorg/cutter.git
synced 2024-12-25 22:35:26 +00:00
bebc2ec36d
* Replace 0 and Q_NULLPTR with nullptr * Use c++11 foreach
32 lines
489 B
C++
32 lines
489 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 = nullptr);
|
|
~RenameDialog();
|
|
|
|
void setName(QString fcnName);
|
|
QString getName() const;
|
|
|
|
private slots:
|
|
void on_buttonBox_accepted();
|
|
|
|
void on_buttonBox_rejected();
|
|
|
|
private:
|
|
std::unique_ptr<Ui::RenameDialog> ui;
|
|
};
|
|
|
|
#endif // RENAMEDIALOG_H
|