summaryrefslogtreecommitdiffstats
path: root/buildtools/ada/adaproject_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/ada/adaproject_part.cpp')
-rw-r--r--buildtools/ada/adaproject_part.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildtools/ada/adaproject_part.cpp b/buildtools/ada/adaproject_part.cpp
index d747eb00..427f7505 100644
--- a/buildtools/ada/adaproject_part.cpp
+++ b/buildtools/ada/adaproject_part.cpp
@@ -249,7 +249,7 @@ TQString AdaProjectPart::mainSource() const
void AdaProjectPart::setMainSource(TQString fullPath)
{
TQString olddir = activeDirectory();
- m_mainSource = fullPath.tqreplace(TQRegExp(TQString(projectDirectory() + TQString("/"))),"");
+ m_mainSource = fullPath.replace(TQRegExp(TQString(projectDirectory() + TQString("/"))),"");
emit activeDirectoryChanged( olddir, activeDirectory() );
}
@@ -266,7 +266,7 @@ TQString AdaProjectPart::projectName() const
TQString AdaProjectPart::activeDirectory() const
{
TQFileInfo fi(mainSource());
- return fi.dirPath(true).tqreplace(TQRegExp(projectDirectory()),"");
+ return fi.dirPath(true).replace(TQRegExp(projectDirectory()),"");
}
TQString AdaProjectPart::buildDirectory() const