summaryrefslogtreecommitdiffstats
path: root/src/jtagprogrammer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/jtagprogrammer.cpp')
-rw-r--r--src/jtagprogrammer.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/jtagprogrammer.cpp b/src/jtagprogrammer.cpp
index f825fd7..fc1b22e 100644
--- a/src/jtagprogrammer.cpp
+++ b/src/jtagprogrammer.cpp
@@ -27,8 +27,8 @@
#include "jtagprogrammer.h"
#include <iostream>
-#include <qapplication.h>
-#include <qeventloop.h>
+#include <tqapplication.h>
+#include <tqeventloop.h>
bool IDCODE_PROM[] = { 0, 1, 1, 1, 1, 1, 1, 1 } ;
bool BYPASS_PROM[] = { 1, 1, 1, 1, 1, 1, 1, 1 } ;
@@ -66,9 +66,9 @@ const unsigned int id_code[] =
#define MAX_IDS ( sizeof( id_code ) / sizeof( int ) )
-JTAGProgrammer::JTAGProgrammer( QObject *parent )
+JTAGProgrammer::JTAGProgrammer( TQObject *tqparent )
{
- m_parent = parent ;
+ m_parent = tqparent ;
m_bitFilename = "" ;
m_dev = new CJTAG ;
@@ -201,7 +201,7 @@ void JTAGProgrammer::program()
m_dev->setDR( frame, dummy, 8 ) ;
cur = next ;
- QApplication::eventLoop()->processEvents( QEventLoop::AllEvents ) ;
+ TQApplication::eventLoop()->processEvents( TQEventLoop::AllEvents ) ;
}
std::cout << std::endl ;