tools/MissionsEditor/teamedit.cpp
changeset 2589 4329597c85c8
child 2594 0047e16dbacb
equal deleted inserted replaced
2588:da9e986713d4 2589:4329597c85c8
       
     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 }