summaryrefslogtreecommitdiffstats
path: root/buildtools/autotools/addsubprojectdlg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/autotools/addsubprojectdlg.cpp')
-rw-r--r--buildtools/autotools/addsubprojectdlg.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/buildtools/autotools/addsubprojectdlg.cpp b/buildtools/autotools/addsubprojectdlg.cpp
index bb0e5527..d9913af7 100644
--- a/buildtools/autotools/addsubprojectdlg.cpp
+++ b/buildtools/autotools/addsubprojectdlg.cpp
@@ -106,7 +106,7 @@ void AddSubprojectDialog::accept()
}
// Adjust SUBDIRS variable in containing Makefile.am
- if (m_subProject->variables["SUBDIRS"].tqfind("$(TOPSUBDIRS)") != -1)
+ if (m_subProject->variables["SUBDIRS"].find("$(TOPSUBDIRS)") != -1)
{
TQFile subdirsfile( m_subProject->path + "/subdirs" );
if ( subdirsfile.open( IO_WriteOnly | IO_Append ) )
@@ -116,7 +116,7 @@ void AddSubprojectDialog::accept()
subdirsfile.close();
}
}
- else if (m_subProject->variables["SUBDIRS"].tqfind("$(AUTODIRS)") != -1)
+ else if (m_subProject->variables["SUBDIRS"].find("$(AUTODIRS)") != -1)
{
}
else
@@ -162,7 +162,7 @@ void AddSubprojectDialog::accept()
if ( !m_part->isKDE() ) {
TQString projroot = m_part->projectDirectory() + "/";
TQString subdirectory = dir.path();
- TQString relpath = subdirectory.tqreplace(0, projroot.length(),"");
+ TQString relpath = subdirectory.replace(0, projroot.length(),"");
TQString configureFile = m_part->getAutoConfFile(projroot);