--- a/QTfrontend/model/playerslistmodel.h Sat Nov 30 14:05:22 2013 +0100
+++ b/QTfrontend/model/playerslistmodel.h Sat Nov 30 14:33:23 2013 +0100
@@ -43,6 +43,8 @@
bool insertRows(int row, int count, const QModelIndex &parent = QModelIndex());
bool removeRows(int row, int count, const QModelIndex &parent = QModelIndex());
+ QModelIndex nicknameIndex(const QString & nickname);
+
public slots:
void addPlayer(const QString & nickname, bool notify);
void removePlayer(const QString & nickname, const QString & msg = QString());