23 #ifndef __IRCUSERINFO_H__ 24 #define __IRCUSERINFO_H__ 60 const QString &fullSignature =
"");
74 QString extractHostnameFromFullSignature()
const;
88 const QList<char> &modes()
const;
91 bool operator==(
const IRCUserInfo &otherUser)
const;
113 void setModes(
const QList<char> &modes);
114 void setMode(
char mode);
115 void setPrefixedNickname(
const QString &nickname);
116 void unsetMode(
char mode);
120 QList<char> userModes;
QString fullSignature
Full user signature with nickname and hostname.
Interprets communication between the client and the IRC server.
QString cleanNickname() const
Returns nickname with no prefixes, contrary to the prefixedName() .
QString prefixedName() const
Will generate prefix based on the user flags.
bool isSameNickname(const IRCUserInfo &otherUser) const
Check if this user and user specified as parameter are the same user.
QString cleanNicknameLowerCase() const
Returns cleanNickname() with a call to IRCGlobal::toIrcLower() .
Holds information flags about given nickname.
QString prefixedNameLowerCase() const
Returns prefixedName() with a call to IRCGlobal::toIrcLower() .
One-to-one association of visible prefixes to user mode.
IRCUserInfo()
Creates invalid IRCUserInfo.
bool operator<=(const IRCUserInfo &otherUser) const
This operator can be used for sorting.