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
1fd4fd86
Commit
1fd4fd86
authored
Mar 14, 2016
by
Laurent Montel
😁
Browse files
Prepare scamdetection for webengine
parent
d637958c
Changes
3
Hide whitespace changes
Inline
Side-by-side
messageviewer/src/CMakeLists.txt
View file @
1fd4fd86
...
...
@@ -212,6 +212,12 @@ set(libmessageviewer_scamdetection_SRCS
scamdetection/scamcheckshorturlmanager.cpp
)
if
(
QTWEBENGINE_EXPERIMENTAL_OPTION
)
set
(
libmessageviewer_scamdetection_webengine_SRCS
scamdetection/scamdetectionwebengine.cpp
)
endif
()
set
(
libmessageviewer_findbar_SRCS
findbar/findbarbase.cpp
findbar/findbarwebview.cpp
...
...
@@ -262,6 +268,7 @@ set(libmessageviewer_viewerplugins_SRCS
)
set
(
libmessageviewer_SRCS
${
libmessageviewer_scamdetection_webengine_SRCS
}
${
libmessageviewer_widgets_webengine_SRCS
}
${
libmessageviewer_webengine_SRCS
}
${
libmessageviewer_viewer_SRCS
}
...
...
messageviewer/src/scamdetection/scamdetectionwebengine.cpp
0 → 100644
View file @
1fd4fd86
/*
Copyright (c) 2016 Montel Laurent <montel@kde.org>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "scamdetectionwebengine.h"
using
namespace
MessageViewer
;
class
MessageViewer
::
ScamDetectionWebEnginePrivate
{
public:
ScamDetectionWebEnginePrivate
()
{
}
};
ScamDetectionWebEngine
::
ScamDetectionWebEngine
(
QObject
*
parent
)
:
QObject
(
parent
),
d
(
new
MessageViewer
::
ScamDetectionWebEnginePrivate
)
{
}
ScamDetectionWebEngine
::~
ScamDetectionWebEngine
()
{
delete
d
;
}
messageviewer/src/scamdetection/scamdetectionwebengine.h
0 → 100644
View file @
1fd4fd86
/*
Copyright (c) 2016 Montel Laurent <montel@kde.org>
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifndef SCAMDETECTIONWEBENGINE_H
#define SCAMDETECTIONWEBENGINE_H
#include <QObject>
namespace
MessageViewer
{
class
ScamDetectionWebEnginePrivate
;
class
ScamDetectionWebEngine
:
public
QObject
{
Q_OBJECT
public:
explicit
ScamDetectionWebEngine
(
QObject
*
parent
=
Q_NULLPTR
);
~
ScamDetectionWebEngine
();
private:
ScamDetectionWebEnginePrivate
*
const
d
;
};
}
#endif // SCAMDETECTIONWEBENGINE_H
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