plugin.cpp
This class provides the interface to the Kontact core for the plugins.
Definition: core.h:42
Plugin(Core *core, TQObject *parent, const char *name)
Creates a new Plugin, note that name parameter name is required if you want your plugin to do dcop vi...
Definition: plugin.cpp:56
virtual const TDEAboutData * aboutData()
Reimplement this method if you want to add your credits to the Kontact about dialog.
Definition: plugin.cpp:129
KParts::ReadOnlyPart * part()
You can use this method if you need to access the current part.
Definition: plugin.cpp:145
DCOPClient * dcopClient() const
Retrieve the current DCOP Client for the plugin.
Definition: plugin.cpp:163
TQString executableName() const
Returns the name of the binary (if existant).
Definition: plugin.cpp:114
virtual KParts::ReadOnlyPart * createPart()=0
Reimplement and return the part here.
virtual bool showInSideBar() const
Returns whether the plugin provides a part that should be shown in the sidebar.
Definition: plugin.cpp:225
TQPtrList< TDEAction > * syncActions() const
FIXME: write API doc for Kontact::Plugin::syncActions().
Definition: plugin.cpp:191
virtual void bringToForeground()
Reimplement this method if your application needs a different approach to be brought in the foregroun...
Definition: plugin.cpp:219
void setPartLibraryName(const TQCString &)
Set name of library which contains the KPart used by this plugin.
Definition: plugin.cpp:119
virtual TQString tipFile() const
Reimplement this method and return the a path relative to "data" to the tips file.
Definition: plugin.cpp:157
virtual void select()
This function is called when the plugin is selected by the user before the widget of the KPart belong...
Definition: plugin.cpp:201
virtual void configUpdated()
This function is called whenever the config dialog has been closed successfully.
Definition: plugin.cpp:205
void setShowInSideBar(bool hasPart)
Set if the plugin provides a part that should be shown in the sidebar.
Definition: plugin.cpp:230
TQPtrList< TDEAction > * newActions() const
FIXME: write API doc for Kontact::Plugin::newActions().
Definition: plugin.cpp:186
void setExecutableName(const TQString &bin)
Sets the name of executable (if existant).
Definition: plugin.cpp:109