![]() |
Freeciv21
Develop your civilization from humble roots to a global empire
|
#include <dialogs.h>
Inheritance diagram for Choice_dialog_button:
Collaboration diagram for Choice_dialog_button:Public Member Functions | |
| Choice_dialog_button (const QString title, pfcn_void func_in, QVariant data1_in, QVariant data2_in) | |
| Constructor for choice_dialog_button_data. More... | |
| pfcn_void | getFunc () |
| Get the function to call when the button is pressed. More... | |
| QVariant | getData1 () |
| Get the first piece of data to feed the function when the button is pressed. More... | |
| QVariant | getData2 () |
| Get the second piece of data to feed the function when the button is pressed. More... | |
| void | setData1 (QVariant wariat) |
| Sets the first piece of data. More... | |
| void | setData2 (QVariant wariat) |
| Sets the second piece of data. More... | |
Private Attributes | |
| pfcn_void | func |
| QVariant | data1 |
| QVariant | data2 |
| Choice_dialog_button::Choice_dialog_button | ( | const QString | title, |
| pfcn_void | func_in, | ||
| QVariant | data1_in, | ||
| QVariant | data2_in | ||
| ) |
Constructor for choice_dialog_button_data.
Definition at line 1100 of file dialogs.cpp.
| QVariant Choice_dialog_button::getData1 | ( | ) |
Get the first piece of data to feed the function when the button is pressed.
Definition at line 1118 of file dialogs.cpp.
Referenced by choice_dialog::execute_action().
| QVariant Choice_dialog_button::getData2 | ( | ) |
Get the second piece of data to feed the function when the button is pressed.
Definition at line 1124 of file dialogs.cpp.
Referenced by choice_dialog::execute_action().
| pfcn_void Choice_dialog_button::getFunc | ( | ) |
Get the function to call when the button is pressed.
Definition at line 1112 of file dialogs.cpp.
Referenced by choice_dialog::execute_action().
| void Choice_dialog_button::setData1 | ( | QVariant | wariat | ) |
Sets the first piece of data.
Definition at line 1129 of file dialogs.cpp.
Referenced by action_entry_update().
| void Choice_dialog_button::setData2 | ( | QVariant | wariat | ) |
Sets the second piece of data.
Definition at line 1134 of file dialogs.cpp.
Referenced by action_entry_update().
|
private |
Definition at line 168 of file dialogs.h.
Referenced by getData1(), and setData1().
|
private |
Definition at line 168 of file dialogs.h.
Referenced by getData2(), and setData2().
|
private |
Definition at line 167 of file dialogs.h.
Referenced by Choice_dialog_button(), and getFunc().