25 #ifndef AKREGATOR_PLUGIN_H
26 #define AKREGATOR_PLUGIN_H
28 #include <tdelocale.h>
29 #include <tdeparts/part.h>
31 #include <tdeparts/part.h>
33 #include "akregator_partiface_stub.h"
34 #include <uniqueapphandler.h>
40 typedef KParts::ReadOnlyPart MyBasePart;
45 UniqueAppHandler(
Kontact::Plugin* plugin ) : Kontact::UniqueAppHandler( plugin ) {}
46 virtual void loadCommandLineOptions();
47 virtual int newInstance();
57 const TQStringList & );
58 virtual ~AkregatorPlugin();
60 int weight()
const {
return 475; }
62 AkregatorPartIface_stub *interface();
64 virtual TQStringList configModules()
const;
65 virtual TQStringList invisibleToolbarActions()
const;
66 virtual bool isRunningStandalone();
67 virtual void readProperties( TDEConfig *config );
68 virtual void saveProperties( TDEConfig *config );
75 MyBasePart *createPart();
76 AkregatorPartIface_stub *m_stub;
DCOP Object that has the name of the standalone application (e.g.
Base class for all Plugins in Kontact.
This class provides the interface to the Kontact core for the plugins.
If the standalone application is running by itself, we need to watch for when the user closes it,...