summaryrefslogtreecommitdiffstats
path: root/knetwortdeconf/knetwortdeconf/kknownhostinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'knetwortdeconf/knetwortdeconf/kknownhostinfo.cpp')
-rw-r--r--knetwortdeconf/knetwortdeconf/kknownhostinfo.cpp42
1 files changed, 42 insertions, 0 deletions
diff --git a/knetwortdeconf/knetwortdeconf/kknownhostinfo.cpp b/knetwortdeconf/knetwortdeconf/kknownhostinfo.cpp
new file mode 100644
index 0000000..a83fc77
--- /dev/null
+++ b/knetwortdeconf/knetwortdeconf/kknownhostinfo.cpp
@@ -0,0 +1,42 @@
+/***************************************************************************
+ KKnownHostInfo.cpp - description
+ -------------------
+ begin : Sun May 11 2003
+ copyright : (C) 2003 by Juan Luis Baptiste
+ email : juancho@linuxmail.org
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * This program is free software; you can redistribute it and/or modify *
+ * it under the terms of the GNU General Public License as published by *
+ * the Free Software Foundation; either version 2 of the License, or *
+ * (at your option) any later version. *
+ * *
+ ***************************************************************************/
+
+#include "kknownhostinfo.h"
+
+KKnownHostInfo::KKnownHostInfo(){
+}
+KKnownHostInfo::~KKnownHostInfo(){
+}
+/** No descriptions */
+TQString KKnownHostInfo::getIpAddress(){
+ return ipAddress;
+}
+
+TQStringList KKnownHostInfo::getAliases(){
+ return aliases;
+}
+void KKnownHostInfo::setIpAddress(TQString ipAddress){
+ KKnownHostInfo::ipAddress = ipAddress;
+}
+
+void KKnownHostInfo::addAlias(TQString alias){
+ KKnownHostInfo::aliases.append(alias);
+}
+
+void KKnownHostInfo::setAliases(TQStringList aliases){
+ KKnownHostInfo::aliases = aliases;
+}