#ifndef RENAMEDIALOG_H #define RENAMEDIALOG_H #include #include 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; }; #endif // RENAMEDIALOG_H