Reduce usage of [[nodiscard]] attributes
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
9559204c8f
commit
29d73a474f
64 changed files with 323 additions and 326 deletions
|
@ -8,23 +8,23 @@
|
|||
|
||||
struct InstanceCopyPrefs {
|
||||
public:
|
||||
[[nodiscard]] bool allTrue() const;
|
||||
[[nodiscard]] QString getSelectedFiltersAsRegex() const;
|
||||
[[nodiscard]] QString getSelectedFiltersAsRegex(const QStringList& additionalFilters) const;
|
||||
bool allTrue() const;
|
||||
QString getSelectedFiltersAsRegex() const;
|
||||
QString getSelectedFiltersAsRegex(const QStringList& additionalFilters) const;
|
||||
// Getters
|
||||
[[nodiscard]] bool isCopySavesEnabled() const;
|
||||
[[nodiscard]] bool isKeepPlaytimeEnabled() const;
|
||||
[[nodiscard]] bool isCopyGameOptionsEnabled() const;
|
||||
[[nodiscard]] bool isCopyResourcePacksEnabled() const;
|
||||
[[nodiscard]] bool isCopyShaderPacksEnabled() const;
|
||||
[[nodiscard]] bool isCopyServersEnabled() const;
|
||||
[[nodiscard]] bool isCopyModsEnabled() const;
|
||||
[[nodiscard]] bool isCopyScreenshotsEnabled() const;
|
||||
[[nodiscard]] bool isUseSymLinksEnabled() const;
|
||||
[[nodiscard]] bool isLinkRecursivelyEnabled() const;
|
||||
[[nodiscard]] bool isUseHardLinksEnabled() const;
|
||||
[[nodiscard]] bool isDontLinkSavesEnabled() const;
|
||||
[[nodiscard]] bool isUseCloneEnabled() const;
|
||||
bool isCopySavesEnabled() const;
|
||||
bool isKeepPlaytimeEnabled() const;
|
||||
bool isCopyGameOptionsEnabled() const;
|
||||
bool isCopyResourcePacksEnabled() const;
|
||||
bool isCopyShaderPacksEnabled() const;
|
||||
bool isCopyServersEnabled() const;
|
||||
bool isCopyModsEnabled() const;
|
||||
bool isCopyScreenshotsEnabled() const;
|
||||
bool isUseSymLinksEnabled() const;
|
||||
bool isLinkRecursivelyEnabled() const;
|
||||
bool isUseHardLinksEnabled() const;
|
||||
bool isDontLinkSavesEnabled() const;
|
||||
bool isUseCloneEnabled() const;
|
||||
// Setters
|
||||
void enableCopySaves(bool b);
|
||||
void enableKeepPlaytime(bool b);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue