SEGS  0.4.2
Super Entity Game Server
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
KeybindSettings Class Reference

#include <keybind_definitions.h>

Collaboration diagram for KeybindSettings:
Collaboration graph

Public Member Functions

 KeybindSettings ()
 
void setKeybindProfile (QString &profile)
 
const CurrentKeybindsgetCurrentKeybinds () const
 
void resetKeybinds (const Parse_AllKeyProfiles &default_profiles)
 
void setKeybind (QString &profile, KeyName &key, ModKeys &mods, QString &command, bool &is_secondary)
 
void removeKeybind (QString &profile, KeyName &key, ModKeys &mods)
 
void keybindsDump ()
 
 KeybindSettings ()
 
void setKeybindProfile (QString &profile)
 
const CurrentKeybindsgetCurrentKeybinds () const
 
void resetKeybinds ()
 
void setKeybind (QString &profile, KeyName &key, ModKeys &mods, QString &command, bool &is_secondary)
 
void removeKeybind (QString &profile, KeyName &key, ModKeys &mods)
 
void keybindsDump ()
 

Public Attributes

Parse_AllKeyProfiles m_keybind_profiles
 
QString m_cur_keybind_profile = "Default"
 

Static Public Attributes

static const constexpr uint32_t class_version = 1
 

Constructor & Destructor Documentation

KeybindSettings::KeybindSettings ( )

Member Function Documentation

const CurrentKeybinds& KeybindSettings::getCurrentKeybinds ( ) const
void KeybindSettings::keybindsDump ( )
void KeybindSettings::removeKeybind ( QString &  profile,
KeyName key,
ModKeys mods 
)
void KeybindSettings::setKeybind ( QString &  profile,
KeyName key,
ModKeys mods,
QString &  command,
bool &  is_secondary 
)
void KeybindSettings::setKeybindProfile ( QString &  profile)

Member Data Documentation

QString KeybindSettings::m_cur_keybind_profile = "Default"
Parse_AllKeyProfiles KeybindSettings::m_keybind_profiles

The documentation for this class was generated from the following files: