diff options
Diffstat (limited to 'languages/cpp/cppsupportfactory.cpp')
-rw-r--r-- | languages/cpp/cppsupportfactory.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/languages/cpp/cppsupportfactory.cpp b/languages/cpp/cppsupportfactory.cpp index 41335cdb..ca98f2f3 100644 --- a/languages/cpp/cppsupportfactory.cpp +++ b/languages/cpp/cppsupportfactory.cpp @@ -11,21 +11,21 @@ #include <kinstance.h> #include <kstandarddirs.h> -#include <kdevplugininfo.h> +#include <tdevplugininfo.h> #include "cppsupportfactory.h" -K_EXPORT_COMPONENT_FACTORY( libkdevcppsupport, CppSupportFactory ) +K_EXPORT_COMPONENT_FACTORY( libtdevcppsupport, CppSupportFactory ) -static const KDevPluginInfo data("kdevcppsupport"); +static const TDevPluginInfo data("tdevcppsupport"); CppSupportFactory::CppSupportFactory() -: KDevGenericFactory<CppSupportPart>( data ) +: TDevGenericFactory<CppSupportPart>( data ) { } TDEInstance *CppSupportFactory::createInstance() { - TDEInstance *instance = KDevGenericFactory<CppSupportPart>::createInstance(); + TDEInstance *instance = TDevGenericFactory<CppSupportPart>::createInstance(); TDEStandardDirs *dirs = instance->dirs(); dirs->addResourceType( "newclasstemplates", TDEStandardDirs::kde_default("data") + "kdevcppsupport/newclass/" ); dirs->addResourceType( "pcs", TDEStandardDirs::kde_default( "data" ) + "kdevcppsupport/pcs/" ); @@ -33,7 +33,7 @@ TDEInstance *CppSupportFactory::createInstance() return instance; } -const KDevPluginInfo * CppSupportFactory::info() +const TDevPluginInfo * CppSupportFactory::info() { return &data; } |