Commit ad77d8c9 authored by Alexander Lohnau's avatar 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
......@@ -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)
}
......
......@@ -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:
......
Supports Markdown
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