projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Save Core settings synchronously and report errors.
[quassel.git]
/
src
/
client
/
networkmodel.h
diff --git
a/src/client/networkmodel.h
b/src/client/networkmodel.h
index
cc230d0
..
b2d3a3b
100644
(file)
--- a/
src/client/networkmodel.h
+++ b/
src/client/networkmodel.h
@@
-213,6
+213,14
@@
public:
void attachIrcChannel(IrcChannel *ircChannel);
void attachIrcChannel(IrcChannel *ircChannel);
+ /**
+ * Gets the list of channel modes for a given nick.
+ *
+ * @param[in] nick IrcUser nickname to check
+ * @returns Channel modes as a string if any, otherwise empty string
+ */
+ QString nickChannelModes(const QString &nick) const;
+
public slots:
void join(const QList<IrcUser *> &ircUsers);
void part(IrcUser *ircUser);
public slots:
void join(const QList<IrcUser *> &ircUsers);
void part(IrcUser *ircUser);
@@
-279,6
+287,13
@@
public :
virtual QVariant data(int column, int role) const;
virtual QString toolTip(int column) const;
virtual QVariant data(int column, int role) const;
virtual QString toolTip(int column) const;
+ /**
+ * Gets the list of channel modes for this nick if parented to channel.
+ *
+ * @returns Channel modes as a string if any, otherwise empty string
+ */
+ QString channelModes() const;
+
private slots:
inline void ircUserQuited() { parent()->removeChild(this); }
private slots:
inline void ircUserQuited() { parent()->removeChild(this); }