Freeciv-3.3
|
#include <dialogs.h>
Public Member Functions | |
void | vs_city_set (int i) |
void | vs_unit_set (int i) |
action_id | vs_city_get () |
action_id | vs_unit_get () |
Static Public Member Functions | |
static qdef_act * | action () |
static void | drop () |
Private Member Functions | |
Q_DISABLE_COPY (qdef_act) | |
qdef_act () | |
Private Attributes | |
action_id | vs_city |
action_id | vs_unit |
Static Private Attributes | |
static qdef_act * | m_instance = nullptr |
|
explicitprivate |
Default actions provider constructor
Definition at line 1034 of file dialogs.cpp.
Referenced by action().
|
static |
Returns instance of qdef_act
Definition at line 1043 of file dialogs.cpp.
Referenced by popup_action_selection(), mr_menu::slot_action_vs_city(), mr_menu::slot_action_vs_unit(), try_default_city_action(), and try_default_unit_action().
|
static |
Deletes qdef_act instance
Definition at line 1054 of file dialogs.cpp.
|
private |
action_id qdef_act::vs_city_get | ( | ) |
Returns default action vs city
Definition at line 1081 of file dialogs.cpp.
Referenced by popup_action_selection(), and try_default_city_action().
Sets default action vs city
Definition at line 1065 of file dialogs.cpp.
Referenced by mr_menu::slot_action_vs_city().
action_id qdef_act::vs_unit_get | ( | ) |
Returns default action vs unit
Definition at line 1089 of file dialogs.cpp.
Referenced by popup_action_selection(), and try_default_unit_action().
Sets default action vs unit
Definition at line 1073 of file dialogs.cpp.
Referenced by mr_menu::slot_action_vs_unit().
|
private |
Definition at line 59 of file dialogs.h.
Referenced by qdef_act(), vs_city_get(), and vs_city_set().
|
private |
Definition at line 60 of file dialogs.h.
Referenced by qdef_act(), vs_unit_get(), and vs_unit_set().