Freeciv-3.1
|
#include <diplodlg.h>
Public Member Functions | |
diplo_dlg (int counterpart, int initiated_from) | |
~diplo_dlg () | |
void | reactivate () |
void | update_dlg () |
bool | init (bool raise) |
diplo_wdg * | find_widget (int counterpart) |
void | close_widget (int counterpart) |
void | add_widget (int counterpart, int initiated_from) |
void | make_active (int party) |
Private Attributes | |
QMap< int, diplo_wdg * > | treaty_list |
int | index |
Definition at line 103 of file diplodlg.h.
diplo_dlg::diplo_dlg | ( | int | counterpart, |
int | initiated_from | ||
) |
Constructor for diplomacy dialog
Definition at line 769 of file diplodlg.cpp.
diplo_dlg::~diplo_dlg | ( | ) |
Destructor for diplomacy dialog
Definition at line 837 of file diplodlg.cpp.
void diplo_dlg::add_widget | ( | int | counterpart, |
int | initiated_from | ||
) |
Creates new diplomacy widget and adds to diplomacy dialog
Definition at line 778 of file diplodlg.cpp.
Referenced by diplo_dlg(), and handle_diplomacy_init_meeting().
void diplo_dlg::close_widget | ( | int | counterpart | ) |
Closes given diplomacy widget
Definition at line 864 of file diplodlg.cpp.
Referenced by handle_diplomacy_cancel_meeting().
diplo_wdg * diplo_dlg::find_widget | ( | int | counterpart | ) |
Finds diplomacy widget in current dialog
Definition at line 856 of file diplodlg.cpp.
Referenced by handle_diplomacy_accept_treaty(), handle_diplomacy_create_clause(), handle_diplomacy_init_meeting(), handle_diplomacy_remove_clause(), and make_active().
Initializes some data for diplomacy dialog
Definition at line 818 of file diplodlg.cpp.
Referenced by handle_diplomacy_init_meeting().
void diplo_dlg::make_active | ( | int | party | ) |
Sets given widget as active in current dialog
Definition at line 804 of file diplodlg.cpp.
Referenced by handle_diplomacy_init_meeting().
void diplo_dlg::reactivate | ( | ) |
Existing dialog requested again.
Definition at line 894 of file diplodlg.cpp.
Referenced by handle_diplomacy_init_meeting().
void diplo_dlg::update_dlg | ( | ) |
Updates all diplomacy widgets in current dialog
Definition at line 879 of file diplodlg.cpp.
Referenced by handle_diplomacy_init_meeting().
|
private |
Definition at line 120 of file diplodlg.h.
Referenced by init().
|
private |
Definition at line 106 of file diplodlg.h.
Referenced by add_widget(), close_widget(), find_widget(), update_dlg(), and ~diplo_dlg().