summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/ircserver.cpp
Unidiff
Diffstat (limited to 'noncore/net/opieirc/ircserver.cpp') (more/less context) (show 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
@@ -4,6 +4,8 @@ IRCServer::IRCServer() {
4 m_port = 6667; 4 m_port = 6667;
5} 5}
6 6
7/* Setter implementations */
8
7void IRCServer::setHostname(QString hostname) { 9void IRCServer::setHostname(QString hostname) {
8 m_hostname = hostname; 10 m_hostname = hostname;
9} 11}
@@ -32,6 +34,12 @@ void IRCServer::setRealname(QString realname) {
32 m_realname = realname; 34 m_realname = realname;
33} 35}
34 36
37void IRCServer::setChannels(QString channels) {
38 m_channels = channels;
39}
40
41/* Getter implementations */
42
35QString IRCServer::hostname() { 43QString IRCServer::hostname() {
36 return m_hostname; 44 return m_hostname;
37} 45}
@@ -60,3 +68,7 @@ QString IRCServer::realname() {
60 return m_realname; 68 return m_realname;
61} 69}
62 70
71QString IRCServer::channels() {
72 return m_channels;
73}
74