Commit 38d94ba9 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Revert "Remove unneeded superclass from PrintPlugin"

This reverts commit ff9d663d.

It breaks the build and should not really be in stable anyway
parent ff9d663d
Pipeline #78085 skipped
......@@ -16,7 +16,8 @@ namespace CalendarSupport
@brief Specifies the plugin interface.
This class is used for calendarview's decoration plugins.
This class is shared between korganizer's print plugins and
calendarview's decoration plugins.
*/
class Plugin
{
......
......@@ -31,16 +31,17 @@ public:
Base class for Calendar printing classes. Each sub class represents one
calendar print format.
*/
class PrintPlugin
class PrintPlugin : public Plugin
{
public:
PrintPlugin()
: mConfigWidget(nullptr)
: Plugin()
, mConfigWidget(nullptr)
, mCalendar(nullptr)
{
}
virtual ~PrintPlugin()
~PrintPlugin() override
{
}
......@@ -81,7 +82,7 @@ public:
/**
Returns long description of print format.
*/
virtual QString info() const = 0;
QString info() const override = 0;
/**
Returns the sort ID of the plugin. This value will be used to identify
......
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