summaryrefslogtreecommitdiffstats
path: root/buildtools/custommakefiles/customprojectpart.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2015-06-17 15:33:10 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2015-06-17 15:35:36 +0900
commit8b9c0d28fe084e8c7912a55f29052052edcfdd6e (patch)
tree9b199d1df7b3705bf6dc15594347c0267f3511fe /buildtools/custommakefiles/customprojectpart.cpp
parenta02c867020f0f7f4d399c1d2849ac990614036f8 (diff)
downloadtdevelop-8b9c0d28fe084e8c7912a55f29052052edcfdd6e.tar.gz
tdevelop-8b9c0d28fe084e8c7912a55f29052052edcfdd6e.zip
Revert to .kdevelop files with <kdevelop> entity name for project files.
This resolves bug 2308. Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit e044c5463329652f28565dfc7de24ef8b0edaa6f)
Diffstat (limited to 'buildtools/custommakefiles/customprojectpart.cpp')
-rw-r--r--buildtools/custommakefiles/customprojectpart.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/buildtools/custommakefiles/customprojectpart.cpp b/buildtools/custommakefiles/customprojectpart.cpp
index c737f941..f61782ae 100644
--- a/buildtools/custommakefiles/customprojectpart.cpp
+++ b/buildtools/custommakefiles/customprojectpart.cpp
@@ -421,14 +421,14 @@ void CustomProjectPart::openProject( const TQString &dirName, const TQString &pr
m_filelistDir = dirName;
if ( TQFileInfo( m_filelistDir + "/" + projectName.lower() +
- ".tdevelop.filelist" ).exists() )
+ ".kdevelop.filelist" ).exists() )
{
TQDir( m_filelistDir ).rename(
- projectName.lower() + ".tdevelop.filelist",
- projectName + ".tdevelop.filelist" );
+ projectName.lower() + ".kdevelop.filelist",
+ projectName + ".kdevelop.filelist" );
}
- TQFile f( m_filelistDir + "/" + projectName + ".tdevelop.filelist" );
+ TQFile f( m_filelistDir + "/" + projectName + ".kdevelop.filelist" );
if ( f.open( IO_ReadOnly ) )
{
TQTextStream stream( &f );
@@ -588,7 +588,7 @@ void CustomProjectPart::closeProject()
void CustomProjectPart::saveProject()
{
- TQFile f( m_filelistDir + "/" + m_projectName + ".tdevelop.filelist" );
+ TQFile f( m_filelistDir + "/" + m_projectName + ".kdevelop.filelist" );
if ( !f.open( IO_WriteOnly ) )
return;