changeset 7723 | ca05b576ec74 |
child 7725 | 4ad05a478c6c |
7722:1518827049ed | 7723:ca05b576ec74 |
---|---|
1 #ifndef PLAYERSLISTMODEL_H |
|
2 #define PLAYERSLISTMODEL_H |
|
3 |
|
4 #include <QStringListModel> |
|
5 |
|
6 class PlayersListModel : public QStringListModel |
|
7 { |
|
8 Q_OBJECT |
|
9 public: |
|
10 explicit PlayersListModel(QObject *parent = 0); |
|
11 |
|
12 signals: |
|
13 |
|
14 public slots: |
|
15 void addPlayer(const QString & nickname); |
|
16 |
|
17 }; |
|
18 |
|
19 #endif // PLAYERSLISTMODEL_H |