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,24 +1,24 @@ | |||
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) { |
16 | m_port = port; | 16 | m_port = port; |
17 | } | 17 | } |
18 | 18 | ||
19 | void IRCServer::setUsername(QString username) { | 19 | void IRCServer::setUsername(QString username) { |
20 | m_username = username; | 20 | m_username = username; |
21 | } | 21 | } |
22 | 22 | ||
23 | void IRCServer::setPassword(QString password) { | 23 | void IRCServer::setPassword(QString password) { |
24 | m_password = password; | 24 | m_password = password; |
@@ -27,26 +27,26 @@ void IRCServer::setPassword(QString password) { | |||
27 | void IRCServer::setNick(QString nick) { | 27 | void IRCServer::setNick(QString nick) { |
28 | m_nick = nick; | 28 | m_nick = nick; |
29 | } | 29 | } |
30 | 30 | ||
31 | void IRCServer::setRealname(QString realname) { | 31 | void IRCServer::setRealname(QString realname) { |
32 | m_realname = realname; | 32 | m_realname = realname; |
33 | } | 33 | } |
34 | 34 | ||
35 | QString IRCServer::hostname() { | 35 | 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() { |
44 | return m_port; | 44 | return m_port; |
45 | } | 45 | } |
46 | 46 | ||
47 | QString IRCServer::username() { | 47 | QString IRCServer::username() { |
48 | return m_username; | 48 | return m_username; |
49 | } | 49 | } |
50 | 50 | ||
51 | QString IRCServer::password() { | 51 | QString IRCServer::password() { |
52 | return m_password; | 52 | return m_password; |