Diffstat (limited to 'noncore/net/opieirc/ircserver.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircserver.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/noncore/net/opieirc/ircserver.cpp b/noncore/net/opieirc/ircserver.cpp index 33a788b..e16e2b2 100644 --- a/noncore/net/opieirc/ircserver.cpp +++ b/noncore/net/opieirc/ircserver.cpp | |||
@@ -1,15 +1,15 @@ | |||
1 | #include "ircserver.h" | 1 | #include "ircserver.h" |
2 | 2 | ||
3 | IRCServer::IRCServer() { | 3 | IRCServer::IRCServer() { |
4 | m_port = 0; | 4 | m_port = 6667; |
5 | } | 5 | } |
6 | 6 | ||
7 | void IRCServer::setHostname(QString hostname) { | 7 | void IRCServer::setHostname(QString hostname) { |
8 | m_hostname = hostname; | 8 | m_hostname = hostname; |
9 | } | 9 | } |
10 | 10 | ||
11 | void IRCServer::setDescription(QString description) { | 11 | void IRCServer::setName(QString name) { |
12 | m_description = description; | 12 | m_name = name; |
13 | } | 13 | } |
14 | 14 | ||
15 | void IRCServer::setPort(int port) { | 15 | void IRCServer::setPort(int port) { |
@@ -36,8 +36,8 @@ QString IRCServer::hostname() { | |||
36 | return m_hostname; | 36 | return m_hostname; |
37 | } | 37 | } |
38 | 38 | ||
39 | QString IRCServer::description() { | 39 | QString IRCServer::name() { |
40 | return m_description; | 40 | return m_name; |
41 | } | 41 | } |
42 | 42 | ||
43 | unsigned short int IRCServer::port() { | 43 | unsigned short int IRCServer::port() { |