Added non-const versions of getRecipients(), getCopyRecipients() and getBindCopyRecipients() for easy access.
This commit is contained in:
parent
c433e0213a
commit
5ef45921a4
@ -207,6 +207,12 @@ const addressList& messageBuilder::getRecipients() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
addressList& messageBuilder::getRecipients()
|
||||||
|
{
|
||||||
|
return (m_to);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void messageBuilder::setRecipients(const addressList& recipients)
|
void messageBuilder::setRecipients(const addressList& recipients)
|
||||||
{
|
{
|
||||||
m_to = recipients;
|
m_to = recipients;
|
||||||
@ -219,6 +225,12 @@ const addressList& messageBuilder::getCopyRecipients() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
addressList& messageBuilder::getCopyRecipients()
|
||||||
|
{
|
||||||
|
return (m_cc);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void messageBuilder::setCopyRecipients(const addressList& cc)
|
void messageBuilder::setCopyRecipients(const addressList& cc)
|
||||||
{
|
{
|
||||||
m_cc = cc;
|
m_cc = cc;
|
||||||
@ -231,6 +243,12 @@ const addressList& messageBuilder::getBlindCopyRecipients() const
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
addressList& messageBuilder::getBlindCopyRecipients()
|
||||||
|
{
|
||||||
|
return (m_bcc);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
void messageBuilder::setBlindCopyRecipients(const addressList& bcc)
|
void messageBuilder::setBlindCopyRecipients(const addressList& bcc)
|
||||||
{
|
{
|
||||||
m_bcc = bcc;
|
m_bcc = bcc;
|
||||||
|
@ -67,6 +67,12 @@ public:
|
|||||||
*/
|
*/
|
||||||
const addressList& getRecipients() const;
|
const addressList& getRecipients() const;
|
||||||
|
|
||||||
|
/** Return the recipients of the message (To:).
|
||||||
|
*
|
||||||
|
* return recipients of the message
|
||||||
|
*/
|
||||||
|
addressList& getRecipients();
|
||||||
|
|
||||||
/** Set the recipients of the message (To:).
|
/** Set the recipients of the message (To:).
|
||||||
*
|
*
|
||||||
* @param recipients list of recipients
|
* @param recipients list of recipients
|
||||||
@ -79,6 +85,12 @@ public:
|
|||||||
*/
|
*/
|
||||||
const addressList& getCopyRecipients() const;
|
const addressList& getCopyRecipients() const;
|
||||||
|
|
||||||
|
/** Return the copy recipients of the message (Cc:).
|
||||||
|
*
|
||||||
|
* @return copy recipients of the message
|
||||||
|
*/
|
||||||
|
addressList& getCopyRecipients();
|
||||||
|
|
||||||
/** Set the copy recipients of the message (Cc:).
|
/** Set the copy recipients of the message (Cc:).
|
||||||
*
|
*
|
||||||
* @param cc list of copy recipients
|
* @param cc list of copy recipients
|
||||||
@ -91,6 +103,12 @@ public:
|
|||||||
*/
|
*/
|
||||||
const addressList& getBlindCopyRecipients() const;
|
const addressList& getBlindCopyRecipients() const;
|
||||||
|
|
||||||
|
/** Return the blind-copy recipients of the message (Bcc:).
|
||||||
|
*
|
||||||
|
* @return blind-copy recipients of the message
|
||||||
|
*/
|
||||||
|
addressList& getBlindCopyRecipients();
|
||||||
|
|
||||||
/** Set the blind-copy recipients of the message (Bcc:).
|
/** Set the blind-copy recipients of the message (Bcc:).
|
||||||
*
|
*
|
||||||
* @param bcc list of blind-copy recipients
|
* @param bcc list of blind-copy recipients
|
||||||
|
Loading…
Reference in New Issue
Block a user