diff options
Diffstat (limited to 'src/debugmanager.cpp')
-rw-r--r-- | src/debugmanager.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/debugmanager.cpp b/src/debugmanager.cpp index 425232c..f33c6dc 100644 --- a/src/debugmanager.cpp +++ b/src/debugmanager.cpp @@ -33,7 +33,7 @@ DebugManager * DebugManager::self() DebugManager::DebugManager() - : QObject() + : TQObject() { } @@ -50,9 +50,9 @@ void DebugManager::registerGpsim( GpsimProcessor * gpsim ) m_processors << gpsim; - const QStringList files = gpsim->sourceFileList(); - QStringList::const_iterator end = files.end(); - for ( QStringList::const_iterator it = files.begin(); it != end; ++it ) + const TQStringList files = gpsim->sourceFileList(); + TQStringList::const_iterator end = files.end(); + for ( TQStringList::const_iterator it = files.begin(); it != end; ++it ) { if ( TextDocument * doc = dynamic_cast<TextDocument*>(DocManager::self()->findDocument(*it)) ) { @@ -72,7 +72,7 @@ void DebugManager::urlOpened( TextDocument * td ) GpsimProcessorList::iterator end = m_processors.end(); for ( GpsimProcessorList::iterator it = m_processors.begin(); it != end; ++it ) { - if ( !(*it)->sourceFileList().contains( td->url().path() ) ) + if ( !(*it)->sourceFileList().tqcontains( td->url().path() ) ) continue; (*it)->setDebugMode( (td->guessedCodeType() == TextDocument::ct_asm) ? GpsimDebugger::AsmDebugger : GpsimDebugger::HLLDebugger ); |