summaryrefslogtreecommitdiff
path: root/noncore/net/opieirc/ircserver.cpp
Side-by-side diff
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 @@
+#include "ircserver.h"
+
+IRCServer::IRCServer() {
+ m_port = 0;
+}
+
+void IRCServer::setHostname(QString hostname) {
+ m_hostname = hostname;
+}
+
+void IRCServer::setDescription(QString description) {
+ m_description = description;
+}
+
+void IRCServer::setPort(int port) {
+ m_port = port;
+}
+
+void IRCServer::setUsername(QString username) {
+ m_username = username;
+}
+
+void IRCServer::setPassword(QString password) {
+ m_password = password;
+}
+
+void IRCServer::setNick(QString nick) {
+ m_nick = nick;
+}
+
+void IRCServer::setRealname(QString realname) {
+ m_realname = realname;
+}
+
+QString IRCServer::hostname() {
+ return m_hostname;
+}
+
+QString IRCServer::description() {
+ return m_description;
+}
+
+unsigned short int IRCServer::port() {
+ return m_port;
+}
+
+QString IRCServer::username() {
+ return m_username;
+}
+
+QString IRCServer::password() {
+ return m_password;
+}
+
+QString IRCServer::nick() {
+ return m_nick;
+}
+
+QString IRCServer::realname() {
+ return m_realname;
+}
+