Add Change Version action to all pages
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
1809858fc7
commit
f57ca1e79e
11 changed files with 190 additions and 9 deletions
|
@ -69,6 +69,8 @@ class ResourceDownloadDialog : public QDialog, public BasePageProvider {
|
|||
const QList<DownloadTaskPtr> getTasks();
|
||||
[[nodiscard]] const std::shared_ptr<ResourceFolderModel> getBaseModel() const { return m_base_model; }
|
||||
|
||||
void setResourceMetadata(const std::shared_ptr<Metadata::ModStruct>& meta);
|
||||
|
||||
public slots:
|
||||
void accept() override;
|
||||
void reject() override;
|
||||
|
@ -107,8 +109,6 @@ class ModDownloadDialog final : public ResourceDownloadDialog {
|
|||
QList<BasePage*> getPages() override;
|
||||
GetModDependenciesTask::Ptr getModDependenciesTask() override;
|
||||
|
||||
void setModMetadata(std::shared_ptr<Metadata::ModStruct>);
|
||||
|
||||
private:
|
||||
BaseInstance* m_instance;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue