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);
38 void sendregistration();
39 void userNameChanged();
42 void changeEvent(QEvent *e);
45 Ui::SettingsDialog *ui;
46 InstructionsDialog *instructionsDialog;
54 void on_setUserPushButton_clicked();
55 void on_registratePushButton_clicked();
56 void on_pushButtonHelp_clicked();
59 #endif // SETTINGSDIALOG_H