Subversion Repositories svn1

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
112 david 1
#ifndef TEAMDISPLAY_H
2
#define TEAMDISPLAY_H
3
 
4
#include <QWidget>
5
#include    "consts.h"
6
#include    "structs.h"
7
#include    "proto.h"
8
 
9
 
10
namespace Ui {
11
    class teamDisplay;
12
}
13
 
14
class teamDisplay : public QWidget {
15
    Q_OBJECT
16
public:
17
    teamDisplay(QWidget *parent = 0);
18
    ~teamDisplay();
19
 
20
protected:
21
    void changeEvent(QEvent *e);
22
 
23
private:
24
    Ui::teamDisplay *ui;
25
 
26
    int         team;                                /* Current team number */
27
    team_type   team_buf;                            /* Holds team data currently under display */
28
 
29
 
30
public slots:
31
    void save(void);
32
    void cancel(void);
33
    void populate(int team_number);
34
};
35
 
36
#endif // TEAMDISPLAY_H