20#ifndef LIBREPCB_CORE_WORKSPACESETTINGSITEM_KEYBOARDSHORTCUTS_H
21#define LIBREPCB_CORE_WORKSPACESETTINGSITEM_KEYBOARDSHORTCUTS_H
51 QObject* parent =
nullptr) noexcept;
55 const QMap<QString, QList<QKeySequence>>&
get() const noexcept {
60 void set(
const QMap<QString, QList<QKeySequence>>& overrides)
noexcept;
The SExpression class.
Definition: sexpression.h:69
Implementation of librepcb::WorkspaceSettingsItem to store keyboard shortcuts settings.
Definition: workspacesettingsitem_keyboardshortcuts.h:44
WorkspaceSettingsItem_KeyboardShortcuts & operator=(const WorkspaceSettingsItem_KeyboardShortcuts &rhs)=delete
virtual void restoreDefaultImpl() noexcept override
Restore default value.
Definition: workspacesettingsitem_keyboardshortcuts.cpp:88
void loadImpl(const SExpression &root) override
Load value from S-Expression node.
Definition: workspacesettingsitem_keyboardshortcuts.cpp:96
QMap< QString, QList< QKeySequence > > mOverrides
Definition: workspacesettingsitem_keyboardshortcuts.h:84
QMap< QString, SExpression > mNodes
Definition: workspacesettingsitem_keyboardshortcuts.h:83
void set(const QMap< QString, QList< QKeySequence > > &overrides) noexcept
Definition: workspacesettingsitem_keyboardshortcuts.cpp:51
WorkspaceSettingsItem_KeyboardShortcuts(const WorkspaceSettingsItem_KeyboardShortcuts &other)=delete
const QMap< QString, QList< QKeySequence > > & get() const noexcept
Definition: workspacesettingsitem_keyboardshortcuts.h:55
WorkspaceSettingsItem_KeyboardShortcuts()=delete
void serializeImpl(SExpression &root) const override
Serialize the value into S-Expression node.
Definition: workspacesettingsitem_keyboardshortcuts.cpp:120
Base class for all workspace settings items.
Definition: workspacesettingsitem.h:49
Definition: occmodel.cpp:77