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
a7b5bfd7
Commit
a7b5bfd7
authored
Nov 01, 2021
by
Laurent Montel
😁
Browse files
Add enum
parent
073a8d39
Pipeline
#93027
canceled with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
messageviewer/src/dkim-verify/dkimchecksignaturejob.h
View file @
a7b5bfd7
...
...
@@ -61,7 +61,14 @@ public:
};
Q_ENUM
(
DKIMWarning
)
enum
class
AuthenticationMethod
:
int
{
Unknown
=
0
,
Dkim
=
1
,
Spf
=
2
,
Dmarc
=
3
,
Dkimatps
=
4
,
Auth
=
5
};
enum
class
AuthenticationMethod
:
int
{
Unknown
=
0
,
Dkim
=
1
,
Spf
=
2
,
Dmarc
=
3
,
Dkimatps
=
4
,
Auth
=
5
,
};
Q_ENUM
(
AuthenticationMethod
)
struct
MESSAGEVIEWER_EXPORT
DKIMCheckSignatureAuthenticationResult
{
...
...
messageviewer/src/scamdetection/scamdetectioninfo.h
View file @
a7b5bfd7
...
...
@@ -5,7 +5,7 @@
*/
#pragma once
#include
"messageviewer_
private_
export.h"
#include
"messageviewer_export.h"
#include
<QDebug>
namespace
MessageViewer
{
...
...
@@ -13,9 +13,18 @@ namespace MessageViewer
* @brief The ScamDetectionInfo class
* @author Laurent Montel <montel@kde.org>
*/
class
MESSAGEVIEWER_
TESTS_
EXPORT
ScamDetectionInfo
class
MESSAGEVIEWER_EXPORT
ScamDetectionInfo
{
public:
enum
ScamDetectionField
{
None
=
0
,
DisableAll
=
1
,
RedirectUrl
=
2
,
HasIp
=
4
,
};
Q_ENUMS
(
ScamDetectionField
)
Q_DECLARE_FLAGS
(
ScamDetectionFields
,
ScamDetectionField
)
ScamDetectionInfo
();
~
ScamDetectionInfo
();
...
...
Write
Preview
Supports
Markdown
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