author | unc0rr |
Sun, 25 Oct 2009 18:16:40 +0000 | |
changeset 2589 | 4329597c85c8 |
child 2594 | 0047e16dbacb |
permissions | -rw-r--r-- |
2589 | 1 |
#include "teamedit.h" |
2 |
#include "ui_teamedit.h" |
|
3 |
||
4 |
TeamEdit::TeamEdit(QWidget *parent) : |
|
5 |
QWidget(parent), |
|
6 |
m_ui(new Ui::TeamEdit) |
|
7 |
{ |
|
8 |
m_ui->setupUi(this); |
|
9 |
} |
|
10 |
||
11 |
TeamEdit::~TeamEdit() |
|
12 |
{ |
|
13 |
delete m_ui; |
|
14 |
} |
|
15 |
||
16 |
void TeamEdit::changeEvent(QEvent *e) |
|
17 |
{ |
|
18 |
QWidget::changeEvent(e); |
|
19 |
switch (e->type()) { |
|
20 |
case QEvent::LanguageChange: |
|
21 |
m_ui->retranslateUi(this); |
|
22 |
break; |
|
23 |
default: |
|
24 |
break; |
|
25 |
} |
|
26 |
} |