Commit 9b7f1262 authored by Laurent Montel's avatar Laurent Montel 😁

Rename class

parent 8e873da5
......@@ -85,12 +85,12 @@ if (QTWEBENGINE_EXPERIMENTAL_OPTION)
)
set(libmessageviewer_webengine_SRCS
webengine/networkmanager/mailnetworkaccessmanager.cpp
webengine/urlinterceptor/mailnetworkurlinterceptor.cpp
webengine/urlinterceptor/mailnetworkpluginurlinterceptorinterface.cpp
webengine/urlinterceptor/mailnetworkurlinterceptorpluginmanager.cpp
webengine/urlinterceptor/mailnetworkpluginurlinterceptor.cpp
webengine/urlinterceptor/mailnetworkurlinterceptormanager.cpp
webengine/networkmanager/networkaccessmanagerwebengine.cpp
webengine/urlinterceptor/networkurlinterceptor.cpp
webengine/urlinterceptor/networkpluginurlinterceptorinterface.cpp
webengine/urlinterceptor/networkurlinterceptorpluginmanager.cpp
webengine/urlinterceptor/networkpluginurlinterceptor.cpp
webengine/urlinterceptor/networkurlinterceptormanager.cpp
)
set(libmessageviewer_web_LIB Qt5::WebEngine Qt5::WebEngineWidgets ${libmessageviewer_web_LIB})
endif()
......@@ -340,10 +340,10 @@ if (QTWEBENGINE_EXPERIMENTAL_OPTION)
)
ecm_generate_headers(MessageViewer_Camelcasewebengine_urlinterceptor_HEADERS
HEADER_NAMES
MailNetworkUrlInterceptorPluginManager
MailNetworkUrlInterceptor
MailNetworkPluginUrlInterceptorInterface
MailNetworkPluginUrlInterceptor
NetworkUrlInterceptorPluginManager
NetworkUrlInterceptor
NetworkPluginUrlInterceptorInterface
NetworkPluginUrlInterceptor
REQUIRED_HEADERS MessageViewer_webengine_urlinterceptor_HEADERS
PREFIX MessageViewer
......@@ -351,7 +351,7 @@ if (QTWEBENGINE_EXPERIMENTAL_OPTION)
)
ecm_generate_headers(MessageViewer_Camelcasewebengine_manager_HEADERS
HEADER_NAMES
MailNetworkAccessManager
NetworkAccessManagerWebEngine
REQUIRED_HEADERS MessageViewer_webengine_manager_HEADERS
PREFIX MessageViewer
RELATIVE webengine/networkmanager
......
......@@ -15,14 +15,14 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "mailnetworkaccessmanager.h"
#include "webengine/urlinterceptor/mailnetworkurlinterceptormanager.h"
#include "webengine/urlinterceptor/mailnetworkurlinterceptor.h"
#include "networkaccessmanagerwebengine.h"
#include "webengine/urlinterceptor/networkurlinterceptormanager.h"
#include "webengine/urlinterceptor/networkurlinterceptor.h"
#include <QWebEngineProfile>
using namespace MessageViewer;
NetworkAccessManager::NetworkAccessManager(QObject *parent)
NetworkAccessManagerWebEngine::NetworkAccessManagerWebEngine(QObject *parent)
: QNetworkAccessManager(parent)
{
MessageViewer::NetworkUrlInterceptorManager *manager = new MessageViewer::NetworkUrlInterceptorManager(this);
......@@ -34,7 +34,7 @@ NetworkAccessManager::NetworkAccessManager(QObject *parent)
QWebEngineProfile::defaultProfile()->setRequestInterceptor(networkUrlInterceptor);
}
NetworkAccessManager::~NetworkAccessManager()
NetworkAccessManagerWebEngine::~NetworkAccessManagerWebEngine()
{
}
......@@ -22,12 +22,12 @@
#include "messageviewer_export.h"
namespace MessageViewer
{
class MESSAGEVIEWER_EXPORT NetworkAccessManager : public QNetworkAccessManager
class MESSAGEVIEWER_EXPORT NetworkAccessManagerWebEngine : public QNetworkAccessManager
{
Q_OBJECT
public:
explicit NetworkAccessManager(QObject *parent = Q_NULLPTR);
~NetworkAccessManager();
explicit NetworkAccessManagerWebEngine(QObject *parent = Q_NULLPTR);
~NetworkAccessManagerWebEngine();
};
}
#endif // MAILNETWORKACCESSMANAGER_H
......@@ -15,7 +15,7 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "mailnetworkpluginurlinterceptor.h"
#include "networkpluginurlinterceptor.h"
using namespace MessageViewer;
......
......@@ -15,7 +15,7 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "mailnetworkpluginurlinterceptorinterface.h"
#include "networkpluginurlinterceptorinterface.h"
using namespace MessageViewer;
......
......@@ -15,8 +15,8 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "mailnetworkpluginurlinterceptorinterface.h"
#include "mailnetworkurlinterceptor.h"
#include "networkpluginurlinterceptorinterface.h"
#include "networkurlinterceptor.h"
#include "messageviewer_debug.h"
#include <QVector>
......
......@@ -15,8 +15,8 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "mailnetworkurlinterceptormanager.h"
#include "mailnetworkurlinterceptorpluginmanager.h"
#include "networkurlinterceptormanager.h"
#include "networkurlinterceptorpluginmanager.h"
#include <QWebEngineProfile>
......
......@@ -19,7 +19,7 @@
#define MAILNETWORKURLINTERCEPTORMANAGER_H
#include <QObject>
#include <messageviewer/mailnetworkpluginurlinterceptor.h>
#include <messageviewer/networkpluginurlinterceptor.h>
#include "messageviewer_export.h"
namespace MessageViewer
......
......@@ -15,8 +15,8 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "mailnetworkpluginurlinterceptor.h"
#include "mailnetworkurlinterceptorpluginmanager.h"
#include "networkpluginurlinterceptor.h"
#include "networkurlinterceptorpluginmanager.h"
#include <KPluginLoader>
#include <KPluginFactory>
......
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