Settings dialog changed. Log in/Log out functionality improved.
[speedfreak] / Client / instructionsdialog.cpp
1 /*
2  * Instructions dialog for speedFreak project
3  *
4  * @author      Rikhard Kuutti  <rikhard.kuutti@fudeco.com>
5  * @copyright   (c) 2010 Speed Freak team
6  * @license     http://opensource.org/licenses/gpl-license.php GNU Public License
7  */
8
9 #include "instructionsdialog.h"
10 #include "ui_instructionsdialog.h"
11
12 InstructionsDialog::InstructionsDialog(QWidget *parent) :
13     QDialog(parent),
14     ui(new Ui::InstructionsDialog)
15 {
16     ui->setupUi(this);
17     this->setWindowTitle("Help");
18 }
19
20 InstructionsDialog::~InstructionsDialog()
21 {
22     delete ui;
23 }
24
25 void InstructionsDialog::changeEvent(QEvent *e)
26 {
27     QDialog::changeEvent(e);
28     switch (e->type()) {
29     case QEvent::LanguageChange:
30         ui->retranslateUi(this);
31         break;
32     default:
33         break;
34     }
35 }