33 lines
560 B
C
33 lines
560 B
C
|
|
#ifndef PROFILEDIALOG_H
|
||
|
|
#define PROFILEDIALOG_H
|
||
|
|
|
||
|
|
#include <QDialog>
|
||
|
|
|
||
|
|
namespace Ui {
|
||
|
|
class ProfileDialog;
|
||
|
|
}
|
||
|
|
|
||
|
|
class ProfileDialog : public QDialog
|
||
|
|
{
|
||
|
|
Q_OBJECT
|
||
|
|
|
||
|
|
public:
|
||
|
|
explicit ProfileDialog(QWidget *parent = nullptr);
|
||
|
|
~ProfileDialog();
|
||
|
|
|
||
|
|
QString profileName() const;
|
||
|
|
QString javaPath() const;
|
||
|
|
// === НОВЫЕ ФУНКЦИИ ===
|
||
|
|
void setProfileName(const QString &name);
|
||
|
|
void setJavaPath(const QString &path);
|
||
|
|
|
||
|
|
|
||
|
|
private slots:
|
||
|
|
void on_browseButton_clicked();
|
||
|
|
|
||
|
|
private:
|
||
|
|
Ui::ProfileDialog *ui;
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif // PROFILEDIALOG_H
|