From 3a044decb0a5d7be822c888b2d5374573d7df96e Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 22 Jan 2013 20:23:50 -0600 Subject: Rename KInstance and KAboutData to avoid conflicts with KDE4 --- languages/cpp/cppsupportfactory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'languages/cpp/cppsupportfactory.cpp') 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::createInstance(); + TDEInstance *instance = KDevGenericFactory::createInstance(); KStandardDirs *dirs = instance->dirs(); dirs->addResourceType( "newclasstemplates", KStandardDirs::kde_default("data") + "kdevcppsupport/newclass/" ); dirs->addResourceType( "pcs", KStandardDirs::kde_default( "data" ) + "kdevcppsupport/pcs/" ); -- cgit v1.2.3