|
Wtx ~ Wt Extension Library
WtxLib
|
An E-mail composer widget. More...
#include <Composer.h>
Inheritance diagram for Composer:Public Member Functions | |
| Composer () | |
| Construct a new Composer. | |
| void | setFrom (const std::vector< Contact > &from) |
| Set message From: contacts. | |
| void | setTo (const std::vector< Contact > &to) |
| Set message To: contacts. | |
| void | setSubject (const WString &subject) |
| Set subject. | |
| void | setMessage (const WString &message) |
| Set the message. | |
| void | setAddressBook (const std::vector< Contact > &addressBook) |
| Set the address book, for autocomplete suggestions. | |
| std::vector< Contact > | from () const |
| Get the From: contacts. | |
| std::vector< Contact > | to () const |
| Get the To: contacts. | |
| std::vector< Contact > | cc () const |
| Get the Cc: contacts. | |
| std::vector< Contact > | bcc () const |
| Get the Bc: contacts. | |
| const WString & | subject () const |
| Get the subject. | |
| std::vector< Attachment > | attachments () const |
| Get the list of attachments. More... | |
| void | addAttachment (const Attachment &attachment) |
| const WString & | message () const |
| Get the message. | |
Public Attributes | |
| Wt::Signal | send |
| The message is ready to be sent... | |
| Wt::Signal | discard |
| The message must be discarded. | |
Friends | |
| class | AttachmentEdit |
An E-mail composer widget.
This widget is part of the Wt composer example.
Definition at line 36 of file Composer.h.
| std::vector<Attachment> Composer::attachments | ( | ) | const |
Get the list of attachments.
The ownership of the attachment spool files is transferred to the caller as well, be sure to delete them !
1.8.11