diff options
Diffstat (limited to 'buildtools/custommakefiles/customprojectpart.cpp')
-rw-r--r-- | buildtools/custommakefiles/customprojectpart.cpp | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/buildtools/custommakefiles/customprojectpart.cpp b/buildtools/custommakefiles/customprojectpart.cpp index 4010c742..ecdabd64 100644 --- a/buildtools/custommakefiles/customprojectpart.cpp +++ b/buildtools/custommakefiles/customprojectpart.cpp @@ -1,6 +1,6 @@ /*************************************************************************** * Copyright (C) 2001-2002 by Bernd Gehrmann * - * bernd@kdevelop.org * + * bernd@tdevelop.org * * Copyright (C) 2007 by Andreas Pakulat * * apaku@gmx.de * * * @@ -38,7 +38,7 @@ #include <kmessagebox.h> #include <kparts/part.h> #include <kpopupmenu.h> -#include <kdeversion.h> +#include <tdeversion.h> #include <kprocess.h> #include "domutil.h" @@ -80,7 +80,7 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const action->setToolTip( i18n( "Re-Populate Project" ) ); action->setWhatsThis( i18n( "<b>Re-Populate Project</b><p>Re-Populates the project, searching through the project directory and adding all files that match one of the wildcards set in the custom manager options of the project filelist." ) ); - action = new KAction( i18n( "&Build Project" ), "make_kdevelop", Key_F8, + action = new KAction( i18n( "&Build Project" ), "make_tdevelop", Key_F8, this, TQT_SLOT( slotBuild() ), actionCollection(), "build_build" ); action->setToolTip( i18n( "Build project" ) ); @@ -88,7 +88,7 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const "Environment variables and make arguments can be specified " "in the project settings dialog, <b>Build Options</b> tab." ) ); - action = new KAction( i18n( "&Build Active Directory" ), "make_kdevelop", Key_F7, + action = new KAction( i18n( "&Build Active Directory" ), "make_tdevelop", Key_F7, this, TQT_SLOT( slotBuildActiveDir() ), actionCollection(), "build_buildactivetarget" ); action->setToolTip( i18n( "Build active directory" ) ); @@ -96,7 +96,7 @@ CustomProjectPart::CustomProjectPart( TQObject *parent, const char *name, const "Environment variables and make arguments can be specified " "in the project settings dialog, <b>Make Options</b> tab." ) ); - action = new KAction( i18n( "Compile &File" ), "make_kdevelop", + action = new KAction( i18n( "Compile &File" ), "make_tdevelop", this, TQT_SLOT( slotCompileFile() ), actionCollection(), "build_compilefile" ); action->setToolTip( i18n( "Compile file" ) ); @@ -412,23 +412,23 @@ void CustomProjectPart::openProject( const TQString &dirName, const TQString &pr DomUtil::writeListEntry( dom, "/kdevcustomproject/filetypes", "filetype", types ); } - /*this entry is currently only created by the cmake kdevelop3 project generator + /*this entry is currently only created by the cmake tdevelop3 project generator in order to support completely-out-of-source builds, where nothing, not - even the kdevelop project files are created in the source directory, Alex <neundorf@kde.org> + even the tdevelop project files are created in the source directory, Alex <neundorf@kde.org> */ m_filelistDir = DomUtil::readEntry( dom, "/kdevcustomproject/filelistdirectory" ); if ( m_filelistDir.isEmpty() ) m_filelistDir = dirName; if ( TQFileInfo( m_filelistDir + "/" + projectName.lower() + - ".kdevelop.filelist" ).exists() ) + ".tdevelop.filelist" ).exists() ) { TQDir( m_filelistDir ).rename( - projectName.lower() + ".kdevelop.filelist", - projectName + ".kdevelop.filelist" ); + projectName.lower() + ".tdevelop.filelist", + projectName + ".tdevelop.filelist" ); } - TQFile f( m_filelistDir + "/" + projectName + ".kdevelop.filelist" ); + TQFile f( m_filelistDir + "/" + projectName + ".tdevelop.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 + ".kdevelop.filelist" ); + TQFile f( m_filelistDir + "/" + m_projectName + ".tdevelop.filelist" ); if ( !f.open( IO_WriteOnly ) ) return; |