Formatting, new icons, minor tweaks

This commit is contained in:
Klaus Basan
2014-09-23 00:36:13 +02:00
parent be0d1e8153
commit ef5f5bde0f
23 changed files with 120 additions and 53 deletions

View File

@@ -211,11 +211,9 @@ namespace BlackMisc
virtual QPixmap toPixmap() const;
//! Set property by index
//! \remarks Intentionally not abstract, avoiding all classes need to implement this method
virtual void setPropertyByIndex(const QVariant &variant, const CPropertyIndex &index);
//! Property by index
//! \remarks Intentionally not abstract, avoiding all classes need to implement this method
virtual QVariant propertyByIndex(const BlackMisc::CPropertyIndex &index) const;
//! Property by index as String
@@ -223,7 +221,7 @@ namespace BlackMisc
virtual QString propertyByIndexAsString(const CPropertyIndex &index, bool i18n = false) const;
//! Is given variant equal to value of property index?
virtual bool equalPropertyByIndex(const QVariant &compareValue, const CPropertyIndex &index) const;
virtual bool equalsPropertyByIndex(const QVariant &compareValue, const CPropertyIndex &index) const;
//! The stored object as CValueObject
static const CValueObject *fromQVariant(const QVariant &variant);