summaryrefslogtreecommitdiffstats
path: root/microbe/variable.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
commit87a016680e3677da3993f333561e79eb0cead7d5 (patch)
treecbda2b4df8b8ee0d8d1617e6c75bec1e3ee0ccba /microbe/variable.h
parent6ce3d1ad09c1096b5ed3db334e02859e45d5c32b (diff)
downloadktechlab-87a016680e3677da3993f333561e79eb0cead7d5.tar.gz
ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.zip
TQt4 port ktechlab
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1238801 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'microbe/variable.h')
-rw-r--r--microbe/variable.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/microbe/variable.h b/microbe/variable.h
index f5848c1..7162c03 100644
--- a/microbe/variable.h
+++ b/microbe/variable.h
@@ -21,11 +21,11 @@
#ifndef VARIABLE_H
#define VARIABLE_H
-#include <qstring.h>
-#include <qvaluelist.h>
+#include <tqstring.h>
+#include <tqvaluelist.h>
class PortPin;
-typedef QValueList<PortPin> PortPinList;
+typedef TQValueList<PortPin> PortPinList;
/**
@@ -43,12 +43,12 @@ class Variable
invalidType
};
- Variable( VariableType type, const QString & name );
+ Variable( VariableType type, const TQString & name );
Variable();
~Variable();
VariableType type() const { return m_type; }
- QString name() const { return m_name; }
+ TQString name() const { return m_name; }
/**
* @returns whether the variable can be read from (e.g. the seven
@@ -71,9 +71,9 @@ class Variable
protected:
VariableType m_type;
- QString m_name;
+ TQString m_name;
PortPinList m_portPinList;
};
-typedef QValueList<Variable> VariableList;
+typedef TQValueList<Variable> VariableList;
#endif