1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

renamed function

This commit is contained in:
agilob 2014-10-11 00:39:24 +01:00 committed by Tux3 / Mlkj / !Lev.uXFMLA
parent 698902a8dc
commit fea3fa3ac7
2 changed files with 3 additions and 3 deletions

View File

@ -153,7 +153,7 @@ Widget::Widget(QWidget *parent)
connect(core, &Core::failedToAddFriend, this, &Widget::addFriendFailed); connect(core, &Core::failedToAddFriend, this, &Widget::addFriendFailed);
connect(core, &Core::friendUsernameChanged, this, &Widget::onFriendUsernameChanged); connect(core, &Core::friendUsernameChanged, this, &Widget::onFriendUsernameChanged);
connect(core, &Core::friendStatusChanged, this, &Widget::onFriendStatusChanged); connect(core, &Core::friendStatusChanged, this, &Widget::onFriendStatusChanged);
connect(core, &Core::friendSignedIn, this, &Widget::onFriendBecameOnline); connect(core, &Core::friendSignedIn, this, &Widget::onFriendSignIn);
connect(core, &Core::friendStatusMessageChanged, this, &Widget::onFriendStatusMessageChanged); connect(core, &Core::friendStatusMessageChanged, this, &Widget::onFriendStatusMessageChanged);
connect(core, &Core::friendRequestReceived, this, &Widget::onFriendRequestReceived); connect(core, &Core::friendRequestReceived, this, &Widget::onFriendRequestReceived);
connect(core, &Core::friendMessageReceived, this, &Widget::onFriendMessageReceived); connect(core, &Core::friendMessageReceived, this, &Widget::onFriendMessageReceived);
@ -557,7 +557,7 @@ void Widget::onFriendStatusChanged(int friendId, Status status)
f->chatForm->addSystemInfoMessage(f->getName() + " has changed status to " + fStatus, "white"); f->chatForm->addSystemInfoMessage(f->getName() + " has changed status to " + fStatus, "white");
} }
void Widget::onFriendBecameOnline(int friendId, Status status) void Widget::onFriendSignIn(int friendId, Status status)
{ {
Friend* f = FriendList::findFriend(friendId); Friend* f = FriendList::findFriend(friendId);
if (!f) if (!f)

View File

@ -91,7 +91,7 @@ private slots:
void addFriend(int friendId, const QString& userId); void addFriend(int friendId, const QString& userId);
void addFriendFailed(const QString& userId); void addFriendFailed(const QString& userId);
void onFriendStatusChanged(int friendId, Status status); void onFriendStatusChanged(int friendId, Status status);
void onFriendBecameOnline(int friendId, Status status); void onFriendSignIn(int friendId, Status status);
void onFriendStatusMessageChanged(int friendId, const QString& message); void onFriendStatusMessageChanged(int friendId, const QString& message);
void onFriendUsernameChanged(int friendId, const QString& username); void onFriendUsernameChanged(int friendId, const QString& username);
void onChatroomWidgetClicked(GenericChatroomWidget *); void onChatroomWidgetClicked(GenericChatroomWidget *);