helpForUsers files added.
[speedfreak] / Client / creditsdialog.cpp
1 /*
2  * Credits Dialog
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 "creditsdialog.h"
11 #include "ui_creditsdialog.h"
12 #include <QDesktopServices>
13 #include <QUrl>
14
15 /**
16   * Constructor of this class.
17   */
18 CreditsDialog::CreditsDialog(QWidget *parent) :
19     QDialog(parent),
20     ui(new Ui::CreditsDialog)
21 {
22     ui->setupUi(this);
23     this->setWindowTitle("Credits");
24 }
25
26 /**
27   * Destructor of this class. Should be used to release all allocated resources.
28   */
29 CreditsDialog::~CreditsDialog()
30 {
31     delete ui;
32 }
33
34 /**
35   *
36   */
37 void CreditsDialog::changeEvent(QEvent *e)
38 {
39     QDialog::changeEvent(e);
40     switch (e->type()) {
41     case QEvent::LanguageChange:
42         ui->retranslateUi(this);
43         break;
44     default:
45         break;
46     }
47 }