summaryrefslogtreecommitdiffstats
path: root/languages/cpp/classgeneratorconfig.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/classgeneratorconfig.cpp')
-rw-r--r--languages/cpp/classgeneratorconfig.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/languages/cpp/classgeneratorconfig.cpp b/languages/cpp/classgeneratorconfig.cpp
index f3dba7fb..f8b42f52 100644
--- a/languages/cpp/classgeneratorconfig.cpp
+++ b/languages/cpp/classgeneratorconfig.cpp
@@ -165,7 +165,7 @@ void ClassGeneratorConfig::readConfig()
reformat_box->setChecked( config->readBoolEntry( "Reformat Source", 0 ) );
- KStandardDirs *dirs = CppSupportFactory::instance() ->dirs();
+ TDEStandardDirs *dirs = CppSupportFactory::instance() ->dirs();
cppHeaderText = templateText( dirs->findResource( "newclasstemplates", "cpp_header" ) );
cppSourceText = templateText( dirs->findResource( "newclasstemplates", "cpp_source" ) );
@@ -211,7 +211,7 @@ void ClassGeneratorConfig::storeConfig()
config->writeEntry( "Reformat Source", reformat_box->isChecked() );
- KStandardDirs *dirs = CppSupportFactory::instance() ->dirs();
+ TDEStandardDirs *dirs = CppSupportFactory::instance() ->dirs();
saveTemplateText( dirs->saveLocation( "newclasstemplates" ) + "cpp_header", cppHeader() );
saveTemplateText( dirs->saveLocation( "newclasstemplates" ) + "cpp_source", cppSource() );