summaryrefslogtreecommitdiffstats
path: root/lib/kofficecore/KoGlobal.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/kofficecore/KoGlobal.cpp')
-rw-r--r--lib/kofficecore/KoGlobal.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/kofficecore/KoGlobal.cpp b/lib/kofficecore/KoGlobal.cpp
index 3c979f93..10ee5bd9 100644
--- a/lib/kofficecore/KoGlobal.cpp
+++ b/lib/kofficecore/KoGlobal.cpp
@@ -51,15 +51,15 @@ KoGlobal::KoGlobal()
setlocale( LC_NUMERIC, "C" );
// Install the libkoffice* translations
- KGlobal::locale()->insertCatalogue("koffice");
+ TDEGlobal::locale()->insertCatalogue("koffice");
KImageIO::registerFormats();
// Tell KStandardDirs about the koffice prefix
- KGlobal::dirs()->addPrefix(PREFIX);
+ TDEGlobal::dirs()->addPrefix(PREFIX);
// Tell the iconloader about share/apps/koffice/icons
- KGlobal::iconLoader()->addAppDir("koffice");
+ TDEGlobal::iconLoader()->addAppDir("koffice");
// Another way to get the DPI of the display would be TQPaintDeviceMetrics,
// but we have no widget here (and moving this to KoView wouldn't allow
@@ -80,7 +80,7 @@ KoGlobal::~KoGlobal()
TQFont KoGlobal::_defaultFont()
{
- TQFont font = KGlobalSettings::generalFont();
+ TQFont font = TDEGlobalSettings::generalFont();
// we have to use TQFontInfo, in case the font was specified with a pixel size
if ( font.pointSize() == -1 )
{
@@ -135,7 +135,7 @@ void KoGlobal::createListOfLanguages()
// Many of them are already in all_languages but all_languages doesn't
// currently have en_GB or en_US etc.
- const TQStringList translationList = KGlobal::dirs()->findAllResources("locale",
+ const TQStringList translationList = TDEGlobal::dirs()->findAllResources("locale",
TQString::fromLatin1("*/entry.desktop"));
for ( TQStringList::ConstIterator it = translationList.begin();
it != translationList.end(); ++it )