summaryrefslogtreecommitdiff
path: root/src/mainwindow.h
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-07-02 12:35:33 -0400
committerisanae <14251494+isanae@users.noreply.github.com>2019-07-02 12:35:33 -0400
commit4aa59cdc7dd779c7e864a1c4e96c6b52c61879ff (patch)
treef318d734f2742ac5ebf48de069c227b276318264 /src/mainwindow.h
parent82d985064e5105ded4b20d357eaf7cd1b97fe9da (diff)
added modinfodialogfwd.h, mostly for the enum that's used in various places
renamed ETabs to ModInfoTabIDs and changed all ints to use the enum instead added ModInfoPtr to avoid having to include modinfo.h just to get ModInfo::Ptr
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index f204211e..00f15a2b 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -151,7 +151,8 @@ public:
virtual void disconnectPlugins();
- void displayModInformation(ModInfo::Ptr modInfo, unsigned int index, int tab);
+ void displayModInformation(
+ ModInfo::Ptr modInfo, unsigned int modIndex, ModInfoTabIDs tabID) override;
bool confirmExit();
@@ -235,7 +236,7 @@ private:
QList<MOBase::IOrganizer::FileInfo> findFileInfos(const QString &path, const std::function<bool (const MOBase::IOrganizer::FileInfo &)> &filter) const;
bool modifyExecutablesDialog();
- void displayModInformation(int row, int tab = -1);
+ void displayModInformation(int row, ModInfoTabIDs tab=ModInfoTabIDs::None);
void testExtractBSA(int modIndex);
void writeDataToFile(QFile &file, const QString &directory, const MOShared::DirectoryEntry &directoryEntry);
@@ -551,7 +552,7 @@ private slots:
void editCategories();
void deselectFilters();
- void displayModInformation(const QString &modName, int tab);
+ void displayModInformation(const QString &modName, ModInfoTabIDs tabID);
void modRenamed(const QString &oldName, const QString &newName);
void modRemoved(const QString &fileName);