summaryrefslogtreecommitdiffstats
path: root/src/gui/getprofilenameform.h
blob: be493683672f662a74e09337cc688893ab99053a (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, const char* name = 0, bool modal = false, Qt::WindowFlags fl = 0);
    ~GetProfileNameForm();

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

public slots:
    void validate();

private:
    void init();
};

#endif // GETPROFILENAMEFORM_H