summaryrefslogtreecommitdiff
path: root/src/modlist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/modlist.h')
-rw-r--r--src/modlist.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/modlist.h b/src/modlist.h
index 38d08c2d..8475d97a 100644
--- a/src/modlist.h
+++ b/src/modlist.h
@@ -54,6 +54,7 @@ public:
enum EColumn {
COL_NAME,
COL_FLAGS,
+ COL_CONTENT,
COL_CATEGORY,
COL_MODID,
COL_VERSION,
@@ -72,7 +73,7 @@ public:
* @brief constructor
* @todo ensure this view works without a profile set, otherwise there are intransparent dependencies on the initialisation order
**/
- ModList(QObject *parent = NULL);
+ ModList(QObject *parent = nullptr);
~ModList();
@@ -101,6 +102,8 @@ public:
void changeModPriority(int sourceIndex, int newPriority);
+ void setOverwriteMarkers(const std::set<unsigned int> &overwrite, const std::set<unsigned int> &overwritten);
+
bool modInfoAboutToChange(ModInfo::Ptr info);
void modInfoChanged(ModInfo::Ptr info);
@@ -245,6 +248,8 @@ private:
QString contentsToToolTip(const std::vector<ModInfo::EContent> &contents) const;
+ ModList::EColumn getEnabledColumn(int index) const;
+
QVariant categoryData(int categoryID, int column, int role) const;
QVariant modData(int modID, int modelColumn, int role) const;
@@ -288,6 +293,9 @@ private:
bool m_DropOnItems;
+ std::set<unsigned int> m_Overwrite;
+ std::set<unsigned int> m_Overwritten;
+
TModInfoChange m_ChangeInfo;
SignalModStateChanged m_ModStateChanged;