using namespace in header removed, rectified resulting changes

* using namespace in context_runtime.h
* in same step also fixed some other using namespace issues
This commit is contained in:
Klaus Basan
2014-12-16 21:18:50 +01:00
parent f62f85b263
commit 9e5f228b08
19 changed files with 66 additions and 42 deletions

View File

@@ -26,9 +26,9 @@ namespace BlackCore
~CContext() {}
//! Log category
static const CLogCategoryList &getLogCategories()
static const BlackMisc::CLogCategoryList &getLogCategories()
{
static const CLogCategoryList cats { CLogCategory::context() };
static const BlackMisc::CLogCategoryList cats { BlackMisc::CLogCategory::context() };
return cats;
}
@@ -131,7 +131,7 @@ namespace BlackCore
//! Empty context called
void logEmptyContextWarning(const QString &functionName) const
{
CLogMessage(this, CLogCategory::contextSlot()).warning("Empty context called, details: %1") << functionName;
BlackMisc::CLogMessage(this, BlackMisc::CLogCategory::contextSlot()).warning("Empty context called, details: %1") << functionName;
}
//! Standard message when status message is returned in empty context