libkdepim

plugin.cpp

00001 // -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
00022 #include "plugin.h"
00023 
00024 #include "core.h"
00025 
00026 #include <kdebug.h>
00027 #include <qstring.h>
00028 
00029 namespace Komposer
00030 {
00031 
00032 class Plugin::Private
00033 {
00034 public:
00035   //Core* core;
00036 };
00037 
00038 Plugin::Plugin( QObject *parent, const char *name, const QStringList & )
00039     : QObject( parent, name ), d( new Private )
00040 {
00041   //d->core = core;
00042 }
00043 
00044 Plugin::~Plugin()
00045 {
00046   delete d; d = 0;
00047 }
00048 
00049 void
00050 Plugin::startedComposing()
00051 {
00052 }
00053 
00054 void
00055 Plugin::sendClicked()
00056 {
00057 }
00058 
00059 void
00060 Plugin::quitClicked()
00061 {
00062 }
00063 
00064 void
00065 Plugin::aboutToUnload()
00066 {
00067   kdDebug()<<"plugin unloading"<<endl;
00068   emit readyForUnload();
00069 }
00070 
00071 Core*
00072 Plugin::core() const
00073 {
00074   return 0;
00075   //return d->core;
00076 }
00077 
00078 }//end namespace Komposer
00079 
00080 #include "plugin.moc"
KDE Home | KDE Accessibility Home | Description of Access Keys