refs #369, prepend function for properties

This commit is contained in:
Klaus Basan
2015-02-02 17:43:55 +01:00
parent cec59c5d72
commit 8e8f9e4804
4 changed files with 25 additions and 0 deletions

View File

@@ -61,6 +61,9 @@ namespace BlackMisc
//! Add a value as non CVariant
template<class T> void addValue(const CPropertyIndex &index, const T &value) { this->m_values.insert(index, CVariant::fromValue(value)); }
//! Prepend index to all property indexes
void prependIndex(int index);
//! Is empty?
bool isEmpty() const { return this->m_values.isEmpty(); }