diff --git a/src/core/device.h b/src/core/device.h index 286ebd6..e0f0c6f 100644 --- a/src/core/device.h +++ b/src/core/device.h @@ -62,6 +62,8 @@ class Device : public QObject qint64 totalSectors() const { return static_cast(heads()) * cylinders() * sectorsPerTrack(); } /**< @return the total number of sectors on the device */ qint64 capacity() const { return totalSectors() * sectorSize(); } /**< @return the Device's capacity in bytes */ qint64 cylinderSize() const { return static_cast(heads()) * sectorsPerTrack(); } /**< @return the size of a cylinder on this Device in sectors */ + + void setIconName(const QString& name) { m_IconName = name; } const QString& iconName() const { return m_IconName; } /**< @return suggested icon name for this Device */ protected: