diff options
Diffstat (limited to 'kexi/3rdparty/kolibs/koGlobal.cc')
-rw-r--r-- | kexi/3rdparty/kolibs/koGlobal.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kexi/3rdparty/kolibs/koGlobal.cc b/kexi/3rdparty/kolibs/koGlobal.cc index a88e3bcd..1bdab489 100644 --- a/kexi/3rdparty/kolibs/koGlobal.cc +++ b/kexi/3rdparty/kolibs/koGlobal.cc @@ -48,15 +48,15 @@ KoGlobal::KoGlobal() : m_pointSize( -1 ), m_kofficeConfig( 0L ) { // 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 @@ -77,7 +77,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 ) { @@ -132,7 +132,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 ) |