Ref T155 Log category for CValuePage.

This commit is contained in:
Mathew Sutcliffe
2017-09-13 19:43:15 +01:00
parent de11f7fe35
commit 9da798e470
2 changed files with 8 additions and 0 deletions

View File

@@ -586,6 +586,11 @@ namespace BlackMisc
// Private :: CValuePage
////////////////////////////////
const CLogCategoryList &CValuePage::getLogCategories()
{
return CValueCache::getLogCategories();
}
CValuePage::CValuePage(QObject *parent, CValueCache *cache) :
QObject(parent),
m_cache(cache)

View File

@@ -63,6 +63,9 @@ namespace BlackMisc
Q_OBJECT
public:
//! Log categories
static const CLogCategoryList &getLogCategories();
//! Returns a CValuePage owned by the parent and connected to the cache, creating one if it doesn't exist.
static CValuePage &getPageFor(QObject *parent, CValueCache *cache);