From 82fc754f7c4e43eace608a45c22e74e532bd33f1 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 13:29:56 -0600 Subject: Rename KStandard for enhanced compatibility with KDE4 --- languages/cpp/classgeneratorconfig.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'languages/cpp/classgeneratorconfig.cpp') 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() ); -- cgit v1.2.1