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.cpp62
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
3IRCServer::IRCServer() {
4 m_port = 0;
5}
6
7void IRCServer::setHostname(QString hostname) {
8 m_hostname = hostname;
9}
10
11void IRCServer::setDescription(QString description) {
12 m_description = description;
13}
14
15void IRCServer::setPort(int port) {
16 m_port = port;
17}
18
19void IRCServer::setUsername(QString username) {
20 m_username = username;
21}
22
23void IRCServer::setPassword(QString password) {
24 m_password = password;
25}
26
27void IRCServer::setNick(QString nick) {
28 m_nick = nick;
29}
30
31void IRCServer::setRealname(QString realname) {
32 m_realname = realname;
33}
34
35QString IRCServer::hostname() {
36 return m_hostname;
37}
38
39QString IRCServer::description() {
40 return m_description;
41}
42
43unsigned short int IRCServer::port() {
44 return m_port;
45}
46
47QString IRCServer::username() {
48 return m_username;
49}
50
51QString IRCServer::password() {
52 return m_password;
53}
54
55QString IRCServer::nick() {
56 return m_nick;
57}
58
59QString IRCServer::realname() {
60 return m_realname;
61}
62