24 #ifndef KMAIL_PLUGIN_H 25 #define KMAIL_PLUGIN_H 27 #include <tdelocale.h> 28 #include <tdeparts/part.h> 30 #include "kmailIface_stub.h" 33 #include <uniqueapphandler.h> 51 KMailPlugin( Kontact::Core *core, const char *name, const TQStringList& ); 52 virtual ~KMailPlugin(); 54 virtual bool isRunningStandalone(); 55 virtual bool createDCOPInterface( const TQString& serviceType ); 57 virtual TQString tipFile() const; 58 int weight() const { return 200; } 60 virtual TQStringList invisibleToolbarActions() const; 61 virtual bool queryClose() const; 64 void loadProfile( const TQString& profileDirectory ); 67 void saveToProfile( const TQString& profileDirectory ); 70 virtual KParts::ReadOnlyPart* createPart(); 71 void openComposer( const KURL& = KURL() ); 72 void openComposer( const TQString& to ); 73 bool canDecodeDrag( TQMimeSource * ); 74 void processDropEvent( TQDropEvent * ); 79 void slotSyncFolders(); 82 KMailIface_stub *mStub; If the standalone application is running by itself, we need to watch for when the user closes it...
This class provides the interface to the Kontact core for the plugins.
virtual int newInstance() We can't use k_dcop and dcopidl here, because the data passed to newInstance can't be expressed in te...
Base class for all Plugins in Kontact.
virtual void loadCommandLineOptions()=0 This must be reimplemented so that app-specific command line options can be parsed.
DCOP Object that has the name of the standalone application (e.g.
Summary widget for display in the Summary View plugin.
|