Subversion Repositories svn1

Rev

Rev 377 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
302 david 1
#ifndef QMDIALOGCHANGETEAMNUMBER_H
2
#define QMDIALOGCHANGETEAMNUMBER_H
3
 
4
#include <QDialog>
303 david 5
#include    "consts.h"
6
#include    "structs.h"
7
#include    "proto.h"
302 david 8
 
9
namespace Ui {
10
    class QmDialogChangeTeamNumber;
11
}
12
 
13
class QmDialogChangeTeamNumber : public QDialog
14
{
15
    Q_OBJECT
16
 
17
public:
18
    explicit QmDialogChangeTeamNumber(const QString &title, QWidget *parent = 0);
19
    ~QmDialogChangeTeamNumber();
20
 
21
private:
22
    Ui::QmDialogChangeTeamNumber *ui;
23
 
303 david 24
    team_type team_buf_source;
25
    int       sourceTeam;
26
 
27
    team_type team_buf_target;
28
    int       targetTeam;
29
 
302 david 30
public slots:
31
    void accept ();
303 david 32
    void updateSourceName(int);
33
    void updateTargetName(int);
304 david 34
    bool checkValidOpr(int);
302 david 35
};
36
 
37
#endif // QMDIALOGCHANGETEAMNUMBER_H