From 87a016680e3677da3993f333561e79eb0cead7d5 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 29 Jun 2011 16:05:55 +0000 Subject: TQt4 port ktechlab This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/ktechlab@1238801 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/debugmanager.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/debugmanager.cpp') 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(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 ); -- cgit v1.2.1