Diffstat (limited to 'noncore/net/opieirc/ircserver.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircserver.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/noncore/net/opieirc/ircserver.cpp b/noncore/net/opieirc/ircserver.cpp index e16e2b2..e27e41d 100644 --- a/noncore/net/opieirc/ircserver.cpp +++ b/noncore/net/opieirc/ircserver.cpp @@ -4,6 +4,8 @@ IRCServer::IRCServer() { m_port = 6667; } +/* Setter implementations */ + void IRCServer::setHostname(QString hostname) { m_hostname = hostname; } @@ -32,6 +34,12 @@ void IRCServer::setRealname(QString realname) { m_realname = realname; } +void IRCServer::setChannels(QString channels) { + m_channels = channels; +} + +/* Getter implementations */ + QString IRCServer::hostname() { return m_hostname; } @@ -60,3 +68,7 @@ QString IRCServer::realname() { return m_realname; } +QString IRCServer::channels() { + return m_channels; +} + |