Connecting client-server communication to new GUI.
[speedfreak] / Client / instructionsdialog.cpp
1 #include "instructionsdialog.h"
2 #include "ui_instructionsdialog.h"
3
4 InstructionsDialog::InstructionsDialog(QWidget *parent) :
5     QDialog(parent),
6     ui(new Ui::InstructionsDialog)
7 {
8     ui->setupUi(this);
9     this->setWindowTitle("Help");
10 }
11
12 InstructionsDialog::~InstructionsDialog()
13 {
14     delete ui;
15 }
16
17 void InstructionsDialog::changeEvent(QEvent *e)
18 {
19     QDialog::changeEvent(e);
20     switch (e->type()) {
21     case QEvent::LanguageChange:
22         ui->retranslateUi(this);
23         break;
24     default:
25         break;
26     }
27 }