Subversion Repositories OpenInventory

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
30 pingvin 1
#include "settingsdialog.h"
2
#include "ui_settingsdialog.h"
3
 
4
SettingsDialog::SettingsDialog(QWidget *parent) :
5
    QDialog(parent),
6
    ui(new Ui::SettingsDialog)
7
{
8
    ui->setupUi(this);
9
}
10
 
11
SettingsDialog::~SettingsDialog()
12
{
13
    delete ui;
14
}
15
 
16
void SettingsDialog::changeEvent(QEvent *e)
17
{
18
    QDialog::changeEvent(e);
19
    switch (e->type()) {
20
    case QEvent::LanguageChange:
21
        ui->retranslateUi(this);
22
        break;
23
    default:
24
        break;
25
    }
26
}