summaryrefslogtreecommitdiffstats
path: root/buildtools/autotools/makefilehandler.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-06-14 16:45:05 +0000
commit48d4a26399959121f33d2bc3bfe51c7827b654fc (patch)
tree5ae5e6e00d3ba330b7b8be9bc097154b6bc739e8 /buildtools/autotools/makefilehandler.cpp
parent7e701ace6592d09e1f2c0cf28c7d6d872d78f4f5 (diff)
downloadtdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.tar.gz
tdevelop-48d4a26399959121f33d2bc3bfe51c7827b654fc.zip
TQt4 port kdevelop
This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdevelop@1236710 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'buildtools/autotools/makefilehandler.cpp')
-rw-r--r--buildtools/autotools/makefilehandler.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/buildtools/autotools/makefilehandler.cpp b/buildtools/autotools/makefilehandler.cpp
index db30508d..ef2354f1 100644
--- a/buildtools/autotools/makefilehandler.cpp
+++ b/buildtools/autotools/makefilehandler.cpp
@@ -81,7 +81,7 @@ void MakefileHandler::parse( const TQString& folder, bool recursive )
if ( recursive && ast && ast->hasChildren() )
{
- TQValueList<AutoTools::AST*> astChildList = ast->children();
+ TQValueList<AutoTools::AST*> astChildList = ast->tqchildren();
TQValueList<AutoTools::AST*>::iterator it(astChildList.begin()), clEnd(astChildList.end());
for ( ; it != clEnd; ++it )
{
@@ -122,7 +122,7 @@ void MakefileHandler::parse( const TQString& folder, bool recursive )
AutoTools::ProjectAST* MakefileHandler::astForFolder( const TQString& folderPath )
{
- if ( d->folderToFileMap.contains( folderPath ) )
+ if ( d->folderToFileMap.tqcontains( folderPath ) )
{
TQString filePath = d->folderToFileMap[folderPath];
return d->projects[filePath];
@@ -145,14 +145,14 @@ TQString MakefileHandler::resolveVariable( const TQString& variable, AutoTools::
return variable;
kdDebug(9020) << k_funcinfo << "attempting to resolve '" << variable << "'"<< endl;
- ASTList childList = ast->children();
+ ASTList childList = ast->tqchildren();
ASTList::iterator it( childList.begin() ), clEnd( childList.end() );
for ( ; it != clEnd; ++it )
{
if ( ( *it )->nodeType() == AutoTools::AST::AssignmentAST )
{
AutoTools::AssignmentAST* assignment = static_cast<AutoTools::AssignmentAST*>( ( *it ) );
- if ( variable.find( assignment->scopedID ) != -1 )
+ if ( variable.tqfind( assignment->scopedID ) != -1 )
{
kdDebug(9020) << k_funcinfo << "Resolving variable '" << variable << "' to '"
<< assignment->values.join( TQString::null ).stripWhiteSpace() << "'" << endl;