summaryrefslogtreecommitdiffstats
path: root/src/debugmanager.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-29 16:05:55 +0000
commit87a016680e3677da3993f333561e79eb0cead7d5 (patch)
treecbda2b4df8b8ee0d8d1617e6c75bec1e3ee0ccba /src/debugmanager.cpp
parent6ce3d1ad09c1096b5ed3db334e02859e45d5c32b (diff)
downloadktechlab-87a016680e3677da3993f333561e79eb0cead7d5.tar.gz
ktechlab-87a016680e3677da3993f333561e79eb0cead7d5.zip
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
Diffstat (limited to 'src/debugmanager.cpp')
-rw-r--r--src/debugmanager.cpp10
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 );