27 |
|
|
28 |
OneChildToFamilyLink::OneChildToFamilyLink(std::string const &father, |
OneChildToFamilyLink::OneChildToFamilyLink(std::string const &father, |
29 |
std::string const &mother, |
std::string const &mother, |
30 |
SigC::Slot0<void> * slot_father, |
SigC::Slot1<int, GdkEventButton *> * slot_father, |
31 |
SigC::Slot0<void> * slot_mother |
SigC::Slot1<int, GdkEventButton *> * slot_mother |
32 |
) : |
) : |
33 |
OneChildToFamilyLink_glade(), |
OneChildToFamilyLink_glade(), |
34 |
MMIParentsFamilyNote(0) |
MMIParentsFamilyNote(0) |
36 |
_father->set_text(father); |
_father->set_text(father); |
37 |
_mother->set_text(mother); |
_mother->set_text(mother); |
38 |
if (slot_father != 0) |
if (slot_father != 0) |
39 |
_goto_father->clicked.connect(*slot_father); |
_goto_father->button_release_event.connect(*slot_father); |
40 |
if (slot_mother != 0) |
if (slot_mother != 0) |
41 |
_goto_mother->clicked.connect(*slot_mother); |
_goto_mother->button_release_event.connect(*slot_mother); |
42 |
return; |
return; |
43 |
} |
} |