Subversion Repositories svn1-original

Rev

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

Rev Author Line No. Line
306 david 1
#ifndef QMDIALOGCHANGETEAMNUMBER_H
2
#define QMDIALOGCHANGETEAMNUMBER_H
3
 
4
#include <QDialog>
307 david 5
#include    "consts.h"
6
#include    "structs.h"
7
#include    "proto.h"
306 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
 
307 david 24
    team_type team_buf_source;
25
    int       sourceTeam;
26
 
27
    team_type team_buf_target;
28
    int       targetTeam;
29
 
306 david 30
public slots:
31
    void accept ();
307 david 32
    void updateSourceName(int);
33
    void updateTargetName(int);
308 david 34
    bool checkValidOpr(int);
306 david 35
};
36
 
37
#endif // QMDIALOGCHANGETEAMNUMBER_H