author | wazlaf <wazlaf> | 2002-09-10 23:12:17 (UTC) |
---|---|---|
committer | wazlaf <wazlaf> | 2002-09-10 23:12:17 (UTC) |
commit | d478be344e2ba383a1e38d2a1705de1cdbe2e838 (patch) (unidiff) | |
tree | 9daf7b496c74c695ed8bd72a6ccd321f770b043c /noncore/net/opieirc/ircserver.cpp | |
parent | 2d6c8bd7290b766c31c100cd2d66ef0d1d0c407c (diff) | |
download | opie-d478be344e2ba383a1e38d2a1705de1cdbe2e838.zip opie-d478be344e2ba383a1e38d2a1705de1cdbe2e838.tar.gz opie-d478be344e2ba383a1e38d2a1705de1cdbe2e838.tar.bz2 |
initial import of OpieIRC v0.1
Diffstat (limited to 'noncore/net/opieirc/ircserver.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/net/opieirc/ircserver.cpp | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/noncore/net/opieirc/ircserver.cpp b/noncore/net/opieirc/ircserver.cpp new file mode 100644 index 0000000..33a788b --- a/dev/null +++ b/noncore/net/opieirc/ircserver.cpp | |||
@@ -0,0 +1,62 @@ | |||
1 | #include "ircserver.h" | ||
2 | |||
3 | IRCServer::IRCServer() { | ||
4 | m_port = 0; | ||
5 | } | ||
6 | |||
7 | void IRCServer::setHostname(QString hostname) { | ||
8 | m_hostname = hostname; | ||
9 | } | ||
10 | |||
11 | void IRCServer::setDescription(QString description) { | ||
12 | m_description = description; | ||
13 | } | ||
14 | |||
15 | void IRCServer::setPort(int port) { | ||
16 | m_port = port; | ||
17 | } | ||
18 | |||
19 | void IRCServer::setUsername(QString username) { | ||
20 | m_username = username; | ||
21 | } | ||
22 | |||
23 | void IRCServer::setPassword(QString password) { | ||
24 | m_password = password; | ||
25 | } | ||
26 | |||
27 | void IRCServer::setNick(QString nick) { | ||
28 | m_nick = nick; | ||
29 | } | ||
30 | |||
31 | void IRCServer::setRealname(QString realname) { | ||
32 | m_realname = realname; | ||
33 | } | ||
34 | |||
35 | QString IRCServer::hostname() { | ||
36 | return m_hostname; | ||
37 | } | ||
38 | |||
39 | QString IRCServer::description() { | ||
40 | return m_description; | ||
41 | } | ||
42 | |||
43 | unsigned short int IRCServer::port() { | ||
44 | return m_port; | ||
45 | } | ||
46 | |||
47 | QString IRCServer::username() { | ||
48 | return m_username; | ||
49 | } | ||
50 | |||
51 | QString IRCServer::password() { | ||
52 | return m_password; | ||
53 | } | ||
54 | |||
55 | QString IRCServer::nick() { | ||
56 | return m_nick; | ||
57 | } | ||
58 | |||
59 | QString IRCServer::realname() { | ||
60 | return m_realname; | ||
61 | } | ||
62 | |||