Commit 500e1e68 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Remove unneeded superclass from PrintPlugin

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