Commit cabd1e08 authored by Nicolas Fella's avatar Nicolas Fella
Browse files

Remove plugin class

It's unused
parent d83d160c
Pipeline #169743 passed with stage
in 4 minutes and 5 seconds
......@@ -20,7 +20,6 @@ target_sources(KF5CalendarSupport PRIVATE
noteeditdialog.cpp
utils.cpp
tagcache.cpp
plugin.cpp
urihandler.cpp
kdatepickerpopup.cpp
......@@ -41,7 +40,6 @@ target_sources(KF5CalendarSupport PRIVATE
categoryhierarchyreader.h
calendarsingleton.h
utils.h
plugin.h
archivedialog.h
cellitem.h
identitymanager.h
......@@ -133,7 +131,6 @@ ecm_generate_headers(CalendarSupport_CamelCase_HEADERS
KCalPrefs
IdentityManager
EventArchiver
Plugin
CategoryHierarchyReader
CalendarSingleton
MessageWidget
......@@ -209,8 +206,6 @@ install(FILES
${PRI_FILENAME}
DESTINATION ${ECM_MKSPECS_INSTALL_DIR})
install(FILES calendarplugin.desktop DESTINATION ${KDE_INSTALL_KSERVICETYPESDIR})
if(BUILD_TESTING)
add_subdirectory(autotests)
add_subdirectory(freebusymodel/autotests)
......
[Desktop Entry]
Name=Calendar Plugin Interface
Name[ar]=واجهة ملحقة التّقاويم
Name[az]=Təqvim Əlavəsi İnterfeysi
Name[ca]=Interfície de connector del calendari
Name[ca@valencia]=Interfície de connector del calendari
Name[cs]=Rozhraní modulu kalendáře
Name[da]=Grænseflade til kalender-plugin
Name[de]=Kalender-Modulschnittstelle
Name[el]=Περιβάλλον χρήσης προσθέτου ημερολογίου
Name[en_GB]=Calendar Plugin Interface
Name[es]=Interfaz del complemento de calendario
Name[et]=Kalendriplugina liides
Name[eu]=Egutegietarako plugin interfazea
Name[fi]=Kalenteriliitännäisen käyttöliittymä
Name[fr]=Interface de module d'agenda
Name[gl]=Interface do complemento de calendario
Name[hu]=Naptárbővítmény interfész
Name[ia]=Interfacie de plug-in de Calendario
Name[it]=Interfaccia dell'estensione calendario
Name[ja]=カレンダープラグインインターフェース
Name[ko]=달력 플러그인 인터페이스
Name[nb]=Grensesnitt til kalender-programtillegg
Name[nl]=Interface van agendaplug-in
Name[nn]=Grensesnitt til kalender-programtillegg
Name[pl]=Interfejs wtyczek do kalendarza
Name[pt]=Interface de 'Plugin' do Calendário
Name[pt_BR]=Interface do Plugin de Calendário
Name[ro]=Interfață pentru extensie de calendar
Name[ru]=Модуль календаря
Name[sk]=Rozhranie modulu kalendára
Name[sl]=Vmesnik za koledarske vstavke
Name[sr]=Сучеље прикључка за календар
Name[sr@ijekavian]=Сучеље прикључка за календар
Name[sr@ijekavianlatin]=Sučelje priključka za kalendar
Name[sr@latin]=Sučelje priključka za kalendar
Name[sv]=Insticksprogram för kalendergränssnitt
Name[tr]=Takvim Eklentisi Arayüzü
Name[uk]=Інтерфейс додатка календаря
Name[x-test]=xxCalendar Plugin Interfacexx
Name[zh_CN]=日历插件界面
Name[zh_TW]=行事曆附加元件介面
Type=ServiceType
X-KDE-ServiceType=Calendar/Plugin
Comment=Calendar Plugin
Comment[ar]=ملحقة التّقاويم
Comment[az]=Təqvim Əlavəsi
Comment[ca]=Connector calendari
Comment[ca@valencia]=Connector calendari
Comment[cs]=Kalendářový modul
Comment[da]=Calendar-plugin
Comment[de]=Kalender-Modul
Comment[el]=Πρόσθετο ημερολογίου
Comment[en_GB]=Calendar Plugin
Comment[es]=Complemento de calendario
Comment[et]=Kalendriplugin
Comment[eu]=Egutegi-plugina
Comment[fi]=Kalenteriliitännäinen
Comment[fr]=Module d'agenda
Comment[gl]=Complemento de calendario
Comment[hu]=Naptárbővítmény
Comment[ia]=Plug-in de Calendario
Comment[it]=Estensione calendario
Comment[ja]=カレンダープラグイン
Comment[ko]=달력 플러그인
Comment[nb]=Kalender-programtillegg
Comment[nl]=Agendaplug-in
Comment[nn]=Kalender-programtillegg
Comment[pl]=Wtyczka do kalendarza
Comment[pt]='Plugin' de Calendário
Comment[pt_BR]=Plugin de Calendário
Comment[ro]=Extensie de calendar
Comment[ru]=Модуль календаря
Comment[se]=Kaleandarlassemoduvla
Comment[sk]=Modul Calendar
Comment[sl]=Vstavek za koledar
Comment[sr]=Прикључак за календар
Comment[sr@ijekavian]=Прикључак за календар
Comment[sr@ijekavianlatin]=Priključak za kalendar
Comment[sr@latin]=Priključak za kalendar
Comment[sv]=Insticksprogram för kalender
Comment[tr]=Takvim Eklentisi
Comment[uk]=Додаток календаря
Comment[x-test]=xxCalendar Pluginxx
Comment[zh_CN]=日历插件
Comment[zh_TW]=行事曆附加元件
[PropertyDef::X-KDE-KOrganizer-HasSettings]
Type=bool
[PropertyDef::X-KDE-PluginInterfaceVersion]
Type=int
/*
SPDX-FileCopyrightText: 2001, 2003 Cornelius Schumacher <schumacher@kde.org>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#include "plugin.h"
/*
SPDX-FileCopyrightText: 2001, 2003 Cornelius Schumacher <schumacher@kde.org>
SPDX-License-Identifier: LGPL-2.0-or-later
*/
#pragma once
#include "calendarsupport_export.h"
#include <KPluginFactory>
namespace CalendarSupport
{
/**
@class Plugin
@brief Specifies the plugin interface.
This class is used for calendarview's decoration plugins.
*/
class CALENDARSUPPORT_EXPORT Plugin : public QObject
{
Q_OBJECT
enum { INTERFACE_VERSION = 2 };
public:
static int interfaceVersion()
{
return INTERFACE_VERSION;
}
static QString serviceType()
{
return QStringLiteral("Calendar/Plugin");
}
Plugin(QObject *parent = nullptr, const QVariantList &args = {})
: QObject(parent)
{
Q_UNUSED(args);
}
virtual QString info() const = 0;
virtual void configure(QWidget *)
{
}
};
}
......@@ -6,14 +6,13 @@
#pragma once
#include "plugin.h"
#include <Akonadi/ETMCalendar>
#include <KCalendarCore/Incidence>
#include <KConfig>
#include <QDate>
#include <QPointer>
#include <QPrinter>
namespace CalendarSupport
......
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