summaryrefslogtreecommitdiffstats
path: root/languages/cpp/cppnewclassdlg.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-05-25 15:37:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-05-25 15:37:31 +0900
commit6392f5a9dfce2bf83617d49bb7f332181ec6004e (patch)
treeab69e390f7962b7e7dda1a3a64f035c61c751cf4 /languages/cpp/cppnewclassdlg.cpp
parentaba2788b428dc53243407902e9ccbb20b97a69fd (diff)
downloadtdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.tar.gz
tdevelop-6392f5a9dfce2bf83617d49bb7f332181ec6004e.zip
Revert "Finish renaming tdevelop components"
This reverts commit 722ce1efbac31c61b1d4b13f7e075c9f311e3e73.
Diffstat (limited to 'languages/cpp/cppnewclassdlg.cpp')
-rw-r--r--languages/cpp/cppnewclassdlg.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/languages/cpp/cppnewclassdlg.cpp b/languages/cpp/cppnewclassdlg.cpp
index 84c8fe4e..6289da44 100644
--- a/languages/cpp/cppnewclassdlg.cpp
+++ b/languages/cpp/cppnewclassdlg.cpp
@@ -40,10 +40,10 @@
#include <tdeversion.h>
#include "cppsupportpart.h"
-#include "tdevproject.h"
-#include "tdevsourceformatter.h"
-#include "tdevcoderepository.h"
-#include "tdevpartcontroller.h"
+#include "kdevproject.h"
+#include "kdevsourceformatter.h"
+#include "kdevcoderepository.h"
+#include "kdevpartcontroller.h"
#include "backgroundparser.h"
#include "domutil.h"
#include "filetemplate.h"
@@ -65,7 +65,7 @@ CppNewClassDialog::CppNewClassDialog( CppSupportPart *part, TQWidget *parent, co
implementationModified = false;
m_part = part;
// read file template configuration
- // TDevProject *project = part->project();
+ // KDevProject *project = part->project();
TQDomDocument &dom = *part->projectDom();
interface_url = DomUtil::readEntry( dom, "/cppsupportpart/filetemplates/interfaceURL" );
implementation_url = DomUtil::readEntry( dom, "/cppsupportpart/filetemplates/implementationURL" );
@@ -1342,7 +1342,7 @@ bool CppNewClassDialog::ClassGenerator::validateInput()
}
/// \FIXME
- if ( ( header.find( '/' ) != -1 || implementation.find( '/' ) != -1 ) && !( dlg.m_part->project() ->options() & TDevProject::UsesTQMakeBuildSystem) )
+ if ( ( header.find( '/' ) != -1 || implementation.find( '/' ) != -1 ) && !( dlg.m_part->project() ->options() & KDevProject::UsesTQMakeBuildSystem) )
{
KMessageBox::error( &dlg, i18n( "Generated files will always be added to the "
"active directory, so you must not give an "
@@ -1376,7 +1376,7 @@ bool CppNewClassDialog::ClassGenerator::generate()
return false;
}
- if( ( dlg.m_part->project() ->options() & TDevProject::UsesTQMakeBuildSystem) )
+ if( ( dlg.m_part->project() ->options() & KDevProject::UsesTQMakeBuildSystem) )
{
TQDir dir( TQFileInfo( project->projectDirectory()+TQString( TQChar( TQDir::separator() ) )+project->activeDirectory() + TQString( TQChar( TQDir::separator() ) ) + header ).dirPath() );
kdDebug(9024) << "Dir for new file:" << dir.absPath() << endl;
@@ -1818,7 +1818,7 @@ void CppNewClassDialog::ClassGenerator::gen_implementation()
classImpl.replace( TQRegExp( "\\$NAMESPACEEND\\$" ), namespaceEnd );
classImpl.replace( TQRegExp( "\\$FILENAME\\$" ), implementation );
- if ( ( dlg.m_part->project() ) && ( childClass || qobject ) && ( dlg.m_part->project() ->options() & TDevProject::UsesAutotoolsBuildSystem ) )
+ if ( ( dlg.m_part->project() ) && ( childClass || qobject ) && ( dlg.m_part->project() ->options() & KDevProject::UsesAutotoolsBuildSystem ) )
{
TQString moc = header;
moc.replace( TQRegExp( "\\..*" ), ".moc" );