Freeciv-3.2
|
#include <dialogs.h>
Public Member Functions | |
Choice_dialog_button (const QString title, pfcn_void func_in, QVariant data1_in, QVariant data2_in) | |
pfcn_void | getFunc () |
QVariant | getData1 () |
QVariant | getData2 () |
void | setData1 (QVariant wariat) |
void | setData2 (QVariant wariat) |
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 1337 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 1360 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 1369 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 1351 of file dialogs.cpp.
Referenced by choice_dialog::execute_action().
Sets the first piece of data
Definition at line 1377 of file dialogs.cpp.
Referenced by action_entry_update().
Sets the second piece of data
Definition at line 1385 of file dialogs.cpp.
Referenced by action_entry_update().
|
private |
Definition at line 245 of file dialogs.h.
Referenced by Choice_dialog_button(), getData1(), and setData1().
|
private |
Definition at line 245 of file dialogs.h.
Referenced by Choice_dialog_button(), getData2(), and setData2().
|
private |
Definition at line 244 of file dialogs.h.
Referenced by Choice_dialog_button(), and getFunc().