diff options
Diffstat (limited to 'kontact/plugins/kitchensync')
-rw-r--r-- | kontact/plugins/kitchensync/Makefile.am | 14 | ||||
-rw-r--r-- | kontact/plugins/kitchensync/kitchensync.desktop | 17 | ||||
-rw-r--r-- | kontact/plugins/kitchensync/kitchensync_plugin.cpp | 67 | ||||
-rw-r--r-- | kontact/plugins/kitchensync/kitchensync_plugin.h | 51 |
4 files changed, 0 insertions, 149 deletions
diff --git a/kontact/plugins/kitchensync/Makefile.am b/kontact/plugins/kitchensync/Makefile.am deleted file mode 100644 index c6df9113f..000000000 --- a/kontact/plugins/kitchensync/Makefile.am +++ /dev/null @@ -1,14 +0,0 @@ -INCLUDES = -I$(top_srcdir)/kontact/interfaces $(all_includes) - -kde_module_LTLIBRARIES = libkontact_kitchensync.la -libkontact_kitchensync_la_LDFLAGS = $(all_libraries) $(KDE_PLUGIN) -libkontact_kitchensync_la_LIBADD = $(top_builddir)/kontact/interfaces/libkpinterfaces.la - -libkontact_kitchensync_la_SOURCES = kitchensync_plugin.cpp - -METASOURCES = AUTO - -servicedir = $(kde_servicesdir)/kontact -service_DATA = kitchensync.desktop - -kitchensynciface_DIR = $(top_srcdir)/kitchensync diff --git a/kontact/plugins/kitchensync/kitchensync.desktop b/kontact/plugins/kitchensync/kitchensync.desktop deleted file mode 100644 index 6a8153ed1..000000000 --- a/kontact/plugins/kitchensync/kitchensync.desktop +++ /dev/null @@ -1,17 +0,0 @@ -[Desktop Entry] -Type=Service -Icon=kitchensync -X-TDE-ServiceTypes=Kontact/Plugin,KPluginInfo - -X-TDE-Library=libkontact_kitchensync -X-TDE-KontactPluginVersion=6 -X-TDE-KontactPartLibraryName=libkitchensyncpart - -X-TDE-PluginInfo-Name=kontact_kitchensync -X-TDE-PluginInfo-Version=0.1 -X-TDE-PluginInfo-License=GPL -X-TDE-PluginInfo-EnabledByDefault=false - -Name=Sync - -Comment=Synchronization Component (Kitchensynk Plugin) diff --git a/kontact/plugins/kitchensync/kitchensync_plugin.cpp b/kontact/plugins/kitchensync/kitchensync_plugin.cpp deleted file mode 100644 index 48e33627b..000000000 --- a/kontact/plugins/kitchensync/kitchensync_plugin.cpp +++ /dev/null @@ -1,67 +0,0 @@ -/* - This file is part of Kontact. - - Copyright (c) 2003 Cornelius Schumacher <schumacher@kde.org> - - 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 <tqwidget.h> - -#include <tdeaboutdata.h> -#include <tdeaction.h> -#include <tdeapplication.h> -#include <kdebug.h> -#include <kgenericfactory.h> -#include <kiconloader.h> -#include <tdemessagebox.h> -#include <tdeparts/componentfactory.h> - -#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" diff --git a/kontact/plugins/kitchensync/kitchensync_plugin.h b/kontact/plugins/kitchensync/kitchensync_plugin.h deleted file mode 100644 index b484e32ec..000000000 --- a/kontact/plugins/kitchensync/kitchensync_plugin.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - This file is part of Kontact. - - Copyright (c) 2003 Cornelius Schumacher <schumacher@kde.org> - - 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. -*/ - -#ifndef KITCHENSYNC_PLUGIN_H -#define KITCHENSYNC_PLUGIN_H - -#include <tdelocale.h> -#include <tdeparts/part.h> - -#include "plugin.h" - -class TDEAboutData; - -class KitchenSyncPlugin : public Kontact::Plugin -{ - Q_OBJECT - - public: - KitchenSyncPlugin( Kontact::Core *core, const char *name, - const TQStringList & ); - virtual ~KitchenSyncPlugin(); - - int weight() const { return 800; } - - virtual TQStringList configModules() const; - protected: - KParts::ReadOnlyPart *createPart(); -}; - -#endif |