2589
|
1 |
#ifndef TEAMEDIT_H
|
|
2 |
#define TEAMEDIT_H
|
|
3 |
|
|
4 |
#include <QtGui/QWidget>
|
|
5 |
|
|
6 |
namespace Ui {
|
|
7 |
class TeamEdit;
|
|
8 |
}
|
|
9 |
|
|
10 |
class TeamEdit : public QWidget {
|
|
11 |
Q_OBJECT
|
|
12 |
public:
|
|
13 |
TeamEdit(QWidget *parent = 0);
|
|
14 |
~TeamEdit();
|
|
15 |
|
2594
|
16 |
void addTeam(const QString & teamName = QString(), quint32 color = 0xdd0000);
|
|
17 |
void setFort(const QString & name);
|
|
18 |
void setGrave(const QString & name);
|
|
19 |
void setVoicepack(const QString & name);
|
2589
|
20 |
protected:
|
|
21 |
void changeEvent(QEvent *e);
|
|
22 |
|
|
23 |
private:
|
|
24 |
Ui::TeamEdit *m_ui;
|
|
25 |
};
|
|
26 |
|
|
27 |
#endif // TEAMEDIT_H
|