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