diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 20:31:54 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-06-30 20:31:54 +0000 |
commit | 8f1624dd9a394be19ccf9d63e4de0a0558831ca3 (patch) | |
tree | 21ca6a6c0f51a294752e693bb883120ababb6062 /src/ksimulator.cpp | |
parent | ff1242765ed5cce09ca185f874de5b05b08e109f (diff) | |
download | kpicosim-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.cpp')
-rwxr-xr-x | src/ksimulator.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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() |