equal
deleted
inserted
replaced
41 |
41 |
42 bool insertRow(int row, const QModelIndex &parent = QModelIndex()); |
42 bool insertRow(int row, const QModelIndex &parent = QModelIndex()); |
43 bool insertRows(int row, int count, const QModelIndex &parent = QModelIndex()); |
43 bool insertRows(int row, int count, const QModelIndex &parent = QModelIndex()); |
44 bool removeRows(int row, int count, const QModelIndex &parent = QModelIndex()); |
44 bool removeRows(int row, int count, const QModelIndex &parent = QModelIndex()); |
45 |
45 |
|
46 QModelIndex nicknameIndex(const QString & nickname); |
|
47 |
46 public slots: |
48 public slots: |
47 void addPlayer(const QString & nickname, bool notify); |
49 void addPlayer(const QString & nickname, bool notify); |
48 void removePlayer(const QString & nickname, const QString & msg = QString()); |
50 void removePlayer(const QString & nickname, const QString & msg = QString()); |
49 void playerJoinedRoom(const QString & nickname, bool notify); |
51 void playerJoinedRoom(const QString & nickname, bool notify); |
50 void playerLeftRoom(const QString & nickname); |
52 void playerLeftRoom(const QString & nickname); |