#pragma once #include #include #include #include #include namespace scwx::qt::settings { class HotkeySettings : public SettingsCategory { public: explicit HotkeySettings(); ~HotkeySettings() override; HotkeySettings(const HotkeySettings&) = delete; HotkeySettings& operator=(const HotkeySettings&) = delete; HotkeySettings(HotkeySettings&&) noexcept; HotkeySettings& operator=(HotkeySettings&&) noexcept; [[nodiscard]] SettingsVariable& hotkey(scwx::qt::types::Hotkey hotkey) const; static HotkeySettings& Instance(); friend bool operator==(const HotkeySettings& lhs, const HotkeySettings& rhs); private: class Impl; std::unique_ptr p; }; } // namespace scwx::qt::settings