projects
/
quassel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b163ae7
)
Add docs to IrcUser::updateNickFromMask
author
Shane Synan
<digitalcircuit36939@gmail.com>
Fri, 27 May 2016 04:39:43 +0000
(
00:39
-0400)
committer
Shane Synan
<digitalcircuit36939@gmail.com>
Mon, 13 Jun 2016 21:00:48 +0000
(17:00 -0400)
src/common/network.h
patch
|
blob
|
history
diff --git
a/src/common/network.h
b/src/common/network.h
index
3e58fda
..
f6e7de1
100644
(file)
--- a/
src/common/network.h
+++ b/
src/common/network.h
@@
-269,6
+269,12
@@
public slots:
inline void initSetServerList(const QVariantList &serverList) { _serverList = fromVariantList<Server>(serverList); }
virtual void initSetIrcUsersAndChannels(const QVariantMap &usersAndChannels);
inline void initSetServerList(const QVariantList &serverList) { _serverList = fromVariantList<Server>(serverList); }
virtual void initSetIrcUsersAndChannels(const QVariantMap &usersAndChannels);
+ /**
+ * Update IrcUser hostmask and username from mask, creating an IrcUser if one does not exist.
+ *
+ * @param[in] mask Full nick!user@hostmask string
+ * @return IrcUser of the matching nick if exists, otherwise a new IrcUser
+ */
IrcUser *updateNickFromMask(const QString &mask);
// these slots are to keep the hashlists of all users and the
IrcUser *updateNickFromMask(const QString &mask);
// these slots are to keep the hashlists of all users and the