diff options
Diffstat (limited to 'languages/cpp/cppsupportpart.cpp')
-rw-r--r-- | languages/cpp/cppsupportpart.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/languages/cpp/cppsupportpart.cpp b/languages/cpp/cppsupportpart.cpp index 9cae9c77..ac9d52ba 100644 --- a/languages/cpp/cppsupportpart.cpp +++ b/languages/cpp/cppsupportpart.cpp @@ -2,9 +2,9 @@ * Copyright (C) 1999 by Jonas Nordin * * jonas.nordin@syncom.se * * Copyright (C) 2000-2001 by Bernd Gehrmann * -* bernd@kdevelop.org * +* bernd@tdevelop.org * * Copyright (C) 2002-2003 by Roberto Raggi * -* roberto@kdevelop.org * +* roberto@tdevelop.org * * Copyright (C) 2003-2004 by Alexander Dymo * * adymo@mksat.net * * * @@ -81,7 +81,7 @@ #include <kmainwindow.h> #include <kstatusbar.h> #include <kconfig.h> -#include <kdeversion.h> +#include <tdeversion.h> #include <kstandarddirs.h> #include <kiconloader.h> @@ -1098,7 +1098,7 @@ TQString CppSupportPart::sourceOrHeaderCandidate( const KURL &url ) void CppSupportPart::slotSaveMemory() { if( m_backgroundParser ) { - ///This is done so the caches are completely empty after kdevelop was idle for some time(else it would be waste of memory). The background-parsers internal lexer-cache-manager just cares about keeping the count of cached files under a specific count, but doesn't decrease that count when kdevelop is idle. + ///This is done so the caches are completely empty after tdevelop was idle for some time(else it would be waste of memory). The background-parsers internal lexer-cache-manager just cares about keeping the count of cached files under a specific count, but doesn't decrease that count when tdevelop is idle. m_backgroundParser->lock(); m_backgroundParser->saveMemory(); m_backgroundParser->unlock(); @@ -1468,19 +1468,19 @@ bool CppSupportPart::parseProject( bool force ) _jd = new JobData; if( TQFileInfo( project() ->projectDirectory() + "/" + project()->projectName().lower() - + ".kdevelop.pcs" ).exists()) + + ".tdevelop.pcs" ).exists()) { TQDir d( project() ->projectDirectory()); - d.rename(project() ->projectName().lower() + ".kdevelop.pcs", - project() ->projectName() +".kdevelop.pcs"); + d.rename(project() ->projectName().lower() + ".tdevelop.pcs", + project() ->projectName() +".tdevelop.pcs"); } _jd->file.setName( project() ->projectDirectory() + "/" + project()->projectName() - + ".kdevelop.pcs" ); + + ".tdevelop.pcs" ); TQString skip_file_name = project() ->projectDirectory() + "/" + - project() ->projectName() + ".kdevelop.ignore_pcs"; + project() ->projectName() + ".tdevelop.ignore_pcs"; TQString skip_lower_file_name = project() ->projectDirectory() + "/" + - project() ->projectName().lower() + ".kdevelop.ignore_pcs"; + project() ->projectName().lower() + ".tdevelop.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() - + ".kdevelop.ignore_pcs" ); + + ".tdevelop.ignore_pcs" ); TQFile::remove( project() ->projectDirectory() + "/" + project() ->projectName().lower() - + ".kdevelop.ignore_pcs" ); + + ".tdevelop.ignore_pcs" ); } else @@ -2160,7 +2160,7 @@ void CppSupportPart::saveProjectSourceInfo() return ; TQFile f( project() ->projectDirectory() + "/" - + project() ->projectName() + ".kdevelop.pcs" ); + + project() ->projectName() + ".tdevelop.pcs" ); if ( !f.open( IO_WriteOnly ) ) return ; @@ -2201,9 +2201,9 @@ void CppSupportPart::saveProjectSourceInfo() } TQFile::remove( project() ->projectDirectory() + "/" - + project() ->projectName() + ".kdevelop.ignore_pcs" ); + + project() ->projectName() + ".tdevelop.ignore_pcs" ); TQFile::remove( project() ->projectDirectory() + "/" - + project() ->projectName().lower() + ".kdevelop.ignore_pcs" ); + + project() ->projectName().lower() + ".tdevelop.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() + ".kdevelop.ignore_pcs"; + + project() ->projectName() + ".tdevelop.ignore_pcs"; TQFile skip_pcs_file( skip_file_name ); if ( skip_pcs_file.open( IO_WriteOnly ) ) { |