Support setting labels online.

This commit is contained in:
Andrius Štikonas 2016-08-26 18:59:33 +01:00
parent c84ff5b957
commit 742905ef7f
5 changed files with 16 additions and 1 deletions

View File

@ -87,6 +87,9 @@ public:
CommandSupportType supportSetLabel() const override {
return m_SetLabel;
}
CommandSupportType supportSetLabelOnline() const override {
return m_SetLabel;
}
CommandSupportType supportUpdateUUID() const override {
return m_UpdateUUID;
}

View File

@ -79,6 +79,9 @@ public:
CommandSupportType supportSetLabel() const override {
return m_SetLabel;
}
CommandSupportType supportSetLabelOnline() const override {
return m_SetLabel;
}
CommandSupportType supportUpdateUUID() const override {
return m_UpdateUUID;
}

View File

@ -157,7 +157,10 @@ public:
return cmdSupportNone; /**< @return CommandSupportType for backing up */
}
virtual CommandSupportType supportSetLabel() const {
return cmdSupportNone; /**< @return CommandSupportType for setting label*/
return cmdSupportNone; /**< @return CommandSupportType for setting label */
}
virtual CommandSupportType supportSetLabelOnline() const {
return cmdSupportNone; /**< @return CommandSupportType for setting label of mounted file systems */
}
virtual CommandSupportType supportUpdateUUID() const {
return cmdSupportNone; /**< @return CommandSupportType for updating the UUID */

View File

@ -79,6 +79,9 @@ public:
CommandSupportType supportSetLabel() const override {
return m_SetLabel;
}
CommandSupportType supportSetLabelOnline() const override {
return m_SetLabel;
}
qint64 minCapacity() const override;
qint64 maxCapacity() const override;

View File

@ -76,6 +76,9 @@ public:
CommandSupportType supportSetLabel() const override {
return m_SetLabel;
}
CommandSupportType supportSetLabelOnline() const override {
return m_SetLabel;
}
CommandSupportType supportUpdateUUID() const override {
return m_UpdateUUID;
}