summaryrefslogtreecommitdiffstats
path: root/buildtools/pascal/pascalproject_part.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'buildtools/pascal/pascalproject_part.cpp')
-rw-r--r--buildtools/pascal/pascalproject_part.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/buildtools/pascal/pascalproject_part.cpp b/buildtools/pascal/pascalproject_part.cpp
index 6d26ac60..bbc5037a 100644
--- a/buildtools/pascal/pascalproject_part.cpp
+++ b/buildtools/pascal/pascalproject_part.cpp
@@ -256,7 +256,7 @@ TQString PascalProjectPart::mainSource() const
void PascalProjectPart::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() );
}
@@ -273,7 +273,7 @@ TQString PascalProjectPart::projectName() const
TQString PascalProjectPart::activeDirectory() const
{
TQFileInfo fi(mainSource());
- return fi.dirPath(true).tqreplace(TQRegExp(projectDirectory()),"");
+ return fi.dirPath(true).replace(TQRegExp(projectDirectory()),"");
}
TQString PascalProjectPart::buildDirectory() const