Commit f07f9421 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Start to create url manager

parent b8006b90
......@@ -209,6 +209,7 @@ set(libmessageviewer_scamdetection_SRCS
scamdetection/scamattribute.cpp
scamdetection/scamcheckshorturl.cpp
scamdetection/scamexpandurljob.cpp
scamdetection/scamcheckshorturlmanager.cpp
)
set(libmessageviewer_findbar_SRCS
......@@ -399,7 +400,7 @@ endif()
ecm_generate_headers(MessageViewer_Camelcasescam_HEADERS
HEADER_NAMES
ScamExpandUrlJob
ScamCheckShortUrlManager
REQUIRED_HEADERS MessageViewer_scam_HEADERS
PREFIX MessageViewer
RELATIVE scamdetection
......
/*
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 "scamcheckshorturlmanager.h"
using namespace MessageViewer;
ScamCheckShortUrlManager::ScamCheckShortUrlManager(QObject *parent)
: QObject(parent)
{
}
ScamCheckShortUrlManager::~ScamCheckShortUrlManager()
{
}
/*
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 SCAMCHECKSHORTURLMANAGER_H
#define SCAMCHECKSHORTURLMANAGER_H
#include <QObject>
#include "messageviewer_export.h"
namespace MessageViewer
{
class MESSAGEVIEWER_EXPORT ScamCheckShortUrlManager : public QObject
{
Q_OBJECT
public:
explicit ScamCheckShortUrlManager(QObject *parent = Q_NULLPTR);
~ScamCheckShortUrlManager();
};
}
#endif // SCAMCHECKSHORTURLMANAGER_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment