diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 13:29:56 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-31 13:29:56 -0600 |
commit | 82fc754f7c4e43eace608a45c22e74e532bd33f1 (patch) | |
tree | 7e1217a13d974e19f4e03cd914de2a217e832f21 /languages/java | |
parent | 8d6fecdf83984625b9bc6d010a6a00ee670af344 (diff) | |
download | tdevelop-82fc754f7c4e43eace608a45c22e74e532bd33f1.tar.gz tdevelop-82fc754f7c4e43eace608a45c22e74e532bd33f1.zip |
Rename KStandard for enhanced compatibility with KDE4
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 ); |