author | wazlaf <wazlaf> | 2002-09-11 22:22:04 (UTC) |
---|---|---|
committer | wazlaf <wazlaf> | 2002-09-11 22:22:04 (UTC) |
commit | 4864665ad76095620fdf5aa19d24f05967f32b40 (patch) (unidiff) | |
tree | 4b3e371b5da03292ce09f7e388885dd3ec049ff8 /noncore/net/opieirc/ircserver.cpp | |
parent | 7ab82ad13aaf708ffba4bf4294d29b789007ddde (diff) | |
download | opie-4864665ad76095620fdf5aa19d24f05967f32b40.zip opie-4864665ad76095620fdf5aa19d24f05967f32b40.tar.gz opie-4864665ad76095620fdf5aa19d24f05967f32b40.tar.bz2 |
serverlist browser
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,18 +1,18 @@ | |||
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 | ||
@@ -33,14 +33,14 @@ void IRCServer::setRealname(QString 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 | ||