Remove deprecated signals
authorunc0rr
Sun, 21 Oct 2012 16:38:54 +0400
changeset 7773 3d460e57d4e6
parent 7771 ce6d4dd0c780
child 7775 835ad028fb66
Remove deprecated signals
QTfrontend/net/newnetclient.cpp
QTfrontend/net/newnetclient.h
--- a/QTfrontend/net/newnetclient.cpp	Sat Oct 20 22:43:25 2012 -0400
+++ b/QTfrontend/net/newnetclient.cpp	Sun Oct 21 16:38:54 2012 +0400
@@ -395,14 +395,12 @@
                                 if (isChief && !setFlag) ToggleReady();
                                 else emit setMyReadyStatus(setFlag);
                             }
-                            emit setReadyStatus(nick, setFlag);
                             m_playersModel->setFlag(nick, PlayersListModel::Ready, setFlag);
                         }
                         break;
 
                 // flag indicating if a player is a registered user
                 case 'u':
-                        emit setRegisteredStatus(nicks, setFlag);
                         foreach(const QString & nick, nicks)
                             m_playersModel->setFlag(nick, PlayersListModel::Registered, setFlag);
                         break;
@@ -422,7 +420,6 @@
                                 emit roomMaster(isChief);
                             }
 
-                            emit setRoomMasterStatus(nick, setFlag);
                             m_playersModel->setFlag(nick, PlayersListModel::RoomAdmin, setFlag);
                         }
                         break;
@@ -434,7 +431,6 @@
                             if (nick == mynick)
                                 emit adminAccess(setFlag);
 
-                            emit setAdminStatus(nick, setFlag);
                             m_playersModel->setFlag(nick, PlayersListModel::ServerAdmin, setFlag);
                         }
                         break;
--- a/QTfrontend/net/newnetclient.h	Sat Oct 20 22:43:25 2012 -0400
+++ b/QTfrontend/net/newnetclient.h	Sun Oct 21 16:38:54 2012 +0400
@@ -145,11 +145,7 @@
         void serverMessageOld(const QString &);
         void latestProtocolVar(int);
 
-        void setReadyStatus(const QString & nick, bool isReady);
         void setMyReadyStatus(bool isReady);
-        void setAdminStatus(const QString & nick, bool isAdmin);
-        void setRoomMasterStatus(const QString & nick, bool isAdmin);
-        void setRegisteredStatus(const QStringList & nicks, bool isRegistered);
 
     public slots:
         void ToggleReady();