summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/ircsession.h
Side-by-side diff
Diffstat (limited to 'noncore/net/opieirc/ircsession.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/ircsession.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/noncore/net/opieirc/ircsession.h b/noncore/net/opieirc/ircsession.h
index f6330d8..96de3e4 100644
--- a/noncore/net/opieirc/ircsession.h
+++ b/noncore/net/opieirc/ircsession.h
@@ -58,8 +58,12 @@ public:
bool isSessionActive();
void endSession();
+ bool isLoggedIn();
void sendMessage(IRCPerson *person, QString message);
void sendMessage(IRCChannel *channel, QString message);
void sendAction(IRCPerson *person, QString message);
void sendAction(IRCChannel *channel, QString message);
+ void updateNickname(const QString &oldNickname, const QString &newNickname);
+ void setValidUsermodes(const QString &modes);
+ void setValidChannelmodes(const QString &modes);
IRCChannel *getChannel(QString channelname);
IRCPerson *getPerson(QString nickname);
@@ -74,4 +78,5 @@ protected slots:
signals:
void outputReady(IRCOutput output);
+ void updateChannels();
protected:
IRCServer *m_server;
@@ -80,4 +85,6 @@ protected:
QList<IRCChannel> m_channels;
QList<IRCPerson> m_people;
+ QString m_validUsermodes;
+ QString m_validChannelmodes;
};