Updated Set user & Registration
[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 protected:
23     void changeEvent(QEvent *e);
24
25 private:
26     Ui::Registration *ui;
27     QString username;
28     QString password;
29     QString email;
30
31 private slots:
32     void on_cancelPushButton_clicked();
33     void on_registratePushButton_clicked();
34 };
35
36 #endif // REGISTRATION_H
37