summaryrefslogtreecommitdiffstats
path: root/languages/cpp/cppsupportfactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/cppsupportfactory.cpp')
-rw-r--r--languages/cpp/cppsupportfactory.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/languages/cpp/cppsupportfactory.cpp b/languages/cpp/cppsupportfactory.cpp
index 5080a3a1..3b3091d5 100644
--- a/languages/cpp/cppsupportfactory.cpp
+++ b/languages/cpp/cppsupportfactory.cpp
@@ -26,9 +26,9 @@ CppSupportFactory::CppSupportFactory()
TDEInstance *CppSupportFactory::createInstance()
{
TDEInstance *instance = KDevGenericFactory<CppSupportPart>::createInstance();
- KStandardDirs *dirs = instance->dirs();
- dirs->addResourceType( "newclasstemplates", KStandardDirs::kde_default("data") + "kdevcppsupport/newclass/" );
- dirs->addResourceType( "pcs", KStandardDirs::kde_default( "data" ) + "kdevcppsupport/pcs/" );
+ TDEStandardDirs *dirs = instance->dirs();
+ dirs->addResourceType( "newclasstemplates", TDEStandardDirs::kde_default("data") + "kdevcppsupport/newclass/" );
+ dirs->addResourceType( "pcs", TDEStandardDirs::kde_default( "data" ) + "kdevcppsupport/pcs/" );
return instance;
}