projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
i18n cs.ts sync with new strings.
[quassel.git]
/
src
/
common
/
ircuser.cpp
diff --git
a/src/common/ircuser.cpp
b/src/common/ircuser.cpp
index
e42bea7
..
181f110
100644
(file)
--- a/
src/common/ircuser.cpp
+++ b/
src/common/ircuser.cpp
@@
-124,6
+124,7
@@
void IrcUser::setRealName(const QString &realName) {
void IrcUser::setAway(const bool &away) {
if(away != _away) {
_away = away;
void IrcUser::setAway(const bool &away) {
if(away != _away) {
_away = away;
+ emit awaySet(away);
SYNC(ARG(away))
}
}
SYNC(ARG(away))
}
}
@@
-182,6
+183,7
@@
void IrcUser::setNick(const QString &nick) {
if(!nick.isEmpty() && nick != _nick) {
_nick = nick;
updateObjectName();
if(!nick.isEmpty() && nick != _nick) {
_nick = nick;
updateObjectName();
+ emit nickSet(nick);
SYNC(ARG(nick))
}
}
SYNC(ARG(nick))
}
}
@@
-218,7
+220,7
@@
void IrcUser::joinChannel(IrcChannel *channel) {
Q_ASSERT(channel);
if(!_channels.contains(channel)) {
_channels.insert(channel);
Q_ASSERT(channel);
if(!_channels.contains(channel)) {
_channels.insert(channel);
- channel->joinIrcUser
s
(this);
+ channel->joinIrcUser(this);
}
}
}
}
@@
-231,7
+233,8
@@
void IrcUser::partChannel(IrcChannel *channel) {
_channels.remove(channel);
disconnect(channel, 0, this, 0);
channel->part(this);
_channels.remove(channel);
disconnect(channel, 0, this, 0);
channel->part(this);
- emit channelParted(channel->name());
+ QString channelName = channel->name();
+ SYNC_OTHER(partChannel, ARG(channelName))
if(_channels.isEmpty() && !network()->isMe(this))
quit();
}
if(_channels.isEmpty() && !network()->isMe(this))
quit();
}
@@
-254,6
+257,7
@@
void IrcUser::quit() {
channel->part(this);
}
network()->removeIrcUser(this);
channel->part(this);
}
network()->removeIrcUser(this);
+ SYNC(NO_ARG)
emit quited();
}
emit quited();
}
@@
-270,6
+274,7
@@
void IrcUser::channelDestroyed() {
void IrcUser::setUserModes(const QString &modes) {
_userModes = modes;
SYNC(ARG(modes))
void IrcUser::setUserModes(const QString &modes) {
_userModes = modes;
SYNC(ARG(modes))
+ emit userModesSet(modes);
}
void IrcUser::addUserModes(const QString &modes) {
}
void IrcUser::addUserModes(const QString &modes) {
@@
-282,6
+287,7
@@
void IrcUser::addUserModes(const QString &modes) {
}
SYNC(ARG(modes))
}
SYNC(ARG(modes))
+ emit userModesAdded(modes);
}
void IrcUser::removeUserModes(const QString &modes) {
}
void IrcUser::removeUserModes(const QString &modes) {
@@
-292,6
+298,7
@@
void IrcUser::removeUserModes(const QString &modes) {
_userModes.remove(modes[i]);
}
SYNC(ARG(modes))
_userModes.remove(modes[i]);
}
SYNC(ARG(modes))
+ emit userModesRemoved(modes);
}
void IrcUser::setLastChannelActivity(BufferId buffer, const QDateTime &time) {
}
void IrcUser::setLastChannelActivity(BufferId buffer, const QDateTime &time) {