summaryrefslogtreecommitdiffstats
path: root/languages/cpp/cppnewclassdlg.cpp
diff options
context:
space:
mode:
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 6289da44..84c8fe4e 100644
--- a/languages/cpp/cppnewclassdlg.cpp
+++ b/languages/cpp/cppnewclassdlg.cpp
@@ -40,10 +40,10 @@
#include <tdeversion.h>
#include "cppsupportpart.h"
-#include "kdevproject.h"
-#include "kdevsourceformatter.h"
-#include "kdevcoderepository.h"
-#include "kdevpartcontroller.h"
+#include "tdevproject.h"
+#include "tdevsourceformatter.h"
+#include "tdevcoderepository.h"
+#include "tdevpartcontroller.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
- // KDevProject *project = part->project();
+ // TDevProject *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() & KDevProject::UsesTQMakeBuildSystem) )
+ if ( ( header.find( '/' ) != -1 || implementation.find( '/' ) != -1 ) && !( dlg.m_part->project() ->options() & TDevProject::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() & KDevProject::UsesTQMakeBuildSystem) )
+ if( ( dlg.m_part->project() ->options() & TDevProject::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() & KDevProject::UsesAutotoolsBuildSystem ) )
+ if ( ( dlg.m_part->project() ) && ( childClass || qobject ) && ( dlg.m_part->project() ->options() & TDevProject::UsesAutotoolsBuildSystem ) )
{
TQString moc = header;
moc.replace( TQRegExp( "\\..*" ), ".moc" );