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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/languages/cpp/cppsupportfactory.cpp b/languages/cpp/cppsupportfactory.cpp
index 1a87f1cd..5080a3a1 100644
--- a/languages/cpp/cppsupportfactory.cpp
+++ b/languages/cpp/cppsupportfactory.cpp
@@ -23,9 +23,9 @@ CppSupportFactory::CppSupportFactory()
{
}
-KInstance *CppSupportFactory::createInstance()
+TDEInstance *CppSupportFactory::createInstance()
{
- KInstance *instance = KDevGenericFactory<CppSupportPart>::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/" );