X-Git-Url: http://git.maemo.org/git/?p=speedfreak;a=blobdiff_plain;f=Client%2Floginwindow.cpp;h=330b782472bd72e1a314526ab084c4e70041db1a;hp=e8b816b341d40a075884d68fcda0415d87be7ebc;hb=f73389530ce2e0cd73cf6dda7b09a5ba86e60f13;hpb=dfe2f2c613dc28d33985c0658e0499cddb166f4c diff --git a/Client/loginwindow.cpp b/Client/loginwindow.cpp index e8b816b..330b782 100644 --- a/Client/loginwindow.cpp +++ b/Client/loginwindow.cpp @@ -1,13 +1,21 @@ +/* + * Loginwindow class to maintain username for user + * + * @author Olavi Pulkkinen + * @author + * @copyright (c) 2010 Speed Freak team + * @license http://opensource.org/licenses/gpl-license.php GNU Public License + */ + #include "loginwindow.h" #include "ui_loginwindow.h" -#include LoginWindow::LoginWindow(QWidget *parent) : QDialog(parent), ui(new Ui::LoginWindow) { ui->setupUi(this); - this->setWindowTitle("Login to Speed Freak server"); + this->setWindowTitle("Setting username"); } LoginWindow::~LoginWindow() @@ -38,6 +46,8 @@ void LoginWindow::on_loginPushButton_clicked() { this->username = ui->userNameLineEdit->text(); this->password = ui->passwordLineEdit->text(); + + emit userNameChanged(); close(); }