Subversion Repositories svn1-original

Rev

Rev 335 | Blame | Compare with Previous | Last modification | View Log | RSS feed

#ifndef QMDIALOGCHANGETEAMNUMBER_H
#define QMDIALOGCHANGETEAMNUMBER_H

#include <QDialog>
#include    "consts.h"
#include    "structs.h"
#include    "proto.h"

namespace Ui {
    class QmDialogChangeTeamNumber;
}

class QmDialogChangeTeamNumber : public QDialog
{
    Q_OBJECT

public:
    explicit QmDialogChangeTeamNumber(const QString &title, QWidget *parent = 0);
    ~QmDialogChangeTeamNumber();

private:
    Ui::QmDialogChangeTeamNumber *ui;

    team_type team_buf_source;
    int       sourceTeam;

    team_type team_buf_target;
    int       targetTeam;

public slots:
    void accept ();
    void updateSourceName(int);
    void updateTargetName(int);
    bool checkValidOpr(int);
};

#endif // QMDIALOGCHANGETEAMNUMBER_H