refs #684, #766, #776 Removed CValueCacheCategory.

This commit is contained in:
Mathew Sutcliffe
2016-10-15 20:37:19 +01:00
parent 8a65a33384
commit 384d59b084

View File

@@ -453,27 +453,6 @@ namespace BlackMisc
Private::CValuePage::Element &m_element; //!< \private
};
/*!
* Helper class for generating cache key variations from a key template.
*/
class BLACKMISC_EXPORT CValueCacheCategory : public QObject
{
Q_OBJECT
public:
//! Constructor.
CValueCacheCategory(QObject *parent, const QString &category) : QObject(parent), m_category(category)
{
Q_ASSERT_X(parent->findChildren<CValueCacheCategory *>().size() == 1, Q_FUNC_INFO, "Only one CValueCacheCategory per object allowed");
}
//! Get category string.
const QString &getCategory() const { return m_category; }
private:
const QString m_category;
};
/*!
* RAII object returned by CValueCache::batchChanges. Applies deferred changes when it is destroyed.
*/