summaryrefslogtreecommitdiffstats
path: root/src/gui/getprofilenameform.h
blob: cfa41321f7fc89c48e0164d3f084f004e9c79fc3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#ifndef GETPROFILENAMEFORM_H
#define GETPROFILENAMEFORM_H

#include <QDialog>
#include "ui_getprofilenameform.h"

class GetProfileNameForm : public QDialog, private Ui::GetProfileNameForm
{
    Q_OBJECT

public:
    GetProfileNameForm(QWidget* parent = 0);
    ~GetProfileNameForm();

    QString getProfileName();
    int execNewName();
    int execRename( const QString & oldName );

public slots:
    void validate();

private:
    void init();
};

#endif // GETPROFILENAMEFORM_H