summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/ircserver.cpp
Side-by-side diff
Diffstat (limited to 'noncore/net/opieirc/ircserver.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/net/opieirc/ircserver.cpp12
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
@@ -5,4 +5,6 @@ IRCServer::IRCServer() {
}
+/* Setter implementations */
+
void IRCServer::setHostname(QString hostname) {
m_hostname = hostname;
@@ -33,4 +35,10 @@ void IRCServer::setRealname(QString realname) {
}
+void IRCServer::setChannels(QString channels) {
+ m_channels = channels;
+}
+
+/* Getter implementations */
+
QString IRCServer::hostname() {
return m_hostname;
@@ -61,2 +69,6 @@ QString IRCServer::realname() {
}
+QString IRCServer::channels() {
+ return m_channels;
+}
+