Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
PIM Messagelib
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PIM
PIM Messagelib
Commits
e82a8a9b
Commit
e82a8a9b
authored
May 18, 2016
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add job to export page as html
parent
a84799df
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
132 additions
and
0 deletions
+132
-0
webengineviewer/src/autotests/CMakeLists.txt
webengineviewer/src/autotests/CMakeLists.txt
+5
-0
webengineviewer/src/autotests/webengineexporthtmlpagejobtest.cpp
...neviewer/src/autotests/webengineexporthtmlpagejobtest.cpp
+32
-0
webengineviewer/src/autotests/webengineexporthtmlpagejobtest.h
...gineviewer/src/autotests/webengineexporthtmlpagejobtest.h
+31
-0
webengineviewer/src/webengineexporthtmlpagejob.cpp
webengineviewer/src/webengineexporthtmlpagejob.cpp
+31
-0
webengineviewer/src/webengineexporthtmlpagejob.h
webengineviewer/src/webengineexporthtmlpagejob.h
+33
-0
No files found.
webengineviewer/src/autotests/CMakeLists.txt
View file @
e82a8a9b
...
...
@@ -18,3 +18,8 @@ ecm_add_test(webengineprintmessageboxtest.cpp
LINK_LIBRARIES Qt5::Test KF5::WebEngineViewer
)
ecm_add_test
(
webengineexporthtmlpagejobtest.cpp
TEST_NAME webengineexporthtmlpagejobtest
NAME_PREFIX
"webengineviewer-"
LINK_LIBRARIES Qt5::Test KF5::WebEngineViewer
)
webengineviewer/src/autotests/webengineexporthtmlpagejobtest.cpp
0 → 100644
View file @
e82a8a9b
/*
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 "webengineexporthtmlpagejobtest.h"
#include <QTest>
WebEngineExportHtmlPageJobTest
::
WebEngineExportHtmlPageJobTest
(
QObject
*
parent
)
:
QObject
(
parent
)
{
}
WebEngineExportHtmlPageJobTest
::~
WebEngineExportHtmlPageJobTest
()
{
}
QTEST_MAIN
(
WebEngineExportHtmlPageJobTest
)
webengineviewer/src/autotests/webengineexporthtmlpagejobtest.h
0 → 100644
View file @
e82a8a9b
/*
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 WEBENGINEEXPORTHTMLPAGEJOBTEST_H
#define WEBENGINEEXPORTHTMLPAGEJOBTEST_H
#include <QObject>
class
WebEngineExportHtmlPageJobTest
:
public
QObject
{
Q_OBJECT
public:
explicit
WebEngineExportHtmlPageJobTest
(
QObject
*
parent
=
Q_NULLPTR
);
~
WebEngineExportHtmlPageJobTest
();
};
#endif // WEBENGINEEXPORTHTMLPAGEJOBTEST_H
webengineviewer/src/webengineexporthtmlpagejob.cpp
0 → 100644
View file @
e82a8a9b
/*
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 "webengineexporthtmlpagejob.h"
using
namespace
WebEngineViewer
;
WebEngineExportHtmlPageJob
::
WebEngineExportHtmlPageJob
(
QObject
*
parent
)
:
QObject
(
parent
)
{
}
WebEngineExportHtmlPageJob
::~
WebEngineExportHtmlPageJob
()
{
}
webengineviewer/src/webengineexporthtmlpagejob.h
0 → 100644
View file @
e82a8a9b
/*
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 WEBENGINEEXPORTHTMLPAGEJOB_H
#define WEBENGINEEXPORTHTMLPAGEJOB_H
#include <QObject>
namespace
WebEngineViewer
{
class
WebEngineExportHtmlPageJob
:
public
QObject
{
Q_OBJECT
public:
explicit
WebEngineExportHtmlPageJob
(
QObject
*
parent
=
Q_NULLPTR
);
~
WebEngineExportHtmlPageJob
();
};
}
#endif // WEBENGINEEXPORTHTMLPAGEJOB_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