summaryrefslogtreecommitdiffstats
path: root/configurationdialog.h
blob: 9a8bad8bd35fa3da4077f74b3bc2afb5239cd32e (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
#ifndef CONFIGURATIONDIALOG_H
#define CONFIGURATIONDIALOG_H

#include <QDialog>

class QLineEdit;
class QPushButton;

class ConfigurationDialog : public QDialog {
    Q_OBJECT
    public:
        explicit ConfigurationDialog(QWidget *parent = 0, Qt::WindowFlags f = 0);

    public slots:
        virtual void accept();

    private:
        void readSettings();
        QLineEdit *mDbHost;
        QLineEdit *mDbUser;
        QLineEdit *mDbPass;
        QLineEdit *mDbName;
};

#endif // CONFIGURATIONDIALOG_H