plugin.cpp
1 // -*- Mode: C++; c-basic-offset: 2; indent-tabs-mode: nil; -*-
22 #include "plugin.h"
23 
24 #include "core.h"
25 
26 #include <kdebug.h>
27 #include <tqstring.h>
28 
29 namespace Komposer
30 {
31 
32 class Plugin::Private
33 {
34 public:
35  //Core* core;
36 };
37 
38 Plugin::Plugin( TQObject *parent, const char *name, const TQStringList & )
39  : TQObject( parent, name ), d( new Private )
40 {
41  //d->core = core;
42 }
43 
44 Plugin::~Plugin()
45 {
46  delete d; d = 0;
47 }
48 
49 void
50 Plugin::startedComposing()
51 {
52 }
53 
54 void
55 Plugin::sendClicked()
56 {
57 }
58 
59 void
60 Plugin::quitClicked()
61 {
62 }
63 
64 void
65 Plugin::aboutToUnload()
66 {
67  kdDebug()<<"plugin unloading"<<endl;
68  emit readyForUnload();
69 }
70 
71 Core*
72 Plugin::core() const
73 {
74  return 0;
75  //return d->core;
76 }
77 
78 }//end namespace Komposer
79 
80 #include "plugin.moc"