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.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/ksimulator.cpp') diff --git a/src/ksimulator.cpp b/src/ksimulator.cpp index 57b2f43..611f386 100755 --- a/src/ksimulator.cpp +++ b/src/ksimulator.cpp @@ -19,19 +19,19 @@ ***************************************************************************/ #include "ksimulator.h" -KSimulator::KSimulator(QObject *parent, const char *name ) - : QObject(parent, name) +KSimulator::KSimulator(TQObject *tqparent, const char *name ) + : TQObject(tqparent, name) { m_picoBlaze = new CPicoBlaze() ; m_assembler = new CAssembler() ; m_assembler->setCode( m_picoBlaze->code ) ; - m_timer = new QTimer( this ) ; + m_timer = new TQTimer( this ) ; m_bInterrupt = FALSE ; m_timer->stop() ; m_run = false ; - connect( m_timer, SIGNAL( timeout() ), this, SLOT( next() ) ) ; + connect( m_timer, TQT_SIGNAL( timeout() ), this, TQT_SLOT( next() ) ) ; } KSimulator::~KSimulator() -- cgit v1.2.1