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
9 #ifndef SETTINGSDIALOG_H
10 #define SETTINGSDIALOG_H
14 #include "instructionsdialog.h"
20 class SettingsDialog : public QDialog {
23 SettingsDialog(QWidget *parent = 0);
25 void setRegUserName(QString username);
26 void setRegPassword(QString password);
27 void setRegEmail(QString email);
28 QString getRegUserName();
29 QString getRegPassword();
30 QString getRegEmail();
31 void setUserName(QString username);
32 void setPassword(QString password);
33 QString getUserName();
34 QString getPassword();
35 void setLabelInfoToUser(QString infoText);
36 void usernameOk(bool isOk);
39 void sendregistration();
40 void userNameChanged();
44 void changeEvent(QEvent *e);
47 Ui::SettingsDialog *ui;
55 void on_setUserPushButton_clicked();
56 void on_registratePushButton_clicked();
59 #endif // SETTINGSDIALOG_H