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
4
Merge Requests
4
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
3c3d3a04
Commit
3c3d3a04
authored
Mar 21, 2016
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix api
parent
27ddb74e
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
14 deletions
+18
-14
CMakeLists.txt
CMakeLists.txt
+1
-1
messageviewer/src/webengine/urlinterceptor/networkpluginurlinterceptor.cpp
.../webengine/urlinterceptor/networkpluginurlinterceptor.cpp
+0
-10
messageviewer/src/webengine/urlinterceptor/networkpluginurlinterceptor.h
...rc/webengine/urlinterceptor/networkpluginurlinterceptor.h
+0
-2
messageviewer/src/webengine/urlinterceptor/networkpluginurlinterceptorinterface.cpp
...e/urlinterceptor/networkpluginurlinterceptorinterface.cpp
+10
-0
messageviewer/src/webengine/urlinterceptor/networkpluginurlinterceptorinterface.h
...ine/urlinterceptor/networkpluginurlinterceptorinterface.h
+5
-0
messageviewer/src/webengine/urlinterceptor/networkurlinterceptormanager.cpp
...webengine/urlinterceptor/networkurlinterceptormanager.cpp
+2
-1
No files found.
CMakeLists.txt
View file @
3c3d3a04
...
...
@@ -18,7 +18,7 @@ include(KDEFrameworkCompilerSettings NO_POLICY_SCOPE)
include
(
ECMQtDeclareLoggingCategory
)
include
(
ECMAddTests
)
set
(
MESSAGELIB_LIB_VERSION
"5.2.4
1
"
)
set
(
MESSAGELIB_LIB_VERSION
"5.2.4
2
"
)
set
(
KF5_VERSION
"5.19.0"
)
set
(
KDEPIMLIBS_LIB_VERSION
"5.2.40"
)
...
...
messageviewer/src/webengine/urlinterceptor/networkpluginurlinterceptor.cpp
View file @
3c3d3a04
...
...
@@ -30,11 +30,6 @@ NetworkPluginUrlInterceptor::~NetworkPluginUrlInterceptor()
}
void
NetworkPluginUrlInterceptor
::
createActions
(
KActionCollection
*
ac
)
{
Q_UNUSED
(
ac
);
}
bool
NetworkPluginUrlInterceptor
::
hasConfigureSupport
()
const
{
return
false
;
...
...
@@ -45,8 +40,3 @@ MessageViewer::NetworkPluginUrlInterceptorConfigureWidget *NetworkPluginUrlInter
Q_UNUSED
(
parent
);
return
Q_NULLPTR
;
}
QList
<
QAction
*>
MessageViewer
::
NetworkPluginUrlInterceptor
::
actions
()
const
{
return
{};
}
messageviewer/src/webengine/urlinterceptor/networkpluginurlinterceptor.h
View file @
3c3d3a04
...
...
@@ -34,8 +34,6 @@ public:
~
NetworkPluginUrlInterceptor
();
virtual
NetworkPluginUrlInterceptorInterface
*
createInterface
(
QObject
*
parent
=
Q_NULLPTR
)
=
0
;
virtual
void
createActions
(
KActionCollection
*
ac
);
virtual
QList
<
QAction
*>
actions
()
const
;
virtual
bool
hasConfigureSupport
()
const
;
virtual
MessageViewer
::
NetworkPluginUrlInterceptorConfigureWidget
*
createConfigureWidget
(
QWidget
*
parent
=
Q_NULLPTR
);
};
...
...
messageviewer/src/webengine/urlinterceptor/networkpluginurlinterceptorinterface.cpp
View file @
3c3d3a04
...
...
@@ -29,3 +29,13 @@ NetworkPluginUrlInterceptorInterface::~NetworkPluginUrlInterceptorInterface()
{
}
void
NetworkPluginUrlInterceptorInterface
::
createActions
(
KActionCollection
*
ac
)
{
Q_UNUSED
(
ac
);
}
QList
<
QAction
*>
NetworkPluginUrlInterceptorInterface
::
actions
()
const
{
return
{};
}
messageviewer/src/webengine/urlinterceptor/networkpluginurlinterceptorinterface.h
View file @
3c3d3a04
...
...
@@ -21,6 +21,8 @@
#include <QObject>
#include "messageviewer_export.h"
class
QWebEngineUrlRequestInfo
;
class
KActionCollection
;
class
QAction
;
namespace
MessageViewer
{
class
MESSAGEVIEWER_EXPORT
NetworkPluginUrlInterceptorInterface
:
public
QObject
...
...
@@ -30,6 +32,9 @@ public:
explicit
NetworkPluginUrlInterceptorInterface
(
QObject
*
parent
=
Q_NULLPTR
);
~
NetworkPluginUrlInterceptorInterface
();
virtual
void
createActions
(
KActionCollection
*
ac
);
virtual
QList
<
QAction
*>
actions
()
const
;
virtual
void
interceptRequest
(
QWebEngineUrlRequestInfo
&
info
)
=
0
;
};
}
...
...
messageviewer/src/webengine/urlinterceptor/networkurlinterceptormanager.cpp
View file @
3c3d3a04
...
...
@@ -15,6 +15,7 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "networkpluginurlinterceptorinterface.h"
#include "networkurlinterceptormanager.h"
#include "networkurlinterceptorpluginmanager.h"
...
...
@@ -37,7 +38,7 @@ void NetworkUrlInterceptorManagerPrivate::createInterfaces(KActionCollection *ac
{
Q_FOREACH
(
NetworkPluginUrlInterceptor
*
plugin
,
NetworkUrlInterceptorPluginManager
::
self
()
->
pluginsList
())
{
MessageViewer
::
NetworkPluginUrlInterceptorInterface
*
interface
=
plugin
->
createInterface
(
q
);
plugin
->
createActions
(
ac
);
interface
->
createActions
(
ac
);
mListInterface
.
append
(
interface
);
}
}
...
...
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