diff --git a/src/core/partitiontable.h b/src/core/partitiontable.h index eb83c5c..938f7bf 100644 --- a/src/core/partitiontable.h +++ b/src/core/partitiontable.h @@ -152,6 +152,13 @@ public: return m_LastUsable; } + void setFirstUsableSector(qint64 s) { + m_FirstUsable = s; + } + void setLastUsableSector(qint64 s) { + m_LastUsable = s; + } + void updateUnallocated(const Device& d); void insertUnallocated(const Device& d, PartitionNode* p, qint64 start) const; @@ -179,12 +186,6 @@ protected: void setMaxPrimaries(qint32 n) { m_MaxPrimaries = n; } - void setFirstUsableSector(qint64 s) { - m_FirstUsable = s; - } - void setLastUsableSector(qint64 s) { - m_LastUsable = s; - } private: Partitions m_Children;