Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
PIM Messagelib
Commits
7839b25f
Commit
7839b25f
authored
Oct 29, 2018
by
Laurent Montel
😁
Browse files
Start to implement Reply-Ro
CCBUG: 358233
parent
ee435395
Changes
2
Hide whitespace changes
Inline
Side-by-side
messagecomposer/src/recipient/recipient.cpp
View file @
7839b25f
...
...
@@ -28,7 +28,7 @@
using
namespace
KPIM
;
using
namespace
MessageComposer
;
#define IMPLEMENT_REPLY_TO 1
class
MessageComposer
::
RecipientPrivate
{
public:
...
...
@@ -120,6 +120,8 @@ QString Recipient::typeLabel(Recipient::Type type)
return
i18nc
(
"@label:listbox Carbon Copy recipient of an email message."
,
"CC"
);
case
Bcc
:
return
i18nc
(
"@label:listbox Blind carbon copy recipient of an email message."
,
"BCC"
);
case
ReplyTo
:
return
i18nc
(
"@label:listbox Reply-To recipient of an email message."
,
"Reply-To"
);
case
Undefined
:
break
;
}
...
...
@@ -133,6 +135,9 @@ QStringList Recipient::allTypeLabels()
types
.
append
(
typeLabel
(
To
));
types
.
append
(
typeLabel
(
Cc
));
types
.
append
(
typeLabel
(
Bcc
));
#ifdef IMPLEMENT_REPLY_TO
types
.
append
(
typeLabel
(
ReplyTo
));
#endif
return
types
;
}
...
...
messagecomposer/src/recipient/recipient.h
View file @
7839b25f
...
...
@@ -44,7 +44,7 @@ public:
typedef
QList
<
Recipient
::
Ptr
>
List
;
enum
Type
{
To
,
Cc
,
Bcc
,
Undefined
To
,
Cc
,
Bcc
,
ReplyTo
,
Undefined
};
Recipient
(
const
QString
&
email
=
QString
(),
Type
type
=
To
);
//krazy:exclude=explicit
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment