diff options
Diffstat (limited to 'languages/java')
-rw-r--r-- | languages/java/javasupportfactory.cpp | 6 | ||||
-rw-r--r-- | languages/java/javasupportpart.cpp | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/languages/java/javasupportfactory.cpp b/languages/java/javasupportfactory.cpp index 11823c22..7aac989e 100644 --- a/languages/java/javasupportfactory.cpp +++ b/languages/java/javasupportfactory.cpp @@ -25,9 +25,9 @@ JavaSupportFactory::JavaSupportFactory() TDEInstance *JavaSupportFactory::createInstance() { TDEInstance *instance = KDevGenericFactory<JavaSupportPart>::createInstance(); - KStandardDirs *dirs = instance->dirs(); - dirs->addResourceType( "newclasstemplates", KStandardDirs::kde_default("data") + "kdevjavasupport/newclass/" ); - dirs->addResourceType( "pcs", KStandardDirs::kde_default( "data" ) + "kdevjavasupport/pcs/" ); + TDEStandardDirs *dirs = instance->dirs(); + dirs->addResourceType( "newclasstemplates", TDEStandardDirs::kde_default("data") + "kdevjavasupport/newclass/" ); + dirs->addResourceType( "pcs", TDEStandardDirs::kde_default( "data" ) + "kdevjavasupport/pcs/" ); return instance; } diff --git a/languages/java/javasupportpart.cpp b/languages/java/javasupportpart.cpp index d5aaeda0..23ae1cc7 100644 --- a/languages/java/javasupportpart.cpp +++ b/languages/java/javasupportpart.cpp @@ -704,7 +704,7 @@ void JavaSupportPart::setupCatalog( ) TQStringList indexList = TQStringList() << "kind" << "name" << "scope" << "fileName"; - KStandardDirs *dirs = JavaSupportFactory::instance()->dirs(); + TDEStandardDirs *dirs = JavaSupportFactory::instance()->dirs(); TQStringList pcsList = dirs->findAllResources( "pcs", "*.db", false, true ); TQStringList pcsIdxList = dirs->findAllResources( "pcs", "*.idx", false, true ); |