Added implementation to handleCheckPoint slot function in carmainwindow.cpp. Now...
[speedfreak] / Client / registration.h
1 /*
2  * Registration class
3  *
4  * @author     Olavi Pulkkinen <olavi.pulkkinen@fudeco.com>
5  * @copyright  (c) 2010 Speed Freak team
6  * @license    http://opensource.org/licenses/gpl-license.php GNU Public License
7  */
8
9 #ifndef REGISTRATION_H
10 #define REGISTRATION_H
11
12 #include <QDialog>
13
14 namespace Ui {
15     class Registration;
16 }
17
18 class Registration : public QDialog {
19     Q_OBJECT
20 public:
21     Registration(QWidget *parent = 0);
22     ~Registration();
23     void setUserName(QString username);
24     void setPassword(QString password);
25     void setEmail(QString email);
26     QString getUserName();
27     QString getPassword();
28     QString getEmail();
29
30 signals:
31     void sendregistration();
32
33 protected:
34     void changeEvent(QEvent *e);
35
36 private:
37     Ui::Registration *ui;
38     QString username;
39     QString password;
40     QString email;
41
42 private slots:
43     void on_cancelPushButton_clicked();
44     void on_registratePushButton_clicked();
45 };
46
47 #endif // REGISTRATION_H
48