summaryrefslogtreecommitdiffstats
path: root/knights/io_base.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-17 01:24:36 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2010-02-17 01:24:36 +0000
commita8c9924456e5335c964e4e55b2dde1963c88726f (patch)
treef5bf107ba079ae460536da778ce2da5e6c68aa69 /knights/io_base.cpp
downloadknights-a8c9924456e5335c964e4e55b2dde1963c88726f.tar.gz
knights-a8c9924456e5335c964e4e55b2dde1963c88726f.zip
Added KDE3 version of Knights
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knights@1091568 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'knights/io_base.cpp')
-rw-r--r--knights/io_base.cpp57
1 files changed, 57 insertions, 0 deletions
diff --git a/knights/io_base.cpp b/knights/io_base.cpp
new file mode 100644
index 0000000..db62330
--- /dev/null
+++ b/knights/io_base.cpp
@@ -0,0 +1,57 @@
+/***************************************************************************
+ io_base.cpp - description
+ -------------------
+ begin : Tue Jun 18 2002
+ copyright : (C) 2003 by Troy Corbin Jr.
+ email : tcorbin@users.sf.net
+ ***************************************************************************/
+
+/***************************************************************************
+ * *
+ * 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 "io_base.moc"
+
+io_base::io_base(resource *resc)
+{
+ this->myResource = resc;
+}
+
+io_base::io_base(resource *resc, int ID)
+{
+ this->myResource = resc;
+ this->myID = ID;
+}
+
+io_base::io_base(QWidget* parent, resource *rsrc)
+{
+ this->myParent = parent;
+ this->myResource = rsrc;
+}
+
+io_base::~io_base()
+{
+
+}
+
+void io_base::setID(const int ID)
+{
+ this->myID = ID;
+}
+
+int io_base::getID()
+{
+ return myID;
+}
+
+int io_base::getType()
+{
+ return myType;
+}
+
+