24#ifndef KONTACT_TODOPLUGIN_H
25#define KONTACT_TODOPLUGIN_H
28#include <tdeparts/part.h>
30#include "kcalendariface_stub.h"
32#include "uniqueapphandler.h"
39 TodoPlugin( Kontact::Core *core, const char *name, const TQStringList& );
42 virtual bool createDCOPInterface( const TQString& serviceType );
44 int weight() const { return 450; }
46 bool canDecodeDrag( TQMimeSource * );
47 void processDropEvent( TQDropEvent * );
51 virtual Kontact::Summary *createSummaryWidget( TQWidget *parent );
55 KCalendarIface_stub *interface();
65 KCalendarIface_stub *mIface;
66 Kontact::UniqueAppWatcher *mUniqueAppWatcher;
Base class for all Plugins in Kontact.
virtual TQStringList invisibleToolbarActions() const Returns a list of action name which shall be hidden in the main toolbar.
virtual bool isRunningStandalone() Reimplement this method and return whether a standalone application is still running This is only req...
virtual void select() This function is called when the plugin is selected by the user before the widget of the KPart belong...
virtual int weight() const Return the weight of the plugin.
virtual KParts::ReadOnlyPart * createPart()=0 Reimplement and return the part here.
|