X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=Client%2Fregistration.h;h=60906a9c1f0bd6598dcddaa14642edceb4aaee5b;hb=5845b8f91e10a07f68ac3327f8dfa79f2e4da47b;hp=6a7df95ef3611817078e1aff0cf36108d8250e0c;hpb=11c8b2365e086d4df216a12e3ef2f17c55ec478e;p=speedfreak diff --git a/Client/registration.h b/Client/registration.h index 6a7df95..60906a9 100644 --- a/Client/registration.h +++ b/Client/registration.h @@ -1,3 +1,11 @@ +/* + * Registration class + * + * @author Olavi Pulkkinen + * @copyright (c) 2010 Speed Freak team + * @license http://opensource.org/licenses/gpl-license.php GNU Public License + */ + #ifndef REGISTRATION_H #define REGISTRATION_H @@ -12,12 +20,24 @@ class Registration : public QDialog { public: Registration(QWidget *parent = 0); ~Registration(); + void setUserName(QString username); + void setPassword(QString password); + void setEmail(QString email); + QString getUserName(); + QString getPassword(); + QString getEmail(); + +signals: + void sendregistration(); protected: void changeEvent(QEvent *e); private: Ui::Registration *ui; + QString username; + QString password; + QString email; private slots: void on_cancelPushButton_clicked();