leocad/common/lc_shortcuts.h

25 lines
505 B
C
Raw Normal View History

2013-08-09 06:57:18 +02:00
#ifndef _LC_SHORTCUTS_H_
#define _LC_SHORTCUTS_H_
#include "lc_commands.h"
2015-09-27 09:02:57 +02:00
class lcKeyboardShortcuts
2013-08-09 06:57:18 +02:00
{
2015-09-27 09:02:57 +02:00
public:
void Reset();
bool Save(const QString& FileName);
bool Save(QTextStream& Stream);
bool Load(const QString& FileName);
bool Load(QTextStream& Stream);
QString mShortcuts[LC_NUM_COMMANDS];
2013-08-09 06:57:18 +02:00
};
extern lcKeyboardShortcuts gKeyboardShortcuts;
void lcLoadDefaultKeyboardShortcuts();
void lcSaveDefaultKeyboardShortcuts();
void lcResetDefaultKeyboardShortcuts();
#endif // _LC_SHORTCUTS_H_