author | unc0rr |
Sat, 06 Oct 2012 01:09:41 +0400 | |
changeset 7723 | ca05b576ec74 |
child 7725 | 4ad05a478c6c |
permissions | -rw-r--r-- |
7723 | 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 |