From 860c879989e9e3f51f6654579e7bf3fddc652d85 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 4 May 2023 17:19:02 +0900 Subject: Drop deprecated kitchensync code Signed-off-by: Michele Calgaro --- kontact/plugins/kitchensync/kitchensync_plugin.cpp | 67 ---------------------- 1 file changed, 67 deletions(-) delete mode 100644 kontact/plugins/kitchensync/kitchensync_plugin.cpp (limited to 'kontact/plugins/kitchensync/kitchensync_plugin.cpp') diff --git a/kontact/plugins/kitchensync/kitchensync_plugin.cpp b/kontact/plugins/kitchensync/kitchensync_plugin.cpp deleted file mode 100644 index 48e33627..00000000 --- a/kontact/plugins/kitchensync/kitchensync_plugin.cpp +++ /dev/null @@ -1,67 +0,0 @@ -/* - This file is part of Kontact. - - Copyright (c) 2003 Cornelius Schumacher - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - As a special exception, permission is given to link this program - with any edition of TQt, and distribute the resulting executable, - without including the source code for TQt in the source distribution. -*/ - -#include - -#include -#include -#include -#include -#include -#include -#include -#include - -#include "core.h" -#include "plugin.h" - -#include "kitchensync_plugin.h" - -typedef KGenericFactory< KitchenSyncPlugin, Kontact::Core > KitchenSyncPluginFactory; -K_EXPORT_COMPONENT_FACTORY( libkontact_kitchensync, - KitchenSyncPluginFactory( "kontact_kitchensync" ) ) - -KitchenSyncPlugin::KitchenSyncPlugin( Kontact::Core *core, const char *, const TQStringList& ) - : Kontact::Plugin( core, TQT_TQOBJECT(core), "KitchenSync" ) -{ - setInstance( KitchenSyncPluginFactory::instance() ); -} - -KitchenSyncPlugin::~KitchenSyncPlugin() -{ -} - -KParts::ReadOnlyPart* KitchenSyncPlugin::createPart() -{ - return loadPart(); -} - -TQStringList KitchenSyncPlugin::configModules() const -{ - TQStringList modules; - modules << "PIM/kitchensync.desktop"; - return modules; -} - -#include "kitchensync_plugin.moc" -- cgit v1.2.3