7 |
|
|
8 |
#include "config.h" |
#include "config.h" |
9 |
#include "MMIHeaderDialog.hh" |
#include "MMIHeaderDialog.hh" |
10 |
|
|
11 |
|
void MMIHeaderDialog::setSourceName(std::string const &value) |
12 |
|
{ |
13 |
|
_source_name->set_text(value); |
14 |
|
return; |
15 |
|
} |
16 |
|
|
17 |
|
void MMIHeaderDialog::setSourceVersion(std::string const &value) |
18 |
|
{ |
19 |
|
_source_vers->set_text(value); |
20 |
|
return; |
21 |
|
} |
22 |
|
|
23 |
|
void MMIHeaderDialog::setSourceCorp(std::string const &value) |
24 |
|
{ |
25 |
|
_source_corp->set_text(value); |
26 |
|
return; |
27 |
|
} |
28 |
|
|
29 |
|
void MMIHeaderDialog::setTransmissionDate(std::string const &value) |
30 |
|
{ |
31 |
|
_date->set_text(value); |
32 |
|
return; |
33 |
|
} |
34 |
|
|
35 |
|
void MMIHeaderDialog::setTransmissionNote(std::string const &value) |
36 |
|
{ |
37 |
|
_note->delete_text(0, -1); |
38 |
|
_note->insert(value); |
39 |
|
return; |
40 |
|
} |
41 |
|
|
42 |
|
void MMIHeaderDialog::Clear(void) |
43 |
|
{ |
44 |
|
_source_name->set_text(""); |
45 |
|
_source_corp->set_text(""); |
46 |
|
_source_vers->set_text(""); |
47 |
|
_date->set_text(""); |
48 |
|
_note->delete_text(0, -1); |
49 |
|
return; |
50 |
|
} |
51 |
|
|
52 |
|
|
53 |
|
|