void TabRoom::processLeaveRoomEvent(const Event_LeaveRoom &event) { userList->deleteUser(QString::fromStdString(event.name())); autocompleteUserList.removeOne("@" + QString::fromStdString(event.name())); sayEdit->setCompletionList(autocompleteUserList); }
void IslInterface::roomEvent_UserLeft(int roomId, const Event_LeaveRoom &event) { emit externalRoomUserLeft(roomId, QString::fromStdString(event.name())); }
void TabRoom::processLeaveRoomEvent(const Event_LeaveRoom &event) { userList->deleteUser(QString::fromStdString(event.name())); }