diff options
Diffstat (limited to 'languages/cpp/addmethoddialog.cpp')
-rw-r--r-- | languages/cpp/addmethoddialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/languages/cpp/addmethoddialog.cpp b/languages/cpp/addmethoddialog.cpp index f9e9c602..c9593844 100644 --- a/languages/cpp/addmethoddialog.cpp +++ b/languages/cpp/addmethoddialog.cpp @@ -24,8 +24,8 @@ #include "cppsupport_utils.h" #include "domutil.h" -#include <tdevpartcontroller.h> -#include <tdevcreatefile.h> +#include <kdevpartcontroller.h> +#include <kdevcreatefile.h> #include <tdelocale.h> #include <tdefiledialog.h> @@ -236,7 +236,7 @@ void AddMethodDialog::accept() TQFileInfo fileInfo( implementationFile ); if ( !TQFile::exists( fileInfo.absFilePath() ) ) { - if ( TDevCreateFile * createFileSupp = m_cppSupport->extension<TDevCreateFile>( "TDevelop/CreateFile" ) ) + if ( KDevCreateFile * createFileSupp = m_cppSupport->extension<KDevCreateFile>( "TDevelop/CreateFile" ) ) createFileSupp->createNewFile( fileInfo.extension(), fileInfo.dirPath( true ), fileInfo.baseName() ); } |