05b31d3f0405683b2bfe7565fa4856fd257ce08c
[speedfreak] / Client / registration.h
1 #ifndef REGISTRATION_H
2 #define REGISTRATION_H
3
4 #include <QDialog>
5
6 namespace Ui {
7     class Registration;
8 }
9
10 class Registration : public QDialog {
11     Q_OBJECT
12 public:
13     Registration(QWidget *parent = 0);
14     ~Registration();
15     void setUserName(QString username);
16     void setPassword(QString password);
17     void setEmail(QString email);
18     QString getUserName();
19     QString getPassword();
20     QString getEmail();
21
22 signals:
23     void sendregistration();
24
25 protected:
26     void changeEvent(QEvent *e);
27
28 private:
29     Ui::Registration *ui;
30     QString username;
31     QString password;
32     QString email;
33
34 private slots:
35     void on_cancelPushButton_clicked();
36     void on_registratePushButton_clicked();
37 };
38
39 #endif // REGISTRATION_H
40