Sophie

Sophie

distrib > Fedora > 18 > x86_64 > by-pkgid > b3a1f4d91c26f535919e39e25606614a > files > 272

wt-doc-3.2.3-1.fc18.noarch.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Wt examples: Composer Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />



</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">Wt examples
   &#160;<span id="projectnumber">3.2.3</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="inherits.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a> &#124;
<a href="#pri-methods">Private Member Functions</a> &#124;
<a href="#pri-attribs">Private Attributes</a> &#124;
<a href="#friends">Friends</a>  </div>
  <div class="headertitle">
<div class="title">Composer Class Reference<div class="ingroups"><a class="el" href="group__composerexample.html">Composer example</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="Composer" --><!-- doxytag: inherits="Wt::WCompositeWidget" -->
<p>An E-mail composer widget.  
 <a href="classComposer.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="Composer_8h_source.html">Composer.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for Composer:</div>
<div class="dyncontent">
<div class="center"><img src="classComposer__inherit__graph.png" border="0" usemap="#Composer_inherit__map" alt="Inheritance graph"/></div>
<map name="Composer_inherit__map" id="Composer_inherit__map">
<area shape="rect" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WCompositeWidget.html" title="Wt::WCompositeWidget" alt="" coords="5,155,168,181"/><area shape="rect" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWidget.html" title="Wt::WWidget" alt="" coords="37,80,136,107"/><area shape="rect" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WObject.html" title="Wt::WObject" alt="" coords="39,5,135,32"/></map>
<center><span class="legend">[<a href="graph_legend.html">legend</a>]</span></center></div>

<p><a href="classComposer-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a084dec0bea86c87db2d711bfea72e47d">Composer</a> (<a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WContainerWidget.html">WContainerWidget</a> *<a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWidget.html#a3461e31818c4d2f516641bdaf508312a">parent</a>=0)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Construct a new <a class="el" href="classComposer.html" title="An E-mail composer widget.">Composer</a>.  <a href="#a084dec0bea86c87db2d711bfea72e47d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a875c536e6e8cc4c31b8cdb6b17e0c72c">setTo</a> (const std::vector&lt; <a class="el" href="structContact.html">Contact</a> &gt; &amp;to)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set message To: contacts.  <a href="#a875c536e6e8cc4c31b8cdb6b17e0c72c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#aaf759051d0b21bcc4a285172f23edaaa">setSubject</a> (const <a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WString.html">WString</a> &amp;subject)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set subject.  <a href="#aaf759051d0b21bcc4a285172f23edaaa"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a0b5002a67038461ec6ef3adf37800bf0">setMessage</a> (const <a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WString.html">WString</a> &amp;message)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the message.  <a href="#a0b5002a67038461ec6ef3adf37800bf0"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#ac952c4e43c8dfb1ae46e83d84b381728">setAddressBook</a> (const std::vector&lt; <a class="el" href="structContact.html">Contact</a> &gt; &amp;addressBook)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the address book, for autocomplete suggestions.  <a href="#ac952c4e43c8dfb1ae46e83d84b381728"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="structContact.html">Contact</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a8d147821090f6e305111bd82187b929f">to</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the To: contacts.  <a href="#a8d147821090f6e305111bd82187b929f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="structContact.html">Contact</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#afbabc511b2d7faf6e789d83e999886d1">cc</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Cc: contacts.  <a href="#afbabc511b2d7faf6e789d83e999886d1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="structContact.html">Contact</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#ad28ae55ec6069a08d86fc0e92387dccb">bcc</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the Bc: contacts.  <a href="#ad28ae55ec6069a08d86fc0e92387dccb"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WString.html">WString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a09023bf88e8d7c566e27d489d28b3d50">subject</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the subject.  <a href="#a09023bf88e8d7c566e27d489d28b3d50"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classAttachment.html">Attachment</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a84ca3fe36eddc04930ce0471de1ba7b8">attachments</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the list of attachments.  <a href="#a84ca3fe36eddc04930ce0471de1ba7b8"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">const <a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WString.html">WString</a> &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a99572a1e5ee69bfbe804318fc28dae1b">message</a> () const </td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Get the message.  <a href="#a99572a1e5ee69bfbe804318fc28dae1b"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1Signal.html">Wt::Signal</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a523271b083a60c433f044018f3c0d02a">send</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The message is ready to be sent...  <a href="#a523271b083a60c433f044018f3c0d02a"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1Signal.html">Wt::Signal</a>&lt; void &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a93eb63c5e90cf794a710348a847b9c0a">discard</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The message must be discarded.  <a href="#a93eb63c5e90cf794a710348a847b9c0a"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-methods"></a>
Private Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a5ade97ee657c39f8576c8ca2a98a8731">attachMore</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Add an attachment edit.  <a href="#a5ade97ee657c39f8576c8ca2a98a8731"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#ab142f49c8de59da0f84185165eb6c1c1">removeAttachment</a> (<a class="el" href="classAttachmentEdit.html">AttachmentEdit</a> *attachment)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Remove the given attachment edit.  <a href="#ab142f49c8de59da0f84185165eb6c1c1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a06e0d72a05418d11d1cfec8a5fcb48b6">sendIt</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Slot attached to the Send button.  <a href="#a06e0d72a05418d11d1cfec8a5fcb48b6"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a5db93f098178964c68c1ecb287ff11ca">saveNow</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Slot attached to the Save now button.  <a href="#a5db93f098178964c68c1ecb287ff11ca"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a5880788a9a63a938572e6ca7e47a01ab">discardIt</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Slot attached to the Discard button.  <a href="#a5880788a9a63a938572e6ca7e47a01ab"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#aaa2db4aef750f6533c53af1189c92144">attachmentDone</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Slotcalled when an attachment has been uploaded.  <a href="#aaa2db4aef750f6533c53af1189c92144"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#ad949df7a1910929fffb12a67b362508f">createUi</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a1097d72401283f58dfd79dbfb47a30a5">saved</a> ()</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">All attachments have been processed, determine the result of saving the message.  <a href="#a1097d72401283f58dfd79dbfb47a30a5"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a5163d3b98235d9c8d8d5aff82738ca57">setStatus</a> (const <a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WString.html">WString</a> &amp;text, const <a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WString.html">WString</a> &amp;style)</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set the status, and apply the given style.  <a href="#a5163d3b98235d9c8d8d5aff82738ca57"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pri-attribs"></a>
Private Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WContainerWidget.html">WContainerWidget</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#aaf13aa9b960e901cc97270350f4b7990">layout_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WPushButton.html">WPushButton</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a476ad9498a617ce73199792d4ab727be">topSendButton_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WPushButton.html">WPushButton</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a2b4444c47fe4718e03661bb2af36102e">topSaveNowButton_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WPushButton.html">WPushButton</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a7dc86db047a022086d644c825fa9588d">topDiscardButton_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WPushButton.html">WPushButton</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a66efb6563c5dfd378def156a91531b6b">botSendButton_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WPushButton.html">WPushButton</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a03113e5fe16b19f8108659d30da25a3c">botSaveNowButton_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WPushButton.html">WPushButton</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a8ed76b62de2178118194a6672b18588a">botDiscardButton_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WText.html">WText</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a09067ffd913810f9d499570609e17674">statusMsg_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTable.html">WTable</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a9bcfcbfc8651cefaaa3c830d64a9ffb3">edits_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAddresseeEdit.html">AddresseeEdit</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a5171d107b535bd670b72d6d3abe4b850">toEdit_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">To: Addressees edit.  <a href="#a5171d107b535bd670b72d6d3abe4b850"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAddresseeEdit.html">AddresseeEdit</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a9d12e4daf1f221a8f387037fbcd147ae">ccEdit_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Cc: Addressees edit.  <a href="#a9d12e4daf1f221a8f387037fbcd147ae"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classAddresseeEdit.html">AddresseeEdit</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#ae58f4078c8859022a18f9d4460894289">bccEdit_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Bcc: Addressees edit.  <a href="#ae58f4078c8859022a18f9d4460894289"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classContactSuggestions.html">ContactSuggestions</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a889f0931ce31c316b89201db6b146814">contactSuggestions_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The suggestions popup for the addressee edits.  <a href="#a889f0931ce31c316b89201db6b146814"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WLineEdit.html">WLineEdit</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a7bc919d444b2bb9ea8cfb7fd3db689df">subject_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">The subject line edit.  <a href="#a7bc919d444b2bb9ea8cfb7fd3db689df"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOptionList.html">OptionList</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#aea60b95ef9d0053fcffe930e4865a958">options_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">OptionsList for editing Cc or Bcc.  <a href="#aea60b95ef9d0053fcffe930e4865a958"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOption.html">Option</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#ac307d36403cab6ff70204c7822d9e149">addcc_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classOption.html" title="A clickable option.">Option</a> for editing Cc:  <a href="#ac307d36403cab6ff70204c7822d9e149"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOption.html">Option</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a9d102646eca2e3081886796cdb15a409">addbcc_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classOption.html" title="A clickable option.">Option</a> for editing Bcc:  <a href="#a9d102646eca2e3081886796cdb15a409"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOption.html">Option</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a8e04ae3dc2b27ea08a803cbbb8ebd031">attachFile_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classOption.html" title="A clickable option.">Option</a> for attaching a file.  <a href="#a8e04ae3dc2b27ea08a803cbbb8ebd031"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classOption.html">Option</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a0ab2b9453f4787af299e72b4c2a2423d">attachOtherFile_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight"><a class="el" href="classOption.html" title="A clickable option.">Option</a> for attaching another file.  <a href="#a0ab2b9453f4787af299e72b4c2a2423d"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="classAttachmentEdit.html">AttachmentEdit</a> * &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a9616ef08dd2e3f16b63cec7b1d1cbf2c">attachments_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Array which holds all the attachments, including one extra invisible one.  <a href="#a9616ef08dd2e3f16b63cec7b1d1cbf2c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTextArea.html">WTextArea</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a17dbbe76abbe0ed57d4c5928bcf24c42">message_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">WTextArea for the main message.  <a href="#a17dbbe76abbe0ed57d4c5928bcf24c42"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a75988a529863cd5e90138e46056aae9f">saving_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">state when waiting asyncrhonously for attachments to be uploaded  <a href="#a75988a529863cd5e90138e46056aae9f"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#aa079baf3b2fcec4ceabda3457cf28de4">sending_</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#a818abbb226340284e5998daa1d10a72c">attachmentsPending_</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">number of attachments waiting to be uploaded during saving  <a href="#a818abbb226340284e5998daa1d10a72c"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="friends"></a>
Friends</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">class&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classComposer.html#aa4bbd94229aa2788f3dd71177c1b1f34">AttachmentEdit</a></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>An E-mail composer widget. </p>
<p>This widget is part of the Wt composer example. </p>

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00040">40</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a084dec0bea86c87db2d711bfea72e47d"></a><!-- doxytag: member="Composer::Composer" ref="a084dec0bea86c87db2d711bfea72e47d" args="(WContainerWidget *parent=0)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">Composer::Composer </td>
          <td>(</td>
          <td class="paramtype"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WContainerWidget.html">WContainerWidget</a> *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>0</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Construct a new <a class="el" href="classComposer.html" title="An E-mail composer widget.">Composer</a>. </p>

<p>Definition at line <a class="el" href="Composer_8C_source.html#l00025">25</a> of file <a class="el" href="Composer_8C_source.html">Composer.C</a>.</p>
<div class="fragment"><pre class="fragment">  : <a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WCompositeWidget.html#a43fc53dd07a7568cb153822c439c4c65">WCompositeWidget</a>(parent),
    <a class="code" href="classComposer.html#a75988a529863cd5e90138e46056aae9f" title="state when waiting asyncrhonously for attachments to be uploaded">saving_</a>(<span class="keyword">false</span>),
    <a class="code" href="classComposer.html#aa079baf3b2fcec4ceabda3457cf28de4">sending_</a>(<span class="keyword">false</span>)
{
  <a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WCompositeWidget.html#aa5a3e93a551fd41b180c6b28fa169946">setImplementation</a>(<a class="code" href="classComposer.html#aaf13aa9b960e901cc97270350f4b7990">layout_</a> = <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WContainerWidget.html">WContainerWidget</a>());

  <a class="code" href="classComposer.html#ad949df7a1910929fffb12a67b362508f">createUi</a>();
}
</pre></div>
</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="aaa2db4aef750f6533c53af1189c92144"></a><!-- doxytag: member="Composer::attachmentDone" ref="aaa2db4aef750f6533c53af1189c92144" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Composer::attachmentDone </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Slotcalled when an attachment has been uploaded. </p>
<p>This used during while saving the email and waiting for remaining attachments to be uploaded. It is connected to the <a class="el" href="classAttachmentEdit.html" title="An edit field for an email attachment.">AttachmentEdit</a> control signals that are emitted when an attachment has been processed. </p>

<p>Definition at line <a class="el" href="Composer_8C_source.html#l00331">331</a> of file <a class="el" href="Composer_8C_source.html">Composer.C</a>.</p>
<div class="fragment"><pre class="fragment">{
  <span class="keywordflow">if</span> (<a class="code" href="classComposer.html#a75988a529863cd5e90138e46056aae9f" title="state when waiting asyncrhonously for attachments to be uploaded">saving_</a>) {
    --<a class="code" href="classComposer.html#a818abbb226340284e5998daa1d10a72c" title="number of attachments waiting to be uploaded during saving">attachmentsPending_</a>;
    std::cerr &lt;&lt; <span class="stringliteral">&quot;Attachments still: &quot;</span> &lt;&lt; <a class="code" href="classComposer.html#a818abbb226340284e5998daa1d10a72c" title="number of attachments waiting to be uploaded during saving">attachmentsPending_</a> &lt;&lt; std::endl;

    <span class="keywordflow">if</span> (<a class="code" href="classComposer.html#a818abbb226340284e5998daa1d10a72c" title="number of attachments waiting to be uploaded during saving">attachmentsPending_</a> == 0)
      <a class="code" href="classComposer.html#a1097d72401283f58dfd79dbfb47a30a5" title="All attachments have been processed, determine the result of saving the message.">saved</a>();
  }
}
</pre></div>
</div>
</div>
<a class="anchor" id="a84ca3fe36eddc04930ce0471de1ba7b8"></a><!-- doxytag: member="Composer::attachments" ref="a84ca3fe36eddc04930ce0471de1ba7b8" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; <a class="el" href="classAttachment.html">Attachment</a> &gt; Composer::attachments </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the list of attachments. </p>
<p>The ownership of the attachment spool files is transferred to the caller as well, be sure to delete them ! </p>

<p>Definition at line <a class="el" href="Composer_8C_source.html#l00075">75</a> of file <a class="el" href="Composer_8C_source.html">Composer.C</a>.</p>
<div class="fragment"><pre class="fragment">{
  std::vector&lt;Attachment&gt; <a class="code" href="classComposer.html#a84ca3fe36eddc04930ce0471de1ba7b8" title="Get the list of attachments.">attachments</a>;

  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0; i &lt; <a class="code" href="classComposer.html#a9616ef08dd2e3f16b63cec7b1d1cbf2c" title="Array which holds all the attachments, including one extra invisible one.">attachments_</a>.size() - 1; ++i) {
    std::vector&lt;Attachment&gt; toadd = <a class="code" href="classComposer.html#a9616ef08dd2e3f16b63cec7b1d1cbf2c" title="Array which holds all the attachments, including one extra invisible one.">attachments_</a>[i]-&gt;attachments();

    attachments.insert(attachments.end(), toadd.begin(), toadd.end());
  }

  <span class="keywordflow">return</span> <a class="code" href="classComposer.html#a84ca3fe36eddc04930ce0471de1ba7b8" title="Get the list of attachments.">attachments</a>;
}
</pre></div>
</div>
</div>
<a class="anchor" id="a5ade97ee657c39f8576c8ca2a98a8731"></a><!-- doxytag: member="Composer::attachMore" ref="a5ade97ee657c39f8576c8ca2a98a8731" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Composer::attachMore </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Add an attachment edit. </p>

<p>Definition at line <a class="el" href="Composer_8C_source.html#l00249">249</a> of file <a class="el" href="Composer_8C_source.html">Composer.C</a>.</p>
<div class="fragment"><pre class="fragment">{
  <span class="comment">/*</span>
<span class="comment">   * Create and append the next AttachmentEdit, that will be hidden.</span>
<span class="comment">   */</span>
  <a class="code" href="classAttachmentEdit.html" title="An edit field for an email attachment.">AttachmentEdit</a> *edit = <span class="keyword">new</span> <a class="code" href="classComposer.html#aa4bbd94229aa2788f3dd71177c1b1f34">AttachmentEdit</a>(<span class="keyword">this</span>);
  <a class="code" href="classComposer.html#a9bcfcbfc8651cefaaa3c830d64a9ffb3">edits_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(5, 1)-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WContainerWidget.html#a1439877a32c4b082f312fee81d139665">insertBefore</a>(edit, <a class="code" href="classComposer.html#a0ab2b9453f4787af299e72b4c2a2423d" title="Option for attaching another file.">attachOtherFile_</a>);
  <a class="code" href="classComposer.html#a9616ef08dd2e3f16b63cec7b1d1cbf2c" title="Array which holds all the attachments, including one extra invisible one.">attachments_</a>.push_back(edit);
  <a class="code" href="classComposer.html#a9616ef08dd2e3f16b63cec7b1d1cbf2c" title="Array which holds all the attachments, including one extra invisible one.">attachments_</a>.back()-&gt;hide();

  <span class="comment">// Connect the attachOtherFile_ option to show this attachment.</span>
  <a class="code" href="classComposer.html#a0ab2b9453f4787af299e72b4c2a2423d" title="Option for attaching another file.">attachOtherFile_</a>-&gt;<a class="code" href="classOption.html#a31cd766f28605ceba53642d7d4e68c9e" title="Returns the clickable part.">item</a>()-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WInteractWidget.html#ae11e050cce0d4a8f742afa3ef92bfe8c">clicked</a>()
    .connect(<a class="code" href="classComposer.html#a9616ef08dd2e3f16b63cec7b1d1cbf2c" title="Array which holds all the attachments, including one extra invisible one.">attachments_</a>.back(), &amp;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWidget.html#a52dcef5a385ddfa0a8c3e6c20000f181">WWidget::show</a>);
}
</pre></div>
</div>
</div>
<a class="anchor" id="ad28ae55ec6069a08d86fc0e92387dccb"></a><!-- doxytag: member="Composer::bcc" ref="ad28ae55ec6069a08d86fc0e92387dccb" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; <a class="el" href="structContact.html">Contact</a> &gt; Composer::bcc </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the Bc: contacts. </p>

<p>Definition at line <a class="el" href="Composer_8C_source.html#l00060">60</a> of file <a class="el" href="Composer_8C_source.html">Composer.C</a>.</p>
<div class="fragment"><pre class="fragment">{
  <span class="keywordflow">return</span> <a class="code" href="classComposer.html#ae58f4078c8859022a18f9d4460894289" title="Bcc: Addressees edit.">bccEdit_</a>-&gt;<a class="code" href="classAddresseeEdit.html#ab7dbde2bff2fef234d20617b7ae42e26" title="Get a list of addressees.">addressees</a>();
}
</pre></div>
</div>
</div>
<a class="anchor" id="afbabc511b2d7faf6e789d83e999886d1"></a><!-- doxytag: member="Composer::cc" ref="afbabc511b2d7faf6e789d83e999886d1" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; <a class="el" href="structContact.html">Contact</a> &gt; Composer::cc </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the Cc: contacts. </p>

<p>Definition at line <a class="el" href="Composer_8C_source.html#l00055">55</a> of file <a class="el" href="Composer_8C_source.html">Composer.C</a>.</p>
<div class="fragment"><pre class="fragment">{
  <span class="keywordflow">return</span> <a class="code" href="classComposer.html#a9d12e4daf1f221a8f387037fbcd147ae" title="Cc: Addressees edit.">ccEdit_</a>-&gt;<a class="code" href="classAddresseeEdit.html#ab7dbde2bff2fef234d20617b7ae42e26" title="Get a list of addressees.">addressees</a>();
}
</pre></div>
</div>
</div>
<a class="anchor" id="ad949df7a1910929fffb12a67b362508f"></a><!-- doxytag: member="Composer::createUi" ref="ad949df7a1910929fffb12a67b362508f" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Composer::createUi </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Composer_8C_source.html#l00093">93</a> of file <a class="el" href="Composer_8C_source.html">Composer.C</a>.</p>
<div class="fragment"><pre class="fragment">{
  <a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WCompositeWidget.html#af9a8abf4e8b5be186a31cd951e60bdc6">setStyleClass</a>(<span class="stringliteral">&quot;darker&quot;</span>);

  <span class="comment">// horizontal layout container, used for top and bottom buttons.</span>
  <a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WContainerWidget.html">WContainerWidget</a> *horiz;

  <span class="comment">/*</span>
<span class="comment">   * Top buttons</span>
<span class="comment">   */</span>
  horiz = <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WContainerWidget.html">WContainerWidget</a>(<a class="code" href="classComposer.html#aaf13aa9b960e901cc97270350f4b7990">layout_</a>);
  horiz-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WContainerWidget.html#afa5f6800e2170ae2f4586a25c72f8c34">setPadding</a>(5);
  <a class="code" href="classComposer.html#a476ad9498a617ce73199792d4ab727be">topSendButton_</a> = <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WPushButton.html">WPushButton</a>(<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWidget.html#aa651f107ec7cf080faef6c435705fc44">tr</a>(<span class="stringliteral">&quot;msg.send&quot;</span>), horiz);
  <a class="code" href="classComposer.html#a476ad9498a617ce73199792d4ab727be">topSendButton_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWebWidget.html#afd3a3b359681111460a93d13979d17dd">setStyleClass</a>(<span class="stringliteral">&quot;default&quot;</span>); <span class="comment">// default action</span>
  <a class="code" href="classComposer.html#a2b4444c47fe4718e03661bb2af36102e">topSaveNowButton_</a> = <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WPushButton.html">WPushButton</a>(<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWidget.html#aa651f107ec7cf080faef6c435705fc44">tr</a>(<span class="stringliteral">&quot;msg.savenow&quot;</span>), horiz);
  <a class="code" href="classComposer.html#a7dc86db047a022086d644c825fa9588d">topDiscardButton_</a> = <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WPushButton.html">WPushButton</a>(<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWidget.html#aa651f107ec7cf080faef6c435705fc44">tr</a>(<span class="stringliteral">&quot;msg.discard&quot;</span>), horiz);

  <span class="comment">// Text widget which shows status messages, next to the top buttons.</span>
  <a class="code" href="classComposer.html#a09067ffd913810f9d499570609e17674">statusMsg_</a> = <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WText.html">WText</a>(horiz);
  <a class="code" href="classComposer.html#a09067ffd913810f9d499570609e17674">statusMsg_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWebWidget.html#a9795c18e926b26b97fcbabc62a1dd4e3">setMargin</a>(15, Left);

  <span class="comment">/*</span>
<span class="comment">   * To, Cc, Bcc, Subject, Attachments</span>
<span class="comment">   *</span>
<span class="comment">   * They are organized in a two-column table: left column for</span>
<span class="comment">   * labels, and right column for the edit.</span>
<span class="comment">   */</span>
  <a class="code" href="classComposer.html#a9bcfcbfc8651cefaaa3c830d64a9ffb3">edits_</a> = <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTable.html">WTable</a>(<a class="code" href="classComposer.html#aaf13aa9b960e901cc97270350f4b7990">layout_</a>);
  <a class="code" href="classComposer.html#a9bcfcbfc8651cefaaa3c830d64a9ffb3">edits_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWebWidget.html#afd3a3b359681111460a93d13979d17dd">setStyleClass</a>(<span class="stringliteral">&quot;lighter&quot;</span>);
  <a class="code" href="classComposer.html#a9bcfcbfc8651cefaaa3c830d64a9ffb3">edits_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWebWidget.html#a4762c1aa0b5788e54a52270674f21e23">resize</a>(<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WLength.html">WLength</a>(100, WLength::Percentage), WLength::Auto);
  <a class="code" href="classComposer.html#a9bcfcbfc8651cefaaa3c830d64a9ffb3">edits_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(0, 0)-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWebWidget.html#a4762c1aa0b5788e54a52270674f21e23">resize</a>(<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WLength.html">WLength</a>(1, WLength::Percentage),
                                  WLength::Auto);

  <span class="comment">/*</span>
<span class="comment">   * To, Cc, Bcc</span>
<span class="comment">   */</span>
  <a class="code" href="classComposer.html#a5171d107b535bd670b72d6d3abe4b850" title="To: Addressees edit.">toEdit_</a> = <span class="keyword">new</span> <a class="code" href="classAddresseeEdit.html" title="An edit field for an email addressee.">AddresseeEdit</a>(<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWidget.html#aa651f107ec7cf080faef6c435705fc44">tr</a>(<span class="stringliteral">&quot;msg.to&quot;</span>), <a class="code" href="classComposer.html#a9bcfcbfc8651cefaaa3c830d64a9ffb3">edits_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(0, 1),
                              <a class="code" href="classComposer.html#a9bcfcbfc8651cefaaa3c830d64a9ffb3">edits_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(0, 0));
  <span class="comment">// add some space above To:</span>
  <a class="code" href="classComposer.html#a9bcfcbfc8651cefaaa3c830d64a9ffb3">edits_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(0, 1)-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWebWidget.html#a9795c18e926b26b97fcbabc62a1dd4e3">setMargin</a>(5, Top);
  <a class="code" href="classComposer.html#a9d12e4daf1f221a8f387037fbcd147ae" title="Cc: Addressees edit.">ccEdit_</a> = <span class="keyword">new</span> <a class="code" href="classAddresseeEdit.html" title="An edit field for an email addressee.">AddresseeEdit</a>(<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWidget.html#aa651f107ec7cf080faef6c435705fc44">tr</a>(<span class="stringliteral">&quot;msg.cc&quot;</span>), <a class="code" href="classComposer.html#a9bcfcbfc8651cefaaa3c830d64a9ffb3">edits_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(1, 1),
                              <a class="code" href="classComposer.html#a9bcfcbfc8651cefaaa3c830d64a9ffb3">edits_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(1, 0));
  <a class="code" href="classComposer.html#ae58f4078c8859022a18f9d4460894289" title="Bcc: Addressees edit.">bccEdit_</a> = <span class="keyword">new</span> <a class="code" href="classAddresseeEdit.html" title="An edit field for an email addressee.">AddresseeEdit</a>(<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWidget.html#aa651f107ec7cf080faef6c435705fc44">tr</a>(<span class="stringliteral">&quot;msg.bcc&quot;</span>), <a class="code" href="classComposer.html#a9bcfcbfc8651cefaaa3c830d64a9ffb3">edits_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(2, 1),
                               <a class="code" href="classComposer.html#a9bcfcbfc8651cefaaa3c830d64a9ffb3">edits_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(2, 0));

  <a class="code" href="classComposer.html#a9d12e4daf1f221a8f387037fbcd147ae" title="Cc: Addressees edit.">ccEdit_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWidget.html#a0825c3ccbd4999afc1a88fafa6aa6fc7">hide</a>();
  bccEdit_-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWidget.html#a0825c3ccbd4999afc1a88fafa6aa6fc7">hide</a>();

  <span class="comment">/*</span>
<span class="comment">   * Addressbook suggestions popup</span>
<span class="comment">   */</span>
  <a class="code" href="classComposer.html#a889f0931ce31c316b89201db6b146814" title="The suggestions popup for the addressee edits.">contactSuggestions_</a> = <span class="keyword">new</span> <a class="code" href="classContactSuggestions.html" title="A suggestion popup suggesting contacts from an addressbook.">ContactSuggestions</a>(<a class="code" href="classComposer.html#aaf13aa9b960e901cc97270350f4b7990">layout_</a>);

  <a class="code" href="classComposer.html#a889f0931ce31c316b89201db6b146814" title="The suggestions popup for the addressee edits.">contactSuggestions_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WSuggestionPopup.html#a56813832a386cdc93a0e70b0d0aa5f92">forEdit</a>(<a class="code" href="classComposer.html#a5171d107b535bd670b72d6d3abe4b850" title="To: Addressees edit.">toEdit_</a>);
  <a class="code" href="classComposer.html#a889f0931ce31c316b89201db6b146814" title="The suggestions popup for the addressee edits.">contactSuggestions_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WSuggestionPopup.html#a56813832a386cdc93a0e70b0d0aa5f92">forEdit</a>(<a class="code" href="classComposer.html#a9d12e4daf1f221a8f387037fbcd147ae" title="Cc: Addressees edit.">ccEdit_</a>);
  <a class="code" href="classComposer.html#a889f0931ce31c316b89201db6b146814" title="The suggestions popup for the addressee edits.">contactSuggestions_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WSuggestionPopup.html#a56813832a386cdc93a0e70b0d0aa5f92">forEdit</a>(bccEdit_);

  <span class="comment">/*</span>
<span class="comment">   * We use an OptionList widget to show the expand options for</span>
<span class="comment">   * ccEdit_ and bccEdit_ nicely next to each other, separated</span>
<span class="comment">   * by pipe characters.</span>
<span class="comment">   */</span>
  <a class="code" href="classComposer.html#aea60b95ef9d0053fcffe930e4865a958" title="OptionsList for editing Cc or Bcc.">options_</a> = <span class="keyword">new</span> <a class="code" href="classOptionList.html" title="A list of options, separated by &#39;|&#39;.">OptionList</a>(<a class="code" href="classComposer.html#a9bcfcbfc8651cefaaa3c830d64a9ffb3">edits_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(3, 1));

  <a class="code" href="classComposer.html#aea60b95ef9d0053fcffe930e4865a958" title="OptionsList for editing Cc or Bcc.">options_</a>-&gt;<a class="code" href="classOptionList.html#a358bf988ce23142cabf3e19dcbc2a158" title="Add an Option to the list.">add</a>(<a class="code" href="classComposer.html#ac307d36403cab6ff70204c7822d9e149" title="Option for editing Cc:">addcc_</a> = <span class="keyword">new</span> <a class="code" href="classOption.html" title="A clickable option.">Option</a>(<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWidget.html#aa651f107ec7cf080faef6c435705fc44">tr</a>(<span class="stringliteral">&quot;msg.addcc&quot;</span>)));
  <a class="code" href="classComposer.html#aea60b95ef9d0053fcffe930e4865a958" title="OptionsList for editing Cc or Bcc.">options_</a>-&gt;<a class="code" href="classOptionList.html#a358bf988ce23142cabf3e19dcbc2a158" title="Add an Option to the list.">add</a>(<a class="code" href="classComposer.html#a9d102646eca2e3081886796cdb15a409" title="Option for editing Bcc:">addbcc_</a> = <span class="keyword">new</span> <a class="code" href="classOption.html" title="A clickable option.">Option</a>(<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWidget.html#aa651f107ec7cf080faef6c435705fc44">tr</a>(<span class="stringliteral">&quot;msg.addbcc&quot;</span>)));

  <span class="comment">/*</span>
<span class="comment">   * Subject</span>
<span class="comment">   */</span>
  <span class="keyword">new</span> <a class="code" href="classLabel.html" title="A label.">Label</a>(<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWidget.html#aa651f107ec7cf080faef6c435705fc44">tr</a>(<span class="stringliteral">&quot;msg.subject&quot;</span>), <a class="code" href="classComposer.html#a9bcfcbfc8651cefaaa3c830d64a9ffb3">edits_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(4, 0));
  <a class="code" href="classComposer.html#a7bc919d444b2bb9ea8cfb7fd3db689df" title="The subject line edit.">subject_</a> = <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WLineEdit.html">WLineEdit</a>(<a class="code" href="classComposer.html#a9bcfcbfc8651cefaaa3c830d64a9ffb3">edits_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(4, 1));
  subject_-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWebWidget.html#a4762c1aa0b5788e54a52270674f21e23">resize</a>(<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WLength.html">WLength</a>(99, WLength::Percentage), WLength::Auto);

  <span class="comment">/*</span>
<span class="comment">   * Attachments</span>
<span class="comment">   */</span>
  <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WImage.html">WImage</a>(<span class="stringliteral">&quot;icons/paperclip.png&quot;</span>, <a class="code" href="classComposer.html#a9bcfcbfc8651cefaaa3c830d64a9ffb3">edits_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(5, 0));
  <a class="code" href="classComposer.html#a9bcfcbfc8651cefaaa3c830d64a9ffb3">edits_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(5, 0)-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WContainerWidget.html#aba13c9e62c74bcba53519ee9cf41f40a">setContentAlignment</a>(AlignRight | AlignTop);
  <a class="code" href="classComposer.html#a9bcfcbfc8651cefaaa3c830d64a9ffb3">edits_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(5, 0)-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WContainerWidget.html#afa5f6800e2170ae2f4586a25c72f8c34">setPadding</a>(3);
  
  <span class="comment">// Attachment edits: we always have the next attachmentedit ready</span>
  <span class="comment">// but hidden. This improves the response time, since the show()</span>
  <span class="comment">// and hide() slots are stateless.</span>
  <a class="code" href="classComposer.html#a9616ef08dd2e3f16b63cec7b1d1cbf2c" title="Array which holds all the attachments, including one extra invisible one.">attachments_</a>.push_back(<span class="keyword">new</span> <a class="code" href="classComposer.html#aa4bbd94229aa2788f3dd71177c1b1f34">AttachmentEdit</a>(<span class="keyword">this</span>, <a class="code" href="classComposer.html#a9bcfcbfc8651cefaaa3c830d64a9ffb3">edits_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(5, 1)));
  <a class="code" href="classComposer.html#a9616ef08dd2e3f16b63cec7b1d1cbf2c" title="Array which holds all the attachments, including one extra invisible one.">attachments_</a>.back()-&gt;hide();

  <span class="comment">/*</span>
<span class="comment">   * Two options for attaching files. The first does not say &#39;another&#39;.</span>
<span class="comment">   */</span>
  <a class="code" href="classComposer.html#a8e04ae3dc2b27ea08a803cbbb8ebd031" title="Option for attaching a file.">attachFile_</a> = <span class="keyword">new</span> <a class="code" href="classOption.html" title="A clickable option.">Option</a>(<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWidget.html#aa651f107ec7cf080faef6c435705fc44">tr</a>(<span class="stringliteral">&quot;msg.attachfile&quot;</span>),
                           <a class="code" href="classComposer.html#a9bcfcbfc8651cefaaa3c830d64a9ffb3">edits_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(5, 1));
  <a class="code" href="classComposer.html#a0ab2b9453f4787af299e72b4c2a2423d" title="Option for attaching another file.">attachOtherFile_</a> = <span class="keyword">new</span> <a class="code" href="classOption.html" title="A clickable option.">Option</a>(<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWidget.html#aa651f107ec7cf080faef6c435705fc44">tr</a>(<span class="stringliteral">&quot;msg.attachanother&quot;</span>),
                                <a class="code" href="classComposer.html#a9bcfcbfc8651cefaaa3c830d64a9ffb3">edits_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTable.html#ac4b59af9a44e185edb14e7f1f439d6c4">elementAt</a>(5, 1));
  attachOtherFile_-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWidget.html#a0825c3ccbd4999afc1a88fafa6aa6fc7">hide</a>();

  <span class="comment">/*</span>
<span class="comment">   * Message</span>
<span class="comment">   */</span>
  <a class="code" href="classComposer.html#a17dbbe76abbe0ed57d4c5928bcf24c42" title="WTextArea for the main message.">message_</a> = <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTextArea.html">WTextArea</a>(<a class="code" href="classComposer.html#aaf13aa9b960e901cc97270350f4b7990">layout_</a>);
  <a class="code" href="classComposer.html#a17dbbe76abbe0ed57d4c5928bcf24c42" title="WTextArea for the main message.">message_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTextArea.html#af429ed3a2b6011c97b4f9ea7f910e079">setColumns</a>(80);
  <a class="code" href="classComposer.html#a17dbbe76abbe0ed57d4c5928bcf24c42" title="WTextArea for the main message.">message_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTextArea.html#ade46b47350f427f45c9b53ac7e41c5b2">setRows</a>(10); <span class="comment">// should be 20, but let&#39;s keep it smaller</span>
  <a class="code" href="classComposer.html#a17dbbe76abbe0ed57d4c5928bcf24c42" title="WTextArea for the main message.">message_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWebWidget.html#a9795c18e926b26b97fcbabc62a1dd4e3">setMargin</a>(10);

  <span class="comment">/*</span>
<span class="comment">   * Bottom buttons</span>
<span class="comment">   */</span>
  horiz = <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WContainerWidget.html">WContainerWidget</a>(<a class="code" href="classComposer.html#aaf13aa9b960e901cc97270350f4b7990">layout_</a>);
  horiz-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WContainerWidget.html#afa5f6800e2170ae2f4586a25c72f8c34">setPadding</a>(5);
  <a class="code" href="classComposer.html#a66efb6563c5dfd378def156a91531b6b">botSendButton_</a> = <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WPushButton.html">WPushButton</a>(<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWidget.html#aa651f107ec7cf080faef6c435705fc44">tr</a>(<span class="stringliteral">&quot;msg.send&quot;</span>), horiz);
  <a class="code" href="classComposer.html#a66efb6563c5dfd378def156a91531b6b">botSendButton_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWebWidget.html#afd3a3b359681111460a93d13979d17dd">setStyleClass</a>(<span class="stringliteral">&quot;default&quot;</span>);
  <a class="code" href="classComposer.html#a03113e5fe16b19f8108659d30da25a3c">botSaveNowButton_</a> = <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WPushButton.html">WPushButton</a>(<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWidget.html#aa651f107ec7cf080faef6c435705fc44">tr</a>(<span class="stringliteral">&quot;msg.savenow&quot;</span>), horiz);
  <a class="code" href="classComposer.html#a8ed76b62de2178118194a6672b18588a">botDiscardButton_</a> = <span class="keyword">new</span> <a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WPushButton.html">WPushButton</a>(<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWidget.html#aa651f107ec7cf080faef6c435705fc44">tr</a>(<span class="stringliteral">&quot;msg.discard&quot;</span>), horiz);

  <span class="comment">/*</span>
<span class="comment">   * Button events.</span>
<span class="comment">   */</span>
  <a class="code" href="classComposer.html#a476ad9498a617ce73199792d4ab727be">topSendButton_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WInteractWidget.html#ae11e050cce0d4a8f742afa3ef92bfe8c">clicked</a>().connect(<span class="keyword">this</span>, &amp;<a class="code" href="classComposer.html#a06e0d72a05418d11d1cfec8a5fcb48b6" title="Slot attached to the Send button.">Composer::sendIt</a>);
  <a class="code" href="classComposer.html#a66efb6563c5dfd378def156a91531b6b">botSendButton_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WInteractWidget.html#ae11e050cce0d4a8f742afa3ef92bfe8c">clicked</a>().connect(<span class="keyword">this</span>, &amp;<a class="code" href="classComposer.html#a06e0d72a05418d11d1cfec8a5fcb48b6" title="Slot attached to the Send button.">Composer::sendIt</a>);
  <a class="code" href="classComposer.html#a2b4444c47fe4718e03661bb2af36102e">topSaveNowButton_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WInteractWidget.html#ae11e050cce0d4a8f742afa3ef92bfe8c">clicked</a>().connect(<span class="keyword">this</span>, &amp;<a class="code" href="classComposer.html#a5db93f098178964c68c1ecb287ff11ca" title="Slot attached to the Save now button.">Composer::saveNow</a>);
  <a class="code" href="classComposer.html#a03113e5fe16b19f8108659d30da25a3c">botSaveNowButton_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WInteractWidget.html#ae11e050cce0d4a8f742afa3ef92bfe8c">clicked</a>().connect(<span class="keyword">this</span>, &amp;<a class="code" href="classComposer.html#a5db93f098178964c68c1ecb287ff11ca" title="Slot attached to the Save now button.">Composer::saveNow</a>);
  <a class="code" href="classComposer.html#a7dc86db047a022086d644c825fa9588d">topDiscardButton_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WInteractWidget.html#ae11e050cce0d4a8f742afa3ef92bfe8c">clicked</a>().connect(<span class="keyword">this</span>, &amp;<a class="code" href="classComposer.html#a5880788a9a63a938572e6ca7e47a01ab" title="Slot attached to the Discard button.">Composer::discardIt</a>);
  <a class="code" href="classComposer.html#a8ed76b62de2178118194a6672b18588a">botDiscardButton_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WInteractWidget.html#ae11e050cce0d4a8f742afa3ef92bfe8c">clicked</a>().connect(<span class="keyword">this</span>, &amp;<a class="code" href="classComposer.html#a5880788a9a63a938572e6ca7e47a01ab" title="Slot attached to the Discard button.">Composer::discardIt</a>);

  <span class="comment">/*</span>
<span class="comment">   * Option events to show the cc or Bcc edit.</span>
<span class="comment">   *</span>
<span class="comment">   * Clicking on the option should both show the corresponding edit, and</span>
<span class="comment">   * hide the option itself.</span>
<span class="comment">   */</span>
  <a class="code" href="classComposer.html#ac307d36403cab6ff70204c7822d9e149" title="Option for editing Cc:">addcc_</a>-&gt;<a class="code" href="classOption.html#a31cd766f28605ceba53642d7d4e68c9e" title="Returns the clickable part.">item</a>()-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WInteractWidget.html#ae11e050cce0d4a8f742afa3ef92bfe8c">clicked</a>().connect(<a class="code" href="classComposer.html#a9d12e4daf1f221a8f387037fbcd147ae" title="Cc: Addressees edit.">ccEdit_</a>, &amp;WWidget::show);
  <a class="code" href="classComposer.html#ac307d36403cab6ff70204c7822d9e149" title="Option for editing Cc:">addcc_</a>-&gt;<a class="code" href="classOption.html#a31cd766f28605ceba53642d7d4e68c9e" title="Returns the clickable part.">item</a>()-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WInteractWidget.html#ae11e050cce0d4a8f742afa3ef92bfe8c">clicked</a>().connect(<a class="code" href="classComposer.html#ac307d36403cab6ff70204c7822d9e149" title="Option for editing Cc:">addcc_</a>, &amp;WWidget::hide);
  <a class="code" href="classComposer.html#ac307d36403cab6ff70204c7822d9e149" title="Option for editing Cc:">addcc_</a>-&gt;<a class="code" href="classOption.html#a31cd766f28605ceba53642d7d4e68c9e" title="Returns the clickable part.">item</a>()-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WInteractWidget.html#ae11e050cce0d4a8f742afa3ef92bfe8c">clicked</a>().connect(<a class="code" href="classComposer.html#aea60b95ef9d0053fcffe930e4865a958" title="OptionsList for editing Cc or Bcc.">options_</a>, &amp;<a class="code" href="classOptionList.html#a5b0013e09c5f269f33aa5c9bfb17e32b" title="Updates the stateless implementations after an Option has been hidden or shown.">OptionList::update</a>);
  <a class="code" href="classComposer.html#ac307d36403cab6ff70204c7822d9e149" title="Option for editing Cc:">addcc_</a>-&gt;<a class="code" href="classOption.html#a31cd766f28605ceba53642d7d4e68c9e" title="Returns the clickable part.">item</a>()-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WInteractWidget.html#ae11e050cce0d4a8f742afa3ef92bfe8c">clicked</a>().connect(<a class="code" href="classComposer.html#a9d12e4daf1f221a8f387037fbcd147ae" title="Cc: Addressees edit.">ccEdit_</a>, &amp;WFormWidget::setFocus);

  <a class="code" href="classComposer.html#a9d102646eca2e3081886796cdb15a409" title="Option for editing Bcc:">addbcc_</a>-&gt;<a class="code" href="classOption.html#a31cd766f28605ceba53642d7d4e68c9e" title="Returns the clickable part.">item</a>()-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WInteractWidget.html#ae11e050cce0d4a8f742afa3ef92bfe8c">clicked</a>().connect(bccEdit_, &amp;WWidget::show);
  <a class="code" href="classComposer.html#a9d102646eca2e3081886796cdb15a409" title="Option for editing Bcc:">addbcc_</a>-&gt;<a class="code" href="classOption.html#a31cd766f28605ceba53642d7d4e68c9e" title="Returns the clickable part.">item</a>()-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WInteractWidget.html#ae11e050cce0d4a8f742afa3ef92bfe8c">clicked</a>().connect(<a class="code" href="classComposer.html#a9d102646eca2e3081886796cdb15a409" title="Option for editing Bcc:">addbcc_</a>, &amp;WWidget::hide);
  <a class="code" href="classComposer.html#a9d102646eca2e3081886796cdb15a409" title="Option for editing Bcc:">addbcc_</a>-&gt;<a class="code" href="classOption.html#a31cd766f28605ceba53642d7d4e68c9e" title="Returns the clickable part.">item</a>()-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WInteractWidget.html#ae11e050cce0d4a8f742afa3ef92bfe8c">clicked</a>().connect(<a class="code" href="classComposer.html#aea60b95ef9d0053fcffe930e4865a958" title="OptionsList for editing Cc or Bcc.">options_</a>, &amp;<a class="code" href="classOptionList.html#a5b0013e09c5f269f33aa5c9bfb17e32b" title="Updates the stateless implementations after an Option has been hidden or shown.">OptionList::update</a>);
  <a class="code" href="classComposer.html#a9d102646eca2e3081886796cdb15a409" title="Option for editing Bcc:">addbcc_</a>-&gt;<a class="code" href="classOption.html#a31cd766f28605ceba53642d7d4e68c9e" title="Returns the clickable part.">item</a>()-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WInteractWidget.html#ae11e050cce0d4a8f742afa3ef92bfe8c">clicked</a>().connect(bccEdit_, &amp;WFormWidget::setFocus);

  <span class="comment">/*</span>
<span class="comment">   * Option event to attach the first attachment.</span>
<span class="comment">   *</span>
<span class="comment">   * We show the first attachment, and call attachMore() to prepare the</span>
<span class="comment">   * next attachment edit that will be hidden.</span>
<span class="comment">   *</span>
<span class="comment">   * In addition, we need to show the &#39;attach More&#39; option, and hide the</span>
<span class="comment">   * &#39;attach&#39; option.</span>
<span class="comment">   */</span>
  <a class="code" href="classComposer.html#a8e04ae3dc2b27ea08a803cbbb8ebd031" title="Option for attaching a file.">attachFile_</a>-&gt;<a class="code" href="classOption.html#a31cd766f28605ceba53642d7d4e68c9e" title="Returns the clickable part.">item</a>()-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WInteractWidget.html#ae11e050cce0d4a8f742afa3ef92bfe8c">clicked</a>().connect(<a class="code" href="classComposer.html#a9616ef08dd2e3f16b63cec7b1d1cbf2c" title="Array which holds all the attachments, including one extra invisible one.">attachments_</a>.back(), &amp;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWidget.html#a52dcef5a385ddfa0a8c3e6c20000f181">WWidget::show</a>);
  <a class="code" href="classComposer.html#a8e04ae3dc2b27ea08a803cbbb8ebd031" title="Option for attaching a file.">attachFile_</a>-&gt;<a class="code" href="classOption.html#a31cd766f28605ceba53642d7d4e68c9e" title="Returns the clickable part.">item</a>()-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WInteractWidget.html#ae11e050cce0d4a8f742afa3ef92bfe8c">clicked</a>().connect(attachOtherFile_, &amp;WWidget::show);
  <a class="code" href="classComposer.html#a8e04ae3dc2b27ea08a803cbbb8ebd031" title="Option for attaching a file.">attachFile_</a>-&gt;<a class="code" href="classOption.html#a31cd766f28605ceba53642d7d4e68c9e" title="Returns the clickable part.">item</a>()-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WInteractWidget.html#ae11e050cce0d4a8f742afa3ef92bfe8c">clicked</a>().connect(<a class="code" href="classComposer.html#a8e04ae3dc2b27ea08a803cbbb8ebd031" title="Option for attaching a file.">attachFile_</a>, &amp;WWidget::hide);
  <a class="code" href="classComposer.html#a8e04ae3dc2b27ea08a803cbbb8ebd031" title="Option for attaching a file.">attachFile_</a>-&gt;<a class="code" href="classOption.html#a31cd766f28605ceba53642d7d4e68c9e" title="Returns the clickable part.">item</a>()-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WInteractWidget.html#ae11e050cce0d4a8f742afa3ef92bfe8c">clicked</a>().connect(<span class="keyword">this</span>, &amp;<a class="code" href="classComposer.html#a5ade97ee657c39f8576c8ca2a98a8731" title="Add an attachment edit.">Composer::attachMore</a>);
  attachOtherFile_-&gt;<a class="code" href="classOption.html#a31cd766f28605ceba53642d7d4e68c9e" title="Returns the clickable part.">item</a>()-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WInteractWidget.html#ae11e050cce0d4a8f742afa3ef92bfe8c">clicked</a>().connect(<span class="keyword">this</span>, &amp;<a class="code" href="classComposer.html#a5ade97ee657c39f8576c8ca2a98a8731" title="Add an attachment edit.">Composer::attachMore</a>);
}
</pre></div>
</div>
</div>
<a class="anchor" id="a5880788a9a63a938572e6ca7e47a01ab"></a><!-- doxytag: member="Composer::discardIt" ref="a5880788a9a63a938572e6ca7e47a01ab" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Composer::discardIt </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Slot attached to the Discard button. </p>
<p>Discards the current message: emits the discard event. </p>

<p>Definition at line <a class="el" href="Composer_8C_source.html#l00386">386</a> of file <a class="el" href="Composer_8C_source.html">Composer.C</a>.</p>
<div class="fragment"><pre class="fragment">{ 
  <a class="code" href="classComposer.html#a93eb63c5e90cf794a710348a847b9c0a" title="The message must be discarded.">discard</a>.<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1Signal.html#a8d9cf8a1e83634462fe2b492b3beb1c5">emit</a>();
}
</pre></div>
</div>
</div>
<a class="anchor" id="a99572a1e5ee69bfbe804318fc28dae1b"></a><!-- doxytag: member="Composer::message" ref="a99572a1e5ee69bfbe804318fc28dae1b" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WString.html">WString</a> &amp; Composer::message </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the message. </p>

<p>Definition at line <a class="el" href="Composer_8C_source.html#l00088">88</a> of file <a class="el" href="Composer_8C_source.html">Composer.C</a>.</p>
<div class="fragment"><pre class="fragment">{
  <span class="keywordflow">return</span> <a class="code" href="classComposer.html#a17dbbe76abbe0ed57d4c5928bcf24c42" title="WTextArea for the main message.">message_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTextArea.html#ad8b89ce30df2b02894c53b6ed71fe4a6">text</a>();
}
</pre></div>
</div>
</div>
<a class="anchor" id="ab142f49c8de59da0f84185165eb6c1c1"></a><!-- doxytag: member="Composer::removeAttachment" ref="ab142f49c8de59da0f84185165eb6c1c1" args="(AttachmentEdit *attachment)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Composer::removeAttachment </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classAttachmentEdit.html">AttachmentEdit</a> *&#160;</td>
          <td class="paramname"><em>attachment</em></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Remove the given attachment edit. </p>

<p>Definition at line <a class="el" href="Composer_8C_source.html#l00264">264</a> of file <a class="el" href="Composer_8C_source.html">Composer.C</a>.</p>
<div class="fragment"><pre class="fragment">{
  <span class="comment">/*</span>
<span class="comment">   * Remove the given attachment from the attachments list.</span>
<span class="comment">   */</span>
  std::vector&lt;AttachmentEdit *&gt;::iterator i
    = <a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WCompositeWidget.html#a7afbf99afdb3fca030b01ac0b958f42d">std::find</a>(<a class="code" href="classComposer.html#a9616ef08dd2e3f16b63cec7b1d1cbf2c" title="Array which holds all the attachments, including one extra invisible one.">attachments_</a>.begin(), <a class="code" href="classComposer.html#a9616ef08dd2e3f16b63cec7b1d1cbf2c" title="Array which holds all the attachments, including one extra invisible one.">attachments_</a>.end(), attachment);

  <span class="keywordflow">if</span> (i != <a class="code" href="classComposer.html#a9616ef08dd2e3f16b63cec7b1d1cbf2c" title="Array which holds all the attachments, including one extra invisible one.">attachments_</a>.end()) {
    <a class="code" href="classComposer.html#a9616ef08dd2e3f16b63cec7b1d1cbf2c" title="Array which holds all the attachments, including one extra invisible one.">attachments_</a>.erase(i);
    <span class="keyword">delete</span> attachment;

    <span class="keywordflow">if</span> (<a class="code" href="classComposer.html#a9616ef08dd2e3f16b63cec7b1d1cbf2c" title="Array which holds all the attachments, including one extra invisible one.">attachments_</a>.size() == 1) {
      <span class="comment">/*</span>
<span class="comment">       * This was the last visible attachment, thus, we should switch</span>
<span class="comment">       * the option control again.</span>
<span class="comment">       */</span>
      <a class="code" href="classComposer.html#a0ab2b9453f4787af299e72b4c2a2423d" title="Option for attaching another file.">attachOtherFile_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWidget.html#a0825c3ccbd4999afc1a88fafa6aa6fc7">hide</a>();
      <a class="code" href="classComposer.html#a8e04ae3dc2b27ea08a803cbbb8ebd031" title="Option for attaching a file.">attachFile_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWidget.html#a52dcef5a385ddfa0a8c3e6c20000f181">show</a>();
      <a class="code" href="classComposer.html#a8e04ae3dc2b27ea08a803cbbb8ebd031" title="Option for attaching a file.">attachFile_</a>-&gt;<a class="code" href="classOption.html#a31cd766f28605ceba53642d7d4e68c9e" title="Returns the clickable part.">item</a>()-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WInteractWidget.html#ae11e050cce0d4a8f742afa3ef92bfe8c">clicked</a>()
        .connect(<a class="code" href="classComposer.html#a9616ef08dd2e3f16b63cec7b1d1cbf2c" title="Array which holds all the attachments, including one extra invisible one.">attachments_</a>.back(), &amp;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWidget.html#a52dcef5a385ddfa0a8c3e6c20000f181">WWidget::show</a>);
    }
  }
}
</pre></div>
</div>
</div>
<a class="anchor" id="a1097d72401283f58dfd79dbfb47a30a5"></a><!-- doxytag: member="Composer::saved" ref="a1097d72401283f58dfd79dbfb47a30a5" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Composer::saved </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>All attachments have been processed, determine the result of saving the message. </p>

<p>Definition at line <a class="el" href="Composer_8C_source.html#l00348">348</a> of file <a class="el" href="Composer_8C_source.html">Composer.C</a>.</p>
<div class="fragment"><pre class="fragment">{
  <span class="comment">/*</span>
<span class="comment">   * All attachments have been processed.</span>
<span class="comment">   */</span>

  <span class="keywordtype">bool</span> attachmentsFailed = <span class="keyword">false</span>;
  <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0; i &lt; <a class="code" href="classComposer.html#a9616ef08dd2e3f16b63cec7b1d1cbf2c" title="Array which holds all the attachments, including one extra invisible one.">attachments_</a>.size() - 1; ++i)
    <span class="keywordflow">if</span> (<a class="code" href="classComposer.html#a9616ef08dd2e3f16b63cec7b1d1cbf2c" title="Array which holds all the attachments, including one extra invisible one.">attachments_</a>[i]-&gt;uploadFailed()) {
      attachmentsFailed = <span class="keyword">true</span>;
      <span class="keywordflow">break</span>;
    }

  <span class="keywordflow">if</span> (attachmentsFailed) {
    <a class="code" href="classComposer.html#a5163d3b98235d9c8d8d5aff82738ca57" title="Set the status, and apply the given style.">setStatus</a>(<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWidget.html#aa651f107ec7cf080faef6c435705fc44">tr</a>(<span class="stringliteral">&quot;msg.attachment.failed&quot;</span>), <span class="stringliteral">&quot;error&quot;</span>);
  } <span class="keywordflow">else</span> {
<span class="preprocessor">#ifndef WIN32</span>
<span class="preprocessor"></span>    time_t t = time(0);
    <span class="keyword">struct </span>tm td;
    gmtime_r(&amp;t, &amp;td);
    <span class="keywordtype">char</span> buffer[100];
    strftime(buffer, 100, <span class="stringliteral">&quot;%H:%M&quot;</span>, &amp;td);
<span class="preprocessor">#else</span>
<span class="preprocessor"></span>    <span class="keywordtype">char</span> buffer[] = <span class="stringliteral">&quot;server&quot;</span>; <span class="comment">// Should fix this; for now just make sense</span>
<span class="preprocessor">#endif</span>
<span class="preprocessor"></span>    <a class="code" href="classComposer.html#a5163d3b98235d9c8d8d5aff82738ca57" title="Set the status, and apply the given style.">setStatus</a>(<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWidget.html#aa651f107ec7cf080faef6c435705fc44">tr</a>(<span class="stringliteral">&quot;msg.ok&quot;</span>), <span class="stringliteral">&quot;status&quot;</span>);
    <a class="code" href="classComposer.html#a09067ffd913810f9d499570609e17674">statusMsg_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WText.html#a2f788aa524d51b3962642c9f565e66e6">setText</a>(std::string(<span class="stringliteral">&quot;Draft saved at &quot;</span>) + buffer);

    <span class="keywordflow">if</span> (<a class="code" href="classComposer.html#aa079baf3b2fcec4ceabda3457cf28de4">sending_</a>) {
      <a class="code" href="classComposer.html#a523271b083a60c433f044018f3c0d02a" title="The message is ready to be sent...">send</a>.<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1Signal.html#a8d9cf8a1e83634462fe2b492b3beb1c5">emit</a>();
      <span class="keywordflow">return</span>;
    }
  }

  <a class="code" href="classComposer.html#a75988a529863cd5e90138e46056aae9f" title="state when waiting asyncrhonously for attachments to be uploaded">saving_</a> = <span class="keyword">false</span>;
  <a class="code" href="classComposer.html#aa079baf3b2fcec4ceabda3457cf28de4">sending_</a> = <span class="keyword">false</span>;
}
</pre></div>
</div>
</div>
<a class="anchor" id="a5db93f098178964c68c1ecb287ff11ca"></a><!-- doxytag: member="Composer::saveNow" ref="a5db93f098178964c68c1ecb287ff11ca" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Composer::saveNow </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Slot attached to the Save now button. </p>
<p>Tries to save the mail message, and gives feedback on failure and on success. </p>

<p>Definition at line <a class="el" href="Composer_8C_source.html#l00302">302</a> of file <a class="el" href="Composer_8C_source.html">Composer.C</a>.</p>
<div class="fragment"><pre class="fragment">{
  <span class="keywordflow">if</span> (!<a class="code" href="classComposer.html#a75988a529863cd5e90138e46056aae9f" title="state when waiting asyncrhonously for attachments to be uploaded">saving_</a>) {
    <a class="code" href="classComposer.html#a75988a529863cd5e90138e46056aae9f" title="state when waiting asyncrhonously for attachments to be uploaded">saving_</a> = <span class="keyword">true</span>;

    <span class="comment">/*</span>
<span class="comment">     * Check if any attachments still need to be uploaded.</span>
<span class="comment">     * This may be the case when fileupload change events could not</span>
<span class="comment">     * be caught (for example in Konqueror).</span>
<span class="comment">     */</span>
    <a class="code" href="classComposer.html#a818abbb226340284e5998daa1d10a72c" title="number of attachments waiting to be uploaded during saving">attachmentsPending_</a> = 0;

    <span class="keywordflow">for</span> (<span class="keywordtype">unsigned</span> i = 0; i &lt; <a class="code" href="classComposer.html#a9616ef08dd2e3f16b63cec7b1d1cbf2c" title="Array which holds all the attachments, including one extra invisible one.">attachments_</a>.size() - 1; ++i) {
      <span class="keywordflow">if</span> (<a class="code" href="classComposer.html#a9616ef08dd2e3f16b63cec7b1d1cbf2c" title="Array which holds all the attachments, including one extra invisible one.">attachments_</a>[i]-&gt;uploadNow()) {
        ++<a class="code" href="classComposer.html#a818abbb226340284e5998daa1d10a72c" title="number of attachments waiting to be uploaded during saving">attachmentsPending_</a>;

        <span class="comment">// this will trigger attachmentDone() when done, see</span>
        <span class="comment">// the AttachmentEdit constructor.</span>
      }
    }

    std::cerr &lt;&lt; <span class="stringliteral">&quot;Attachments pending: &quot;</span> &lt;&lt; <a class="code" href="classComposer.html#a818abbb226340284e5998daa1d10a72c" title="number of attachments waiting to be uploaded during saving">attachmentsPending_</a> &lt;&lt; std::endl;
    <span class="keywordflow">if</span> (<a class="code" href="classComposer.html#a818abbb226340284e5998daa1d10a72c" title="number of attachments waiting to be uploaded during saving">attachmentsPending_</a>)
      <a class="code" href="classComposer.html#a5163d3b98235d9c8d8d5aff82738ca57" title="Set the status, and apply the given style.">setStatus</a>(<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWidget.html#aa651f107ec7cf080faef6c435705fc44">tr</a>(<span class="stringliteral">&quot;msg.uploading&quot;</span>), <span class="stringliteral">&quot;status&quot;</span>);
    <span class="keywordflow">else</span>
      <a class="code" href="classComposer.html#a1097d72401283f58dfd79dbfb47a30a5" title="All attachments have been processed, determine the result of saving the message.">saved</a>();
  }
}
</pre></div>
</div>
</div>
<a class="anchor" id="a06e0d72a05418d11d1cfec8a5fcb48b6"></a><!-- doxytag: member="Composer::sendIt" ref="a06e0d72a05418d11d1cfec8a5fcb48b6" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Composer::sendIt </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Slot attached to the Send button. </p>
<p>Tries to save the mail message, and if succesfull, sends it. </p>

<p>Definition at line <a class="el" href="Composer_8C_source.html#l00289">289</a> of file <a class="el" href="Composer_8C_source.html">Composer.C</a>.</p>
<div class="fragment"><pre class="fragment">{
  <span class="keywordflow">if</span> (!<a class="code" href="classComposer.html#aa079baf3b2fcec4ceabda3457cf28de4">sending_</a>) {
    <a class="code" href="classComposer.html#aa079baf3b2fcec4ceabda3457cf28de4">sending_</a> = <span class="keyword">true</span>;

    <span class="comment">/*</span>
<span class="comment">     * First save -- this will check for the sending_ state</span>
<span class="comment">     * signal if successfull.</span>
<span class="comment">     */</span>
    <a class="code" href="classComposer.html#a5db93f098178964c68c1ecb287ff11ca" title="Slot attached to the Save now button.">saveNow</a>();
  }
}
</pre></div>
</div>
</div>
<a class="anchor" id="ac952c4e43c8dfb1ae46e83d84b381728"></a><!-- doxytag: member="Composer::setAddressBook" ref="ac952c4e43c8dfb1ae46e83d84b381728" args="(const std::vector&lt; Contact &gt; &amp;addressBook)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Composer::setAddressBook </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="structContact.html">Contact</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>addressBook</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the address book, for autocomplete suggestions. </p>

<p>Definition at line <a class="el" href="Composer_8C_source.html#l00065">65</a> of file <a class="el" href="Composer_8C_source.html">Composer.C</a>.</p>
<div class="fragment"><pre class="fragment">{
  <a class="code" href="classComposer.html#a889f0931ce31c316b89201db6b146814" title="The suggestions popup for the addressee edits.">contactSuggestions_</a>-&gt;<a class="code" href="classContactSuggestions.html#abb65b3c75e64e050608d970d61b3fdcf" title="Set the address book.">setAddressBook</a>(contacts);
}
</pre></div>
</div>
</div>
<a class="anchor" id="a0b5002a67038461ec6ef3adf37800bf0"></a><!-- doxytag: member="Composer::setMessage" ref="a0b5002a67038461ec6ef3adf37800bf0" args="(const WString &amp;message)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Composer::setMessage </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WString.html">WString</a> &amp;&#160;</td>
          <td class="paramname"><em>message</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the message. </p>

<p>Definition at line <a class="el" href="Composer_8C_source.html#l00045">45</a> of file <a class="el" href="Composer_8C_source.html">Composer.C</a>.</p>
<div class="fragment"><pre class="fragment">{
  <a class="code" href="classComposer.html#a17dbbe76abbe0ed57d4c5928bcf24c42" title="WTextArea for the main message.">message_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTextArea.html#a1f05060c037d13c2c6c26f51f1fb9640">setText</a>(message);
}
</pre></div>
</div>
</div>
<a class="anchor" id="a5163d3b98235d9c8d8d5aff82738ca57"></a><!-- doxytag: member="Composer::setStatus" ref="a5163d3b98235d9c8d8d5aff82738ca57" args="(const WString &amp;text, const WString &amp;style)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Composer::setStatus </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WString.html">WString</a> &amp;&#160;</td>
          <td class="paramname"><em>text</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WString.html">WString</a> &amp;&#160;</td>
          <td class="paramname"><em>style</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set the status, and apply the given style. </p>

<p>Definition at line <a class="el" href="Composer_8C_source.html#l00342">342</a> of file <a class="el" href="Composer_8C_source.html">Composer.C</a>.</p>
<div class="fragment"><pre class="fragment">{
  <a class="code" href="classComposer.html#a09067ffd913810f9d499570609e17674">statusMsg_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WText.html#a2f788aa524d51b3962642c9f565e66e6">setText</a>(text);
  <a class="code" href="classComposer.html#a09067ffd913810f9d499570609e17674">statusMsg_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WWebWidget.html#afd3a3b359681111460a93d13979d17dd">setStyleClass</a>(style);
}
</pre></div>
</div>
</div>
<a class="anchor" id="aaf759051d0b21bcc4a285172f23edaaa"></a><!-- doxytag: member="Composer::setSubject" ref="aaf759051d0b21bcc4a285172f23edaaa" args="(const WString &amp;subject)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Composer::setSubject </td>
          <td>(</td>
          <td class="paramtype">const <a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WString.html">WString</a> &amp;&#160;</td>
          <td class="paramname"><em>subject</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set subject. </p>

<p>Definition at line <a class="el" href="Composer_8C_source.html#l00040">40</a> of file <a class="el" href="Composer_8C_source.html">Composer.C</a>.</p>
<div class="fragment"><pre class="fragment">{
  <a class="code" href="classComposer.html#a7bc919d444b2bb9ea8cfb7fd3db689df" title="The subject line edit.">subject_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WLineEdit.html#addb99c6ab5483836adf44a2706a410af">setText</a>(subject);
}
</pre></div>
</div>
</div>
<a class="anchor" id="a875c536e6e8cc4c31b8cdb6b17e0c72c"></a><!-- doxytag: member="Composer::setTo" ref="a875c536e6e8cc4c31b8cdb6b17e0c72c" args="(const std::vector&lt; Contact &gt; &amp;to)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Composer::setTo </td>
          <td>(</td>
          <td class="paramtype">const std::vector&lt; <a class="el" href="structContact.html">Contact</a> &gt; &amp;&#160;</td>
          <td class="paramname"><em>to</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set message To: contacts. </p>

<p>Definition at line <a class="el" href="Composer_8C_source.html#l00035">35</a> of file <a class="el" href="Composer_8C_source.html">Composer.C</a>.</p>
<div class="fragment"><pre class="fragment">{
  <a class="code" href="classComposer.html#a5171d107b535bd670b72d6d3abe4b850" title="To: Addressees edit.">toEdit_</a>-&gt;<a class="code" href="classAddresseeEdit.html#adbf088c1a833e6bdc8d3f3f551d42a98" title="Set a list of addressees.">setAddressees</a>(<a class="code" href="classComposer.html#a8d147821090f6e305111bd82187b929f" title="Get the To: contacts.">to</a>);
}
</pre></div>
</div>
</div>
<a class="anchor" id="a09023bf88e8d7c566e27d489d28b3d50"></a><!-- doxytag: member="Composer::subject" ref="a09023bf88e8d7c566e27d489d28b3d50" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WString.html">WString</a> &amp; Composer::subject </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the subject. </p>

<p>Definition at line <a class="el" href="Composer_8C_source.html#l00070">70</a> of file <a class="el" href="Composer_8C_source.html">Composer.C</a>.</p>
<div class="fragment"><pre class="fragment">{
  <span class="keywordflow">return</span> <a class="code" href="classComposer.html#a7bc919d444b2bb9ea8cfb7fd3db689df" title="The subject line edit.">subject_</a>-&gt;<a class="codeRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WLineEdit.html#ac74b58779cb635898cac13e81d8b0c7a">text</a>();
}
</pre></div>
</div>
</div>
<a class="anchor" id="a8d147821090f6e305111bd82187b929f"></a><!-- doxytag: member="Composer::to" ref="a8d147821090f6e305111bd82187b929f" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt; <a class="el" href="structContact.html">Contact</a> &gt; Composer::to </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Get the To: contacts. </p>

<p>Definition at line <a class="el" href="Composer_8C_source.html#l00050">50</a> of file <a class="el" href="Composer_8C_source.html">Composer.C</a>.</p>
<div class="fragment"><pre class="fragment">{
  <span class="keywordflow">return</span> <a class="code" href="classComposer.html#a5171d107b535bd670b72d6d3abe4b850" title="To: Addressees edit.">toEdit_</a>-&gt;<a class="code" href="classAddresseeEdit.html#ab7dbde2bff2fef234d20617b7ae42e26" title="Get a list of addressees.">addressees</a>();
}
</pre></div>
</div>
</div>
<hr/><h2>Friends And Related Function Documentation</h2>
<a class="anchor" id="aa4bbd94229aa2788f3dd71177c1b1f34"></a><!-- doxytag: member="Composer::AttachmentEdit" ref="aa4bbd94229aa2788f3dd71177c1b1f34" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">friend class <a class="el" href="classAttachmentEdit.html">AttachmentEdit</a><code> [friend]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00194">194</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a9d102646eca2e3081886796cdb15a409"></a><!-- doxytag: member="Composer::addbcc_" ref="a9d102646eca2e3081886796cdb15a409" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classOption.html">Option</a>* <a class="el" href="classComposer.html#a9d102646eca2e3081886796cdb15a409">Composer::addbcc_</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="classOption.html" title="A clickable option.">Option</a> for editing Bcc: </p>

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00127">127</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>

</div>
</div>
<a class="anchor" id="ac307d36403cab6ff70204c7822d9e149"></a><!-- doxytag: member="Composer::addcc_" ref="ac307d36403cab6ff70204c7822d9e149" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classOption.html">Option</a>* <a class="el" href="classComposer.html#ac307d36403cab6ff70204c7822d9e149">Composer::addcc_</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="classOption.html" title="A clickable option.">Option</a> for editing Cc: </p>

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00125">125</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8e04ae3dc2b27ea08a803cbbb8ebd031"></a><!-- doxytag: member="Composer::attachFile_" ref="a8e04ae3dc2b27ea08a803cbbb8ebd031" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classOption.html">Option</a>* <a class="el" href="classComposer.html#a8e04ae3dc2b27ea08a803cbbb8ebd031">Composer::attachFile_</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="classOption.html" title="A clickable option.">Option</a> for attaching a file. </p>

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00129">129</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9616ef08dd2e3f16b63cec7b1d1cbf2c"></a><!-- doxytag: member="Composer::attachments_" ref="a9616ef08dd2e3f16b63cec7b1d1cbf2c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">std::vector&lt;<a class="el" href="classAttachmentEdit.html">AttachmentEdit</a> *&gt; <a class="el" href="classComposer.html#a9616ef08dd2e3f16b63cec7b1d1cbf2c">Composer::attachments_</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Array which holds all the attachments, including one extra invisible one. </p>

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00134">134</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a818abbb226340284e5998daa1d10a72c"></a><!-- doxytag: member="Composer::attachmentsPending_" ref="a818abbb226340284e5998daa1d10a72c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="classComposer.html#a818abbb226340284e5998daa1d10a72c">Composer::attachmentsPending_</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>number of attachments waiting to be uploaded during saving </p>

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00143">143</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a0ab2b9453f4787af299e72b4c2a2423d"></a><!-- doxytag: member="Composer::attachOtherFile_" ref="a0ab2b9453f4787af299e72b4c2a2423d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classOption.html">Option</a>* <a class="el" href="classComposer.html#a0ab2b9453f4787af299e72b4c2a2423d">Composer::attachOtherFile_</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p><a class="el" href="classOption.html" title="A clickable option.">Option</a> for attaching another file. </p>

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00131">131</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>

</div>
</div>
<a class="anchor" id="ae58f4078c8859022a18f9d4460894289"></a><!-- doxytag: member="Composer::bccEdit_" ref="ae58f4078c8859022a18f9d4460894289" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAddresseeEdit.html">AddresseeEdit</a>* <a class="el" href="classComposer.html#ae58f4078c8859022a18f9d4460894289">Composer::bccEdit_</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Bcc: Addressees edit. </p>

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00113">113</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a8ed76b62de2178118194a6672b18588a"></a><!-- doxytag: member="Composer::botDiscardButton_" ref="a8ed76b62de2178118194a6672b18588a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WPushButton.html">WPushButton</a> * <a class="el" href="classComposer.html#a8ed76b62de2178118194a6672b18588a">Composer::botDiscardButton_</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00103">103</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a03113e5fe16b19f8108659d30da25a3c"></a><!-- doxytag: member="Composer::botSaveNowButton_" ref="a03113e5fe16b19f8108659d30da25a3c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WPushButton.html">WPushButton</a> * <a class="el" href="classComposer.html#a03113e5fe16b19f8108659d30da25a3c">Composer::botSaveNowButton_</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00103">103</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a66efb6563c5dfd378def156a91531b6b"></a><!-- doxytag: member="Composer::botSendButton_" ref="a66efb6563c5dfd378def156a91531b6b" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WPushButton.html">WPushButton</a>* <a class="el" href="classComposer.html#a66efb6563c5dfd378def156a91531b6b">Composer::botSendButton_</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00103">103</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9d12e4daf1f221a8f387037fbcd147ae"></a><!-- doxytag: member="Composer::ccEdit_" ref="a9d12e4daf1f221a8f387037fbcd147ae" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAddresseeEdit.html">AddresseeEdit</a>* <a class="el" href="classComposer.html#a9d12e4daf1f221a8f387037fbcd147ae">Composer::ccEdit_</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Cc: Addressees edit. </p>

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00111">111</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a889f0931ce31c316b89201db6b146814"></a><!-- doxytag: member="Composer::contactSuggestions_" ref="a889f0931ce31c316b89201db6b146814" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classContactSuggestions.html">ContactSuggestions</a>* <a class="el" href="classComposer.html#a889f0931ce31c316b89201db6b146814">Composer::contactSuggestions_</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The suggestions popup for the addressee edits. </p>

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00116">116</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a93eb63c5e90cf794a710348a847b9c0a"></a><!-- doxytag: member="Composer::discard" ref="a93eb63c5e90cf794a710348a847b9c0a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1Signal.html">Wt::Signal</a>&lt;void&gt; <a class="el" href="classComposer.html#a93eb63c5e90cf794a710348a847b9c0a">Composer::discard</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The message must be discarded. </p>

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00097">97</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a9bcfcbfc8651cefaaa3c830d64a9ffb3"></a><!-- doxytag: member="Composer::edits_" ref="a9bcfcbfc8651cefaaa3c830d64a9ffb3" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTable.html">WTable</a>* <a class="el" href="classComposer.html#a9bcfcbfc8651cefaaa3c830d64a9ffb3">Composer::edits_</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00106">106</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>

</div>
</div>
<a class="anchor" id="aaf13aa9b960e901cc97270350f4b7990"></a><!-- doxytag: member="Composer::layout_" ref="aaf13aa9b960e901cc97270350f4b7990" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WContainerWidget.html">WContainerWidget</a>* <a class="el" href="classComposer.html#aaf13aa9b960e901cc97270350f4b7990">Composer::layout_</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00100">100</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a17dbbe76abbe0ed57d4c5928bcf24c42"></a><!-- doxytag: member="Composer::message_" ref="a17dbbe76abbe0ed57d4c5928bcf24c42" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WTextArea.html">WTextArea</a>* <a class="el" href="classComposer.html#a17dbbe76abbe0ed57d4c5928bcf24c42">Composer::message_</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>WTextArea for the main message. </p>

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00137">137</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>

</div>
</div>
<a class="anchor" id="aea60b95ef9d0053fcffe930e4865a958"></a><!-- doxytag: member="Composer::options_" ref="aea60b95ef9d0053fcffe930e4865a958" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classOptionList.html">OptionList</a>* <a class="el" href="classComposer.html#aea60b95ef9d0053fcffe930e4865a958">Composer::options_</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>OptionsList for editing Cc or Bcc. </p>

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00122">122</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a75988a529863cd5e90138e46056aae9f"></a><!-- doxytag: member="Composer::saving_" ref="a75988a529863cd5e90138e46056aae9f" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classComposer.html#a75988a529863cd5e90138e46056aae9f">Composer::saving_</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>state when waiting asyncrhonously for attachments to be uploaded </p>

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00140">140</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a523271b083a60c433f044018f3c0d02a"></a><!-- doxytag: member="Composer::send" ref="a523271b083a60c433f044018f3c0d02a" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1Signal.html">Wt::Signal</a>&lt;void&gt; <a class="el" href="classComposer.html#a523271b083a60c433f044018f3c0d02a">Composer::send</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The message is ready to be sent... </p>

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00093">93</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa079baf3b2fcec4ceabda3457cf28de4"></a><!-- doxytag: member="Composer::sending_" ref="aa079baf3b2fcec4ceabda3457cf28de4" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classComposer.html#aa079baf3b2fcec4ceabda3457cf28de4">Composer::sending_</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00140">140</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a09067ffd913810f9d499570609e17674"></a><!-- doxytag: member="Composer::statusMsg_" ref="a09067ffd913810f9d499570609e17674" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WText.html">WText</a>* <a class="el" href="classComposer.html#a09067ffd913810f9d499570609e17674">Composer::statusMsg_</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00104">104</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7bc919d444b2bb9ea8cfb7fd3db689df"></a><!-- doxytag: member="Composer::subject_" ref="a7bc919d444b2bb9ea8cfb7fd3db689df" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WLineEdit.html">WLineEdit</a>* <a class="el" href="classComposer.html#a7bc919d444b2bb9ea8cfb7fd3db689df">Composer::subject_</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>The subject line edit. </p>

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00119">119</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a5171d107b535bd670b72d6d3abe4b850"></a><!-- doxytag: member="Composer::toEdit_" ref="a5171d107b535bd670b72d6d3abe4b850" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classAddresseeEdit.html">AddresseeEdit</a>* <a class="el" href="classComposer.html#a5171d107b535bd670b72d6d3abe4b850">Composer::toEdit_</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>To: Addressees edit. </p>

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00109">109</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a7dc86db047a022086d644c825fa9588d"></a><!-- doxytag: member="Composer::topDiscardButton_" ref="a7dc86db047a022086d644c825fa9588d" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WPushButton.html">WPushButton</a> * <a class="el" href="classComposer.html#a7dc86db047a022086d644c825fa9588d">Composer::topDiscardButton_</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00102">102</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a2b4444c47fe4718e03661bb2af36102e"></a><!-- doxytag: member="Composer::topSaveNowButton_" ref="a2b4444c47fe4718e03661bb2af36102e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WPushButton.html">WPushButton</a> * <a class="el" href="classComposer.html#a2b4444c47fe4718e03661bb2af36102e">Composer::topSaveNowButton_</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00102">102</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>

</div>
</div>
<a class="anchor" id="a476ad9498a617ce73199792d4ab727be"></a><!-- doxytag: member="Composer::topSendButton_" ref="a476ad9498a617ce73199792d4ab727be" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="elRef" doxygen="wt.tags:../../reference/html" href="../../reference/html/classWt_1_1WPushButton.html">WPushButton</a>* <a class="el" href="classComposer.html#a476ad9498a617ce73199792d4ab727be">Composer::topSendButton_</a><code> [private]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="Composer_8h_source.html#l00102">102</a> of file <a class="el" href="Composer_8h_source.html">Composer.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li>/home/koen/project/wt/public-git/wt/examples/composer/<a class="el" href="Composer_8h_source.html">Composer.h</a></li>
<li>/home/koen/project/wt/public-git/wt/examples/composer/<a class="el" href="Composer_8C_source.html">Composer.C</a></li>
</ul>
</div>
<hr size="1"><address style="text-align: right; margin: 3px"><small>
Generated on Thu Nov 1 2012 for <a href="http://www.webtoolkit.eu/wt">the
C++ Web Toolkit (Wt)</a> by&nbsp;<a
href="http://www.doxygen.org/index.html"><img src="doxygen.png"
alt="doxygen" border="0" style="vertical-align: middle; display:
inline-block; height: 2em"></a> 1.7.5.1</small></address>
</body>
</html>