diff options
Diffstat (limited to 'application/pages')
-rw-r--r-- | application/pages/instance/ModFolderPage.cpp | 6 | ||||
-rw-r--r-- | application/pages/instance/ModFolderPage.h | 8 | ||||
-rw-r--r-- | application/pages/instance/NewModFolderPage.cpp | 4 | ||||
-rw-r--r-- | application/pages/instance/NewModFolderPage.h | 6 |
4 files changed, 12 insertions, 12 deletions
diff --git a/application/pages/instance/ModFolderPage.cpp b/application/pages/instance/ModFolderPage.cpp index 90155df3..0309383d 100644 --- a/application/pages/instance/ModFolderPage.cpp +++ b/application/pages/instance/ModFolderPage.cpp @@ -25,13 +25,13 @@ #include "dialogs/CustomMessageBox.h" #include "dialogs/ModEditDialogCommon.h" #include <GuiUtil.h> -#include "minecraft/ModList.h" +#include "minecraft/SimpleModList.h" #include "minecraft/Mod.h" #include "minecraft/VersionFilterData.h" #include "minecraft/ComponentList.h" #include <DesktopServices.h> -ModFolderPage::ModFolderPage(BaseInstance *inst, std::shared_ptr<ModList> mods, QString id, +ModFolderPage::ModFolderPage(BaseInstance *inst, std::shared_ptr<SimpleModList> mods, QString id, QString iconName, QString displayName, QString helpPage, QWidget *parent) : QWidget(parent), ui(new Ui::ModFolderPage) @@ -76,7 +76,7 @@ void ModFolderPage::on_filterTextChanged(const QString& newContents) } -CoreModFolderPage::CoreModFolderPage(BaseInstance *inst, std::shared_ptr<ModList> mods, +CoreModFolderPage::CoreModFolderPage(BaseInstance *inst, std::shared_ptr<SimpleModList> mods, QString id, QString iconName, QString displayName, QString helpPage, QWidget *parent) : ModFolderPage(inst, mods, id, iconName, displayName, helpPage, parent) diff --git a/application/pages/instance/ModFolderPage.h b/application/pages/instance/ModFolderPage.h index 15e728cb..0242f1c9 100644 --- a/application/pages/instance/ModFolderPage.h +++ b/application/pages/instance/ModFolderPage.h @@ -21,7 +21,7 @@ #include "pages/BasePage.h" #include <MultiMC.h> -class ModList; +class SimpleModList; namespace Ui { class ModFolderPage; @@ -32,7 +32,7 @@ class ModFolderPage : public QWidget, public BasePage Q_OBJECT public: - explicit ModFolderPage(BaseInstance *inst, std::shared_ptr<ModList> mods, QString id, + explicit ModFolderPage(BaseInstance *inst, std::shared_ptr<SimpleModList> mods, QString id, QString iconName, QString displayName, QString helpPage = "", QWidget *parent = 0); virtual ~ModFolderPage(); @@ -71,7 +71,7 @@ protected: protected: Ui::ModFolderPage *ui; - std::shared_ptr<ModList> m_mods; + std::shared_ptr<SimpleModList> m_mods; QSortFilterProxyModel *m_filterModel; QString m_iconName; QString m_id; @@ -98,7 +98,7 @@ slots: class CoreModFolderPage : public ModFolderPage { public: - explicit CoreModFolderPage(BaseInstance *inst, std::shared_ptr<ModList> mods, QString id, + explicit CoreModFolderPage(BaseInstance *inst, std::shared_ptr<SimpleModList> mods, QString id, QString iconName, QString displayName, QString helpPage = "", QWidget *parent = 0); virtual ~CoreModFolderPage() diff --git a/application/pages/instance/NewModFolderPage.cpp b/application/pages/instance/NewModFolderPage.cpp index dc00fefa..35972fba 100644 --- a/application/pages/instance/NewModFolderPage.cpp +++ b/application/pages/instance/NewModFolderPage.cpp @@ -25,13 +25,13 @@ #include "dialogs/CustomMessageBox.h" #include "dialogs/ModEditDialogCommon.h" #include <GuiUtil.h> -#include "minecraft/ModList.h" +#include "minecraft/ModsModel.h" #include "minecraft/Mod.h" #include "minecraft/VersionFilterData.h" #include "minecraft/ComponentList.h" #include <DesktopServices.h> -NewModFolderPage::NewModFolderPage(BaseInstance *inst, std::shared_ptr<ModList> mods, QString id, +NewModFolderPage::NewModFolderPage(BaseInstance *inst, std::shared_ptr<ModsModel> mods, QString id, QString iconName, QString displayName, QString helpPage, QWidget *parent) : QWidget(parent), ui(new Ui::NewModFolderPage) diff --git a/application/pages/instance/NewModFolderPage.h b/application/pages/instance/NewModFolderPage.h index 2c81a233..2a8136aa 100644 --- a/application/pages/instance/NewModFolderPage.h +++ b/application/pages/instance/NewModFolderPage.h @@ -21,7 +21,7 @@ #include "pages/BasePage.h" #include <MultiMC.h> -class ModList; +class SimpleModList; namespace Ui { class NewModFolderPage; @@ -32,7 +32,7 @@ class NewModFolderPage : public QWidget, public BasePage Q_OBJECT public: - explicit NewModFolderPage(BaseInstance *inst, std::shared_ptr<ModList> mods, QString id, + explicit NewModFolderPage(BaseInstance *inst, std::shared_ptr<ModsModel> mods, QString id, QString iconName, QString displayName, QString helpPage = "", QWidget *parent = 0); virtual ~NewModFolderPage(); @@ -71,7 +71,7 @@ protected: protected: Ui::NewModFolderPage *ui; - std::shared_ptr<ModList> m_mods; + std::shared_ptr<ModsModel> m_mods; QSortFilterProxyModel *m_filterModel; QString m_iconName; QString m_id; |