From 97e9e7cf2be5f8f24f62aa25d4669eda885e8567 Mon Sep 17 00:00:00 2001 From: Mikaƫl Capelle Date: Sat, 29 Aug 2020 15:20:46 +0200 Subject: Refactor the way m_ModStateChanged works. --- src/modlist.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/modlist.h') 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 modIndices) const; + public: /// \copydoc MOBase::IModList::displayName -- cgit v1.3.1