diff options
| author | Qudix <17361645+Qudix@users.noreply.github.com> | 2022-02-24 19:54:31 -0600 |
|---|---|---|
| committer | Qudix <17361645+Qudix@users.noreply.github.com> | 2022-02-24 19:54:31 -0600 |
| commit | 0b9c96e845e24229170a73d69914f4e2283b3716 (patch) | |
| tree | 4dd200d242bb6019fd04ce9b3974ca112ac09370 /src/pluginlistproxy.h | |
| parent | 6d73f9a18a0dc3d60f15b384e8100ceac0527069 (diff) | |
Rename isX to isXFile, and deprecate isMaster
Also made sure to not change existing behaviour
Diffstat (limited to 'src/pluginlistproxy.h')
| -rw-r--r-- | src/pluginlistproxy.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/pluginlistproxy.h b/src/pluginlistproxy.h index fc883882..3c53ef36 100644 --- a/src/pluginlistproxy.h +++ b/src/pluginlistproxy.h @@ -21,9 +21,9 @@ public: bool setPriority(const QString& name, int newPriority) override; int loadOrder(const QString& name) const override; void setLoadOrder(const QStringList& pluginList) override; - bool isMaster(const QString& name) const override; + bool isMasterFile(const QString& name) const override; bool isMasterFlagged(const QString& name) const override; - bool isLight(const QString& name) const override; + bool isLightFile(const QString& name) const override; bool isLightFlagged(const QString& name) const override; QStringList masters(const QString& name) const override; QString origin(const QString& name) const override; @@ -31,6 +31,9 @@ public: bool onPluginMoved(const std::function<void(const QString&, int, int)>& func) override; bool onPluginStateChanged(const std::function<void(const std::map<QString, PluginStates>&)>& func) override; + // DEPRECATED + [[deprecated]] bool isMaster(const QString& name) const override; + private: friend class OrganizerProxy; |
