Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Network
KTorrent
Commits
ad77d8c9
Commit
ad77d8c9
authored
Dec 22, 2021
by
Alexander Lohnau
💬
Browse files
Port away from KParts::Plugin
This class got deprecated in KParts. Task:
https://phabricator.kde.org/T13806
parent
e7a6affd
Pipeline
#113619
passed with stage
in 1 minute and 37 seconds
Changes
2
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
libktcore/interfaces/plugin.cpp
View file @
ad77d8c9
...
...
@@ -8,9 +8,9 @@
namespace
kt
{
Plugin
::
Plugin
(
QObject
*
parent
,
const
KPluginMetaData
&
data
,
const
QVariantList
&
args
)
:
KParts
::
Plugin
(
parent
)
:
QObject
(
parent
)
{
setMetaData
(
data
);
Q_UNUSED
(
data
);
Q_UNUSED
(
args
)
}
...
...
libktcore/interfaces/plugin.h
View file @
ad77d8c9
...
...
@@ -32,7 +32,7 @@ class GUIInterface;
* (setting an int to 0 is ok, creating widgets isn't).
* Only the name, author and description may be set in the constructor.
*/
class
KTCORE_EXPORT
Plugin
:
public
KParts
::
Plugin
class
KTCORE_EXPORT
Plugin
:
public
QObject
,
public
KXMLGUIClient
{
Q_OBJECT
public:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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