From e044c5463329652f28565dfc7de24ef8b0edaa6f Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 17 Jun 2015 15:33:10 +0900 Subject: Revert to .kdevelop files with entity name for project files. This resolves bug 2308. Signed-off-by: Michele Calgaro --- buildtools/ant/antprojectpart.cpp | 4 ++-- buildtools/autotools/README.dox | 2 +- buildtools/custommakefiles/customprojectpart.cpp | 10 +++++----- 3 files changed, 8 insertions(+), 8 deletions(-) (limited to 'buildtools') diff --git a/buildtools/ant/antprojectpart.cpp b/buildtools/ant/antprojectpart.cpp index 902055ec..a9e5a2d4 100644 --- a/buildtools/ant/antprojectpart.cpp +++ b/buildtools/ant/antprojectpart.cpp @@ -97,7 +97,7 @@ void AntProjectPart::openProject(const TQString &dirName, const TQString &projec fillMenu(); - TQFile f(dirName + "/" + projectName.lower() + ".tdevelop" + ".filelist"); + TQFile f(dirName + "/" + projectName.lower() + ".kdevelop" + ".filelist"); if (f.open(IO_ReadOnly)) { TQTextStream stream(&f); @@ -164,7 +164,7 @@ void AntProjectPart::closeProject() m_antOptions = AntOptions(); - TQFile f(m_projectDirectory + "/" + m_projectName.lower() + ".tdevelop" + ".filelist"); + TQFile f(m_projectDirectory + "/" + m_projectName.lower() + ".kdevelop" + ".filelist"); if (!f.open(IO_WriteOnly)) return; diff --git a/buildtools/autotools/README.dox b/buildtools/autotools/README.dox index b80730ba..8e3c6e59 100644 --- a/buildtools/autotools/README.dox +++ b/buildtools/autotools/README.dox @@ -17,7 +17,7 @@ reconfigure subprojects**. \bug bugs in autoproject component at Bugzilla database \bug Lower Automake Manager view does not update it's view when adding a subproject (and targets, etc to the new subproject) -\bug If removing the Active Target, update the .tdevelop file, too! +\bug If removing the Active Target, update the .kdevelop file, too! \note 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; -- cgit v1.2.1