Invisible registerdialog picture.
[speedfreak] / Client / instructionsdialog.cpp
1 /*
2  * Instructions dialog for speedFreak project
3  *
4  * @author      Rikhard Kuutti  <rikhard.kuutti@fudeco.com>
5  * @author      Toni Jussila    <toni.jussila@fudeco.com>
6  * @copyright   (c) 2010 Speed Freak team
7  * @license     http://opensource.org/licenses/gpl-license.php GNU Public License
8  */
9
10 #include "instructionsdialog.h"
11 #include "ui_instructionsdialog.h"
12
13 /**
14   * Default constructor of this class.
15   */
16 InstructionsDialog::InstructionsDialog(QWidget *parent) :
17     QDialog(parent),
18     ui(new Ui::InstructionsDialog)
19 {
20     ui->setupUi(this);
21     this->setWindowTitle("Help");
22 }
23
24 /**
25   * Default destructor of this class.
26   */
27 InstructionsDialog::~InstructionsDialog()
28 {
29     delete ui;
30 }
31
32 /**
33   *
34   */
35 void InstructionsDialog::changeEvent(QEvent *e)
36 {
37     QDialog::changeEvent(e);
38     switch (e->type()) {
39     case QEvent::LanguageChange:
40         ui->retranslateUi(this);
41         break;
42     default:
43         break;
44     }
45 }