summaryrefslogtreecommitdiffstats
path: root/languages/cpp/cppsupportpart.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 /languages/cpp/cppsupportpart.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 'languages/cpp/cppsupportpart.cpp')
-rw-r--r--languages/cpp/cppsupportpart.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/languages/cpp/cppsupportpart.cpp b/languages/cpp/cppsupportpart.cpp
index 11a949a8..582fef1b 100644
--- a/languages/cpp/cppsupportpart.cpp
+++ b/languages/cpp/cppsupportpart.cpp
@@ -1468,19 +1468,19 @@ bool CppSupportPart::parseProject( bool force )
_jd = new JobData;
if( TQFileInfo( project() ->projectDirectory() + "/" + project()->projectName().lower()
- + ".tdevelop.pcs" ).exists())
+ + ".kdevelop.pcs" ).exists())
{
TQDir d( project() ->projectDirectory());
- d.rename(project() ->projectName().lower() + ".tdevelop.pcs",
- project() ->projectName() +".tdevelop.pcs");
+ d.rename(project() ->projectName().lower() + ".kdevelop.pcs",
+ project() ->projectName() +".kdevelop.pcs");
}
_jd->file.setName( project() ->projectDirectory() + "/" + project()->projectName()
- + ".tdevelop.pcs" );
+ + ".kdevelop.pcs" );
TQString skip_file_name = project() ->projectDirectory() + "/" +
- project() ->projectName() + ".tdevelop.ignore_pcs";
+ project() ->projectName() + ".kdevelop.ignore_pcs";
TQString skip_lower_file_name = project() ->projectDirectory() + "/" +
- project() ->projectName().lower() + ".tdevelop.ignore_pcs";
+ project() ->projectName().lower() + ".kdevelop.ignore_pcs";
if ( !force && !TQFile::exists( skip_file_name ) &&
!TQFile::exists( skip_lower_file_name ) && _jd->file.open( IO_ReadOnly ) )
@@ -1620,10 +1620,10 @@ void CppSupportPart::slotParseFiles()
mainWindow( ) ->statusBar( ) ->message( i18n( "Done" ), 2000 );
TQFile::remove( project() ->projectDirectory()
+ "/" + project() ->projectName()
- + ".tdevelop.ignore_pcs" );
+ + ".kdevelop.ignore_pcs" );
TQFile::remove( project() ->projectDirectory()
+ "/" + project() ->projectName().lower()
- + ".tdevelop.ignore_pcs" );
+ + ".kdevelop.ignore_pcs" );
}
else
@@ -2160,7 +2160,7 @@ void CppSupportPart::saveProjectSourceInfo()
return ;
TQFile f( project() ->projectDirectory() + "/"
- + project() ->projectName() + ".tdevelop.pcs" );
+ + project() ->projectName() + ".kdevelop.pcs" );
if ( !f.open( IO_WriteOnly ) )
return ;
@@ -2201,9 +2201,9 @@ void CppSupportPart::saveProjectSourceInfo()
}
TQFile::remove( project() ->projectDirectory() + "/"
- + project() ->projectName() + ".tdevelop.ignore_pcs" );
+ + project() ->projectName() + ".kdevelop.ignore_pcs" );
TQFile::remove( project() ->projectDirectory() + "/"
- + project() ->projectName().lower() + ".tdevelop.ignore_pcs" );
+ + project() ->projectName().lower() + ".kdevelop.ignore_pcs" );
m_backgroundParser->unlock();
}
@@ -2714,7 +2714,7 @@ void CppSupportPart::createIgnorePCSFile( )
static TQCString skip_me( "ignore me\n" );
TQString skip_file_name = project() ->projectDirectory() + "/"
- + project() ->projectName() + ".tdevelop.ignore_pcs";
+ + project() ->projectName() + ".kdevelop.ignore_pcs";
TQFile skip_pcs_file( skip_file_name );
if ( skip_pcs_file.open( IO_WriteOnly ) )
{