tools/MissionsEditor/teamedit.cpp
changeset 2589 4329597c85c8
child 2594 0047e16dbacb
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tools/MissionsEditor/teamedit.cpp	Sun Oct 25 18:16:40 2009 +0000
@@ -0,0 +1,26 @@
+#include "teamedit.h"
+#include "ui_teamedit.h"
+
+TeamEdit::TeamEdit(QWidget *parent) :
+    QWidget(parent),
+    m_ui(new Ui::TeamEdit)
+{
+    m_ui->setupUi(this);
+}
+
+TeamEdit::~TeamEdit()
+{
+    delete m_ui;
+}
+
+void TeamEdit::changeEvent(QEvent *e)
+{
+    QWidget::changeEvent(e);
+    switch (e->type()) {
+    case QEvent::LanguageChange:
+        m_ui->retranslateUi(this);
+        break;
+    default:
+        break;
+    }
+}