7#ifndef ADDRESSEE_EDIT_H_
8#define ADDRESSEE_EDIT_H_
10#include <Wt/WTextArea.h>
39 AddresseeEdit(
const WString& label, WContainerWidget *labelParent);
50 virtual void setHidden(
bool hidden,
const WAnimation& animation);
57 bool parse(std::vector<Contact>& contacts)
const;
An edit field for an email addressee.
AddresseeEdit(const WString &label, WContainerWidget *labelParent)
Create a new addressee edit with the given label.
virtual void setHidden(bool hidden, const WAnimation &animation)
Reimplement hide() and show() to also hide() and show() the label.
std::vector< Contact > addressees() const
Get a list of addressees.
Label * label_
The label associated with this edit.
bool parse(std::vector< Contact > &contacts) const
Parse the addressees into a list of contacts.
void setAddressees(const std::vector< Contact > &contacts)
Set a list of addressees.