Commit 65bbb88e authored by Laurent Montel's avatar Laurent Montel 😁

Add class to manage script

parent d180b8cc
......@@ -42,23 +42,30 @@ configure_file(../config-webengineviewer.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/../
set(libwebengineviewer_webengine_SRCS
networkmanager/networkaccessmanagerwebengine.cpp
webhittestresult.cpp
webhittest.cpp
webenginepage.cpp
webenginescript.cpp
webengineview.cpp
webenginemanagescript.cpp
webengineprintmessagebox.cpp
webengineexporthtmlpagejob.cpp
)
set(libwebengineviewer_interceptor_SRCS
urlinterceptor/networkurlinterceptor.cpp
urlinterceptor/networkpluginurlinterceptorinterface.cpp
urlinterceptor/networkurlinterceptorpluginmanager.cpp
urlinterceptor/networkpluginurlinterceptor.cpp
urlinterceptor/networkurlinterceptormanager.cpp
urlinterceptor/networkpluginurlinterceptorconfigurewidget.cpp
webhittestresult.cpp
webhittest.cpp
webenginepage.cpp
webenginescript.cpp
webengineview.cpp
)
set(libwebengineviewer_accesskey_SRCS
webengineaccesskey/webengineaccesskey.cpp
webengineaccesskey/webengineaccesskeyanchor.cpp
webengineaccesskey/webengineaccesskeyutils.cpp
webengineprintmessagebox.cpp
webengineexporthtmlpagejob.cpp
)
set(libwebengineviewer_findbar_SRCS
......@@ -71,10 +78,12 @@ set(libwebengineviewer_widgets_SRCS
)
set(libwebengineviewer_SRCS
${libwebengineviewer_interceptor_SRCS}
${libwebengineviewer_webengine_SRCS}
${libwebengineviewer_findbar_SRCS}
${libwebengineviewer_widgets_SRCS}
${libwebengineviewer_print_SRCS}
${libwebengineviewer_accesskey_SRCS}
)
qt5_add_resources(libwebengineviewer_webengine_SRCS jquery.qrc)
......
/*
Copyright (C) 2016 Laurent Montel <montel@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library 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
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#include "webenginemanagescript.h"
using namespace WebEngineViewer;
WebEngineManageScript::WebEngineManageScript(QObject *parent)
: QObject(parent)
{
}
WebEngineManageScript::~WebEngineManageScript()
{
}
/*
Copyright (C) 2016 Laurent Montel <montel@kde.org>
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library 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
Library General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this library; see the file COPYING.LIB. If not, write to
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
Boston, MA 02110-1301, USA.
*/
#ifndef WEBENGINEMANAGESCRIPT_H
#define WEBENGINEMANAGESCRIPT_H
#include <QObject>
namespace WebEngineViewer
{
class WebEngineManageScript : public QObject
{
Q_OBJECT
public:
explicit WebEngineManageScript(QObject *parent = Q_NULLPTR);
~WebEngineManageScript();
};
}
#endif // WEBENGINEMANAGESCRIPT_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