summaryrefslogtreecommitdiffstats
path: root/src/ksimulator.h
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 20:31:54 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-30 20:31:54 +0000
commit8f1624dd9a394be19ccf9d63e4de0a0558831ca3 (patch)
tree21ca6a6c0f51a294752e693bb883120ababb6062 /src/ksimulator.h
parentff1242765ed5cce09ca185f874de5b05b08e109f (diff)
downloadkpicosim-8f1624dd9a394be19ccf9d63e4de0a0558831ca3.tar.gz
kpicosim-8f1624dd9a394be19ccf9d63e4de0a0558831ca3.zip
TQt4 port kpicosim
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/kpicosim@1238884 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/ksimulator.h')
-rwxr-xr-xsrc/ksimulator.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/ksimulator.h b/src/ksimulator.h
index f54f5be..03e8a10 100755
--- a/src/ksimulator.h
+++ b/src/ksimulator.h
@@ -20,12 +20,12 @@
#ifndef KSIMULATOR_H
#define KSIMULATOR_H
-#include <qobject.h>
+#include <tqobject.h>
#include "cpicoblaze.h"
#include "cassembler.h"
#include <string>
-#include <qtimer.h>
+#include <tqtimer.h>
#include <klistview.h>
#include "kprocessorview.h"
@@ -34,11 +34,12 @@
#define CARRY_FLAG 0x02
#define INTERRUPT_FLAG 0x04
-class KSimulator : public QObject
+class KSimulator : public TQObject
{
Q_OBJECT
+ TQ_OBJECT
public:
- KSimulator(QObject *parent = 0, const char *name = 0);
+ KSimulator(TQObject *tqparent = 0, const char *name = 0);
~KSimulator();
void setFilename( string filename ) { m_assembler->setFilename( filename ) ; }
@@ -82,7 +83,7 @@ class KSimulator : public QObject
private:
CPicoBlaze * m_picoBlaze ;
CAssembler * m_assembler ;
- QTimer * m_timer ;
+ TQTimer * m_timer ;
bool m_bInterrupt ;
KListView *m_messageList ;
bool m_run ;