File indexing completed on 2025-01-05 04:54:29
0001 /* 0002 This file is part of Kontact. 0003 0004 SPDX-FileCopyrightText: 2003 Tobias Koenig <tokoe@kde.org> 0005 SPDX-FileCopyrightText: 2004, 2009 Allen Winter <winter@kde.org> 0006 0007 SPDX-License-Identifier: GPL-2.0-or-later WITH Qt-Commercial-exception-1.0 0008 */ 0009 0010 #pragma once 0011 0012 #include <KontactInterface/Plugin> 0013 class KAboutData; 0014 0015 class SpecialdatesPlugin : public KontactInterface::Plugin 0016 { 0017 Q_OBJECT 0018 public: 0019 SpecialdatesPlugin(KontactInterface::Core *core, const KPluginMetaData &data, const QVariantList &); 0020 ~SpecialdatesPlugin() override; 0021 0022 int weight() const override 0023 { 0024 return 325; 0025 } 0026 0027 const KAboutData aboutData() override; 0028 0029 KontactInterface::Summary *createSummaryWidget(QWidget *parentWidget) override; 0030 0031 protected: 0032 KParts::Part *createPart() override 0033 { 0034 return nullptr; 0035 } 0036 };