diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/kformula/kformuladocument.cc | 2 | ||||
-rw-r--r-- | lib/kofficecore/KoGlobal.cpp | 2 | ||||
-rw-r--r-- | lib/kofficecore/KoTemplates.cpp | 4 | ||||
-rw-r--r-- | lib/kofficeui/KoTemplateCreateDia.cpp | 2 | ||||
-rw-r--r-- | lib/kotext/KoAutoFormatDia.cpp | 2 |
5 files changed, 6 insertions, 6 deletions
diff --git a/lib/kformula/kformuladocument.cc b/lib/kformula/kformuladocument.cc index 36b691de..1b440b99 100644 --- a/lib/kformula/kformuladocument.cc +++ b/lib/kformula/kformuladocument.cc @@ -437,7 +437,7 @@ void DocumentWrapper::setCommandStack( KoCommandHistory* history ) void DocumentWrapper::createActions( KActionCollection* collection ) { TDEGlobal::dirs()->addResourceType( "toolbar", - KStandardDirs::kde_default("data") + + TDEStandardDirs::kde_default("data") + "kformula/pics/" ); m_addNegThinSpaceAction = new KAction( i18n( "Add Negative Thin Space" ), diff --git a/lib/kofficecore/KoGlobal.cpp b/lib/kofficecore/KoGlobal.cpp index 56639797..40050232 100644 --- a/lib/kofficecore/KoGlobal.cpp +++ b/lib/kofficecore/KoGlobal.cpp @@ -55,7 +55,7 @@ KoGlobal::KoGlobal() KImageIO::registerFormats(); - // Tell KStandardDirs about the koffice prefix + // Tell TDEStandardDirs about the koffice prefix TDEGlobal::dirs()->addPrefix(PREFIX); // Tell the iconloader about share/apps/koffice/icons diff --git a/lib/kofficecore/KoTemplates.cpp b/lib/kofficecore/KoTemplates.cpp index 2d65368e..68daddb0 100644 --- a/lib/kofficecore/KoTemplates.cpp +++ b/lib/kofficecore/KoTemplates.cpp @@ -160,7 +160,7 @@ void KoTemplateTree::writeTemplateTree() { //kdDebug() << "touched" << endl; if(!group->isHidden()) { //kdDebug() << "not hidden" << endl; - KStandardDirs::makeDir(localDir+group->name()); // create the local group dir + TDEStandardDirs::makeDir(localDir+group->name()); // create the local group dir } else { //kdDebug() << "hidden" << endl; @@ -171,7 +171,7 @@ void KoTemplateTree::writeTemplateTree() { } else { //kdDebug() << "global" << endl; - KStandardDirs::makeDir(localDir+group->name()); + TDEStandardDirs::makeDir(localDir+group->name()); } } } diff --git a/lib/kofficeui/KoTemplateCreateDia.cpp b/lib/kofficeui/KoTemplateCreateDia.cpp index 2e939954..a42b580f 100644 --- a/lib/kofficeui/KoTemplateCreateDia.cpp +++ b/lib/kofficeui/KoTemplateCreateDia.cpp @@ -294,7 +294,7 @@ void KoTemplateCreateDia::slotOk() { ignore = true; } - if(!KStandardDirs::makeDir(templateDir) || !KStandardDirs::makeDir(iconDir)) { + if(!TDEStandardDirs::makeDir(templateDir) || !TDEStandardDirs::makeDir(iconDir)) { d->m_tree->writeTemplateTree(); KDialogBase::slotCancel(); return; diff --git a/lib/kotext/KoAutoFormatDia.cpp b/lib/kotext/KoAutoFormatDia.cpp index eacf63a3..bc582bd5 100644 --- a/lib/kotext/KoAutoFormatDia.cpp +++ b/lib/kotext/KoAutoFormatDia.cpp @@ -498,7 +498,7 @@ void KoAutoFormatDia::setupTab3() exceptionLanguageName.insert( i18n("Default"), ""); exceptionLanguageName.insert( i18n("All Languages"), "all_languages"); - KStandardDirs *standard = new KStandardDirs(); + TDEStandardDirs *standard = new TDEStandardDirs(); TQStringList tmp = standard->findDirs("data", "koffice/autocorrect/"); TQString path = *(tmp.end()); for ( TQStringList::Iterator it = tmp.begin(); it != tmp.end(); ++it ) |