Manager: Add machine deletion

This commit is contained in:
Alexander Babikov
2025-08-07 13:36:46 +05:00
parent d10d77481a
commit 74501db7fc
4 changed files with 41 additions and 1 deletions

View File

@@ -51,6 +51,7 @@ public:
[[nodiscard]] QVariant headerData(int section, Qt::Orientation orientation,
int role) const override;
void addConfigToModel(VMManagerSystem *system_config);
void removeConfigFromModel(VMManagerSystem *system_config);
[[nodiscard]] VMManagerSystem * getConfigObjectForIndex(const QModelIndex &index) const;
QModelIndex getIndexForConfigFile(const QFileInfo& config_file);