From 8f1624dd9a394be19ccf9d63e4de0a0558831ca3 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 30 Jun 2011 20:31:54 +0000 Subject: 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 --- src/ksimulator.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/ksimulator.h') 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 +#include #include "cpicoblaze.h" #include "cassembler.h" #include -#include +#include #include #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 ; -- cgit v1.2.1