summaryrefslogtreecommitdiffstats
path: root/kspread
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:19:08 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-01-31 13:19:08 -0600
commitac04782336b6a026b44df9d51ba9ca008a712da2 (patch)
tree62ad1da391a6dad027a2d371671b19e5306acee0 /kspread
parentf7055674768fa7f0267da4a14b9061e60ebab3fc (diff)
downloadkoffice-ac04782336b6a026b44df9d51ba9ca008a712da2.tar.gz
koffice-ac04782336b6a026b44df9d51ba9ca008a712da2.zip
Rename KStandard for enhanced compatibility with KDE4
Diffstat (limited to 'kspread')
-rw-r--r--kspread/kspread_factory.cc8
-rw-r--r--kspread/kspread_view.cc2
2 files changed, 5 insertions, 5 deletions
diff --git a/kspread/kspread_factory.cc b/kspread/kspread_factory.cc
index 63f393a7..861b9d96 100644
--- a/kspread/kspread_factory.cc
+++ b/kspread/kspread_factory.cc
@@ -79,12 +79,12 @@ TDEInstance* Factory::global()
s_global = new TDEInstance(aboutData());
s_global->dirs()->addResourceType( "kspread_template",
- KStandardDirs::kde_default("data") + "kspread/templates/");
+ TDEStandardDirs::kde_default("data") + "kspread/templates/");
s_global->dirs()->addResourceType( "toolbar",
- KStandardDirs::kde_default("data") + "koffice/toolbar/");
- s_global->dirs()->addResourceType( "extensions", KStandardDirs::kde_default("data") + "kspread/extensions/");
- s_global->dirs()->addResourceType( "sheet-styles", KStandardDirs::kde_default("data") + "kspread/sheetstyles/");
+ TDEStandardDirs::kde_default("data") + "koffice/toolbar/");
+ s_global->dirs()->addResourceType( "extensions", TDEStandardDirs::kde_default("data") + "kspread/extensions/");
+ s_global->dirs()->addResourceType( "sheet-styles", TDEStandardDirs::kde_default("data") + "kspread/sheetstyles/");
// Tell the iconloader about share/apps/koffice/icons
s_global->iconLoader()->addAppDir("koffice");
}
diff --git a/kspread/kspread_view.cc b/kspread/kspread_view.cc
index d709c6c0..6de55b61 100644
--- a/kspread/kspread_view.cc
+++ b/kspread/kspread_view.cc
@@ -2868,7 +2868,7 @@ void View::createTemplate()
tempFile.name(), pix, this );
Factory::global()->dirs()->addResourceType("kspread_template",
- KStandardDirs::kde_default( "data" ) +
+ TDEStandardDirs::kde_default( "data" ) +
"kspread/templates/");
}