diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:10:32 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-25 00:10:32 -0600 |
commit | 3fe437def8063926892bddf2dcc733861308836d (patch) | |
tree | 021d66ad023a32bc8ea0074a1ab3d01316aff8b0 /kexi/3rdparty | |
parent | 5b8ab149469c8e186ee8b05d90c0103ae722dd85 (diff) | |
download | koffice-3fe437def8063926892bddf2dcc733861308836d.tar.gz koffice-3fe437def8063926892bddf2dcc733861308836d.zip |
Rename KCModule, KConfig, KIO, KServer, and KSocket to avoid conflicts with KDE4
Diffstat (limited to 'kexi/3rdparty')
-rw-r--r-- | kexi/3rdparty/kolibs/koGlobal.cc | 6 | ||||
-rw-r--r-- | kexi/3rdparty/kolibs/koGlobal.h | 12 |
2 files changed, 9 insertions, 9 deletions
diff --git a/kexi/3rdparty/kolibs/koGlobal.cc b/kexi/3rdparty/kolibs/koGlobal.cc index 1bdab489..739c6126 100644 --- a/kexi/3rdparty/kolibs/koGlobal.cc +++ b/kexi/3rdparty/kolibs/koGlobal.cc @@ -108,7 +108,7 @@ TQStringList KoGlobal::_listOfLanguages() void KoGlobal::createListOfLanguages() { - KConfig config( "all_languages", true, false, "locale" ); + TDEConfig config( "all_languages", true, false, "locale" ); // Note that we could also use KLocale::allLanguagesTwoAlpha TQMap<TQString, bool> seenLanguages; @@ -185,10 +185,10 @@ TQString KoGlobal::languageFromTag( const TQString &langTag ) return langTag; } -KConfig* KoGlobal::_kofficeConfig() +TDEConfig* KoGlobal::_kofficeConfig() { if ( !m_kofficeConfig ) { - m_kofficeConfig = new KConfig( "kofficerc" ); + m_kofficeConfig = new TDEConfig( "kofficerc" ); } return m_kofficeConfig; } diff --git a/kexi/3rdparty/kolibs/koGlobal.h b/kexi/3rdparty/kolibs/koGlobal.h index cad645b4..15523b3e 100644 --- a/kexi/3rdparty/kolibs/koGlobal.h +++ b/kexi/3rdparty/kolibs/koGlobal.h @@ -25,7 +25,7 @@ #include <tqstringlist.h> #include <tqfont.h> #include <tqmap.h> -class KConfig; +class TDEConfig; #include <koffice_export.h> class KOFFICECORE_EXPORT KoGlobal @@ -46,12 +46,12 @@ public: } /** - * @return the global KConfig object around kofficerc. + * @return the global TDEConfig object around kofficerc. * kofficerc is used for KOffice-wide settings, from totally unrelated classes, - * so this is the centralization of the KConfig object so that the file is + * so this is the centralization of the TDEConfig object so that the file is * parsed only once */ - static KConfig* kofficeConfig() { + static TDEConfig* kofficeConfig() { return self()->_kofficeConfig(); } @@ -87,13 +87,13 @@ private: TQFont _defaultFont(); TQStringList _listOfLanguages(); TQStringList _listOfLanguageTags(); - KConfig* _kofficeConfig(); + TDEConfig* _kofficeConfig(); void createListOfLanguages(); int m_pointSize; typedef TQMap<TQString, TQString> LanguageMap; LanguageMap m_langMap; // display-name -> language tag - KConfig* m_kofficeConfig; + TDEConfig* m_kofficeConfig; int m_dpiX; int m_dpiY; // No BC problem here, constructor is private, feel free to add members |