From ac04782336b6a026b44df9d51ba9ca008a712da2 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Thu, 31 Jan 2013 13:19:08 -0600 Subject: Rename KStandard for enhanced compatibility with KDE4 --- kchart/kchart_factory.cc | 2 +- kchart/kchart_view.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'kchart') diff --git a/kchart/kchart_factory.cc b/kchart/kchart_factory.cc index 4c3f7864..f45e6aed 100644 --- a/kchart/kchart_factory.cc +++ b/kchart/kchart_factory.cc @@ -70,7 +70,7 @@ TDEInstance* KChartFactory::global() { s_global = new TDEInstance(aboutData()); s_global->dirs()->addResourceType( "kchart_template", - KStandardDirs::kde_default("data") + "kchart/templates/"); + TDEStandardDirs::kde_default("data") + "kchart/templates/"); // Tell the iconloader about share/apps/koffice/icons s_global->iconLoader()->addAppDir("koffice"); } diff --git a/kchart/kchart_view.cc b/kchart/kchart_view.cc index 2d1f0799..00606e81 100644 --- a/kchart/kchart_view.cc +++ b/kchart/kchart_view.cc @@ -754,7 +754,7 @@ void KChartView::extraCreateTemplate() tempFile.name(), pix, this ); KChartFactory::global()->dirs()->addResourceType("kchart_template", - KStandardDirs::kde_default( "data" ) + + TDEStandardDirs::kde_default( "data" ) + "kchart/templates/"); } -- cgit v1.2.1