diff options
Diffstat (limited to 'languages/java/javasupportfactory.cpp')
-rw-r--r-- | languages/java/javasupportfactory.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/languages/java/javasupportfactory.cpp b/languages/java/javasupportfactory.cpp index 94e435f2..ac1eaadb 100644 --- a/languages/java/javasupportfactory.cpp +++ b/languages/java/javasupportfactory.cpp @@ -11,28 +11,28 @@ #include <kinstance.h> #include <kstandarddirs.h> -#include <kdevplugininfo.h> +#include <tdevplugininfo.h> #include "javasupportfactory.h" -static const KDevPluginInfo data("kdevjavasupport"); -K_EXPORT_COMPONENT_FACTORY( libkdevjavasupport, JavaSupportFactory ) +static const TDevPluginInfo data("tdevjavasupport"); +K_EXPORT_COMPONENT_FACTORY( libtdevjavasupport, JavaSupportFactory ) JavaSupportFactory::JavaSupportFactory() - : KDevGenericFactory<JavaSupportPart>( data ) + : TDevGenericFactory<JavaSupportPart>( data ) { } TDEInstance *JavaSupportFactory::createInstance() { - TDEInstance *instance = KDevGenericFactory<JavaSupportPart>::createInstance(); + TDEInstance *instance = TDevGenericFactory<JavaSupportPart>::createInstance(); TDEStandardDirs *dirs = instance->dirs(); - dirs->addResourceType( "newclasstemplates", TDEStandardDirs::kde_default("data") + "kdevjavasupport/newclass/" ); - dirs->addResourceType( "pcs", TDEStandardDirs::kde_default( "data" ) + "kdevjavasupport/pcs/" ); + dirs->addResourceType( "newclasstemplates", TDEStandardDirs::kde_default("data") + "tdevjavasupport/newclass/" ); + dirs->addResourceType( "pcs", TDEStandardDirs::kde_default( "data" ) + "tdevjavasupport/pcs/" ); return instance; } -const KDevPluginInfo *JavaSupportFactory::info() +const TDevPluginInfo *JavaSupportFactory::info() { return &data; } |