Freeciv-3.3
|
#include <QDialog>
#include <QLineEdit>
#include <QPushButton>
Go to the source code of this file.
Data Structures | |
struct | fc_shortcut |
class | fc_shortcuts |
class | line_edit |
class | fc_shortcut_popup |
class | fc_sc_button |
class | fc_shortcuts_dialog |
Macros | |
#define | SC_NUM_SHORTCUTS 61 |
Functions | |
void | popup_shortcuts_dialog () |
QString | shortcut_to_string (fc_shortcut *sc) |
void | write_shortcuts () |
bool | read_shortcuts () |
void | shortcutreset () |
#define SC_NUM_SHORTCUTS 61 |
Definition at line 98 of file shortcuts.h.
Definition at line 33 of file shortcuts.h.
void popup_shortcuts_dialog | ( | ) |
Popups shortcut dialog
Definition at line 756 of file shortcuts.cpp.
bool read_shortcuts | ( | ) |
Reads shortcuts from file. Returns false if failed.
Definition at line 825 of file shortcuts.cpp.
Referenced by fc_shortcuts::init_default().
QString shortcut_to_string | ( | fc_shortcut * | sc | ) |
Returns shortcut as string (eg. for menu)
Definition at line 184 of file shortcuts.cpp.
Referenced by fc_shortcut_popup::closeEvent(), mr_menu::execute_shortcut(), fc_sc_button::fc_sc_button(), fc_sc_button::popup_error(), mr_menu::setup_menus(), mr_menu::shortcut_2_menustring(), and mr_menu::shortcut_exist().
void shortcutreset | ( | ) |
Do not use saved shortcuts, but default ones.
Definition at line 865 of file shortcuts.cpp.
Referenced by parse_options().
void write_shortcuts | ( | ) |
Writes shortcuts to file
Definition at line 792 of file shortcuts.cpp.
Referenced by fc_shortcuts_dialog::apply_option().