Browse Source

renamed function

pull/446/head
agilob 11 years ago committed by Tux3 / Mlkj / !Lev.uXFMLA
parent
commit
fea3fa3ac7
  1. 4
      src/widget/widget.cpp
  2. 2
      src/widget/widget.h

4
src/widget/widget.cpp

@ -153,7 +153,7 @@ Widget::Widget(QWidget *parent) @@ -153,7 +153,7 @@ Widget::Widget(QWidget *parent)
connect(core, &Core::failedToAddFriend, this, &Widget::addFriendFailed);
connect(core, &Core::friendUsernameChanged, this, &Widget::onFriendUsernameChanged);
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::friendRequestReceived, this, &Widget::onFriendRequestReceived);
connect(core, &Core::friendMessageReceived, this, &Widget::onFriendMessageReceived);
@ -557,7 +557,7 @@ void Widget::onFriendStatusChanged(int friendId, Status status) @@ -557,7 +557,7 @@ void Widget::onFriendStatusChanged(int friendId, Status status)
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);
if (!f)

2
src/widget/widget.h

@ -91,7 +91,7 @@ private slots: @@ -91,7 +91,7 @@ private slots:
void addFriend(int friendId, const QString& userId);
void addFriendFailed(const QString& userId);
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 onFriendUsernameChanged(int friendId, const QString& username);
void onChatroomWidgetClicked(GenericChatroomWidget *);

Loading…
Cancel
Save