diff options
| author | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-08-29 15:20:46 +0200 |
|---|---|---|
| committer | Mikaël Capelle <capelle.mikael@gmail.com> | 2020-08-29 15:20:46 +0200 |
| commit | 97e9e7cf2be5f8f24f62aa25d4669eda885e8567 (patch) | |
| tree | 721432044b8509465db7c7c5eb24630b14445035 /src/modlist.h | |
| parent | e421837ba00b7a6cbe9ace477836f067dca58828 (diff) | |
Refactor the way m_ModStateChanged works.
Diffstat (limited to 'src/modlist.h')
| -rw-r--r-- | src/modlist.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/modlist.h b/src/modlist.h index 22eb7962..1d16339f 100644 --- a/src/modlist.h +++ b/src/modlist.h @@ -124,6 +124,14 @@ public: void highlightMods(const QItemSelectionModel *selection, const MOShared::DirectoryEntry &directoryEntry);
+ /**
+ * @brief Notify the most list that the state of the specified mods has changed. This is used
+ * to notify the plugin that registered through onModStateChanged().
+ *
+ * @param modIndices Indices of the mods that changed.
+ */
+ void notifyModStateChanged(QList<unsigned int> modIndices) const;
+
public:
/// \copydoc MOBase::IModList::displayName
|
