summaryrefslogtreecommitdiffstats
path: root/src/electronics/components/ram.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 /src/electronics/components/ram.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 'src/electronics/components/ram.h')
-rw-r--r--src/electronics/components/ram.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/electronics/components/ram.h b/src/electronics/components/ram.h
index 7b78ee9..b520969 100644
--- a/src/electronics/components/ram.h
+++ b/src/electronics/components/ram.h
@@ -14,8 +14,8 @@
#include "component.h"
#include "logic.h"
-#include <qbitarray.h>
-#include <qptrvector.h>
+#include <tqbitarray.h>
+#include <tqptrvector.h>
/**
@author David Saxton
@@ -35,7 +35,7 @@ class RAM : public CallbackClass, public Component
virtual void dataChanged();
void inStateChanged( bool newState );
- QBitArray m_data;
+ TQBitArray m_data;
LogicIn * m_pCS; // Chip select
LogicIn * m_pOE; // Output enable
LogicIn * m_pWE; // Write enable
@@ -43,9 +43,9 @@ class RAM : public CallbackClass, public Component
int m_wordSize;
int m_addressSize;
- QPtrVector<LogicIn> m_address;
- QPtrVector<LogicIn> m_dataIn;
- QPtrVector<LogicOut> m_dataOut;
+ TQPtrVector<LogicIn> m_address;
+ TQPtrVector<LogicIn> m_dataIn;
+ TQPtrVector<LogicOut> m_dataOut;
};
#endif