diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-22 20:20:05 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-01-22 20:20:05 -0600 |
commit | b19ddece21e102b8e4b292037ca7578f60b128fe (patch) | |
tree | 6572ca25aba80849cdfa7578bbbc9121d23afbc3 /tdecore/kglobal.cpp | |
parent | e729c6d549f12e27b358a1dad04ff254c033ac71 (diff) | |
download | tdelibs-b19ddece21e102b8e4b292037ca7578f60b128fe.tar.gz tdelibs-b19ddece21e102b8e4b292037ca7578f60b128fe.zip |
Rename KInstance and KAboutData to avoid conflicts with KDE4
Diffstat (limited to 'tdecore/kglobal.cpp')
-rw-r--r-- | tdecore/kglobal.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tdecore/kglobal.cpp b/tdecore/kglobal.cpp index 6c88302ce..57135a769 100644 --- a/tdecore/kglobal.cpp +++ b/tdecore/kglobal.cpp @@ -44,7 +44,7 @@ #ifndef NDEBUG #define MYASSERT(x) if (!x) \ - tqFatal("Fatal error: you need to have a KInstance object before\n" \ + tqFatal("Fatal error: you need to have a TDEInstance object before\n" \ "you do anything that requires it! Examples of this are config\n" \ "objects, standard directories or translations."); #else @@ -95,7 +95,7 @@ TDEGlobalNetworkManager *KGlobal::networkManager() return _instance->networkManager(); } -KInstance *KGlobal::instance() +TDEInstance *KGlobal::instance() { MYASSERT(_instance); return _instance; @@ -127,7 +127,7 @@ KCharsets *KGlobal::charsets() return _charsets; } -void KGlobal::setActiveInstance(KInstance *i) +void KGlobal::setActiveInstance(TDEInstance *i) { _activeInstance = i; if (i && _locale) @@ -215,8 +215,8 @@ KGlobal::deleteStaticDeleters() // The Variables KStringDict *KGlobal::_stringDict = 0; -KInstance *KGlobal::_instance = 0; -KInstance *KGlobal::_activeInstance = 0; +TDEInstance *KGlobal::_instance = 0; +TDEInstance *KGlobal::_activeInstance = 0; KLocale *KGlobal::_locale = 0; KCharsets *KGlobal::_charsets = 0; KStaticDeleterList *KGlobal::_staticDeleters = 0; |