Verified Commit 459fb104 authored by Alexander Lohnau's avatar Alexander Lohnau 💬
Browse files

Remove unneeded implementation of KontactInterface::Summary::configModules

With
kmail@3d0fcc9c
the plugins are loaded from a specific namespace.
parent f8938fdc
Pipeline #66939 passed with stage
in 13 minutes and 29 seconds
......@@ -270,8 +270,3 @@ bool ApptSummaryWidget::eventFilter(QObject *obj, QEvent *e)
return KontactInterface::Summary::eventFilter(obj, e);
}
QStringList ApptSummaryWidget::configModules() const
{
return QStringList() << QStringLiteral("kcmapptsummary.desktop");
}
......@@ -37,7 +37,6 @@ public:
return 3;
}
Q_REQUIRED_RESULT QStringList configModules() const override;
void configUpdated();
void updateSummary(bool force = false) override
{
......
......@@ -361,11 +361,6 @@ bool TodoSummaryWidget::eventFilter(QObject *obj, QEvent *e)
return KontactInterface::Summary::eventFilter(obj, e);
}
QStringList TodoSummaryWidget::configModules() const
{
return QStringList() << QStringLiteral("kcmtodosummary.desktop");
}
bool TodoSummaryWidget::startsToday(const KCalendarCore::Todo::Ptr &todo)
{
return todo->hasStartDate() && todo->dtStart().date() == QDate::currentDate();
......
......@@ -39,8 +39,6 @@ public:
return 3;
}
Q_REQUIRED_RESULT QStringList configModules() const override;
public Q_SLOTS:
void updateSummary(bool force = false) override
{
......
......@@ -700,9 +700,4 @@ void SDSummaryWidget::dateDiff(const QDate &date, int &days, int &years) const
}
}
QStringList SDSummaryWidget::configModules() const
{
return QStringList() << QStringLiteral("kcmsdsummary.desktop");
}
#include "sdsummarywidget.moc"
......@@ -38,7 +38,6 @@ public:
SDSummaryWidget(KontactInterface::Plugin *plugin, QWidget *parent);
~SDSummaryWidget() override;
Q_REQUIRED_RESULT QStringList configModules() const override;
void configUpdated();
void updateSummary(bool force = false) override
{
......
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