25#ifndef AKREGATOR_PLUGIN_H
26#define AKREGATOR_PLUGIN_H
29#include <tdeparts/part.h>
31#include <tdeparts/part.h>
33#include "akregator_partiface_stub.h"
34#include <uniqueapphandler.h>
40typedef KParts::ReadOnlyPart MyBasePart;
42class UniqueAppHandler :
public Kontact::UniqueAppHandler
45 UniqueAppHandler( Kontact::Plugin* plugin ) : Kontact::UniqueAppHandler( plugin ) {}
51class AkregatorPlugin :
public Kontact::Plugin
56 AkregatorPlugin( Kontact::Core *core,
const char *name,
57 const TQStringList & );
58 virtual ~AkregatorPlugin();
60 int weight()
const {
return 475; }
62 AkregatorPartIface_stub *interface();
64 virtual TQStringList configModules()
const;
67 virtual void readProperties( TDEConfig *config );
68 virtual void saveProperties( TDEConfig *config );
76 AkregatorPartIface_stub *m_stub;
77 Kontact::UniqueAppWatcher *m_uniqueAppWatcher;
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 int weight() const
Return the weight of the plugin.
virtual KParts::ReadOnlyPart * createPart()=0
Reimplement and return the part here.
virtual void loadCommandLineOptions()=0
This must be reimplemented so that app-specific command line options can be parsed.
virtual int newInstance()
We can't use k_dcop and dcopidl here, because the data passed to newInstance can't be expressed in te...