From 82fc754f7c4e43eace608a45c22e74e532bd33f1 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 13:29:56 -0600 Subject: Rename KStandard for enhanced compatibility with KDE4 --- languages/java/javasupportfactory.cpp | 6 +++--- languages/java/javasupportpart.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'languages/java') 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::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 ); -- cgit v1.2.1