kontact
KMailPlugin Class Reference
Inheritance diagram for KMailPlugin:

Detailed Description
Definition at line 46 of file kmail_plugin.h.
Public Member Functions | |
KMailPlugin (Kontact::Core *core, const char *name, const QStringList &) | |
~KMailPlugin () | |
virtual bool | isRunningStandalone () |
virtual bool | createDCOPInterface (const QString &serviceType) |
virtual Kontact::Summary * | createSummaryWidget (QWidget *parent) |
virtual QString | tipFile () const |
int | weight () const |
virtual QStringList | invisibleToolbarActions () const |
virtual bool | queryClose () const |
Protected Slots | |
void | slotNewMail () |
Protected Member Functions | |
virtual KParts::ReadOnlyPart * | createPart () |
void | openComposer (const KURL &=KURL()) |
void | openComposer (const QString &to) |
bool | canDecodeDrag (QMimeSource *) |
void | processDropEvent (QDropEvent *) |
Member Function Documentation
bool KMailPlugin::isRunningStandalone | ( | ) | [virtual] |
Reimplement this method and return wether a standalone application is still running This is only required if your part is also available as standalone application.
Reimplemented from Kontact::Plugin.
Definition at line 162 of file kmail_plugin.cpp.
bool KMailPlugin::createDCOPInterface | ( | const QString & | serviceType | ) | [virtual] |
Create the DCOP interface for the given serviceType
, if this plugin provides it.
Return false otherwise.
Reimplemented from Kontact::Plugin.
Definition at line 131 of file kmail_plugin.cpp.
Kontact::Summary * KMailPlugin::createSummaryWidget | ( | QWidget * | parent | ) | [virtual] |
Reimplement this method if you want to add a widget for your application to Kontact's summary page.
Reimplemented from Kontact::Plugin.
Definition at line 167 of file kmail_plugin.cpp.
QString KMailPlugin::tipFile | ( | ) | const [virtual] |
Reimplement this method and return the a path relative to "data" to the tips file.
Reimplemented from Kontact::Plugin.
Definition at line 141 of file kmail_plugin.cpp.
int KMailPlugin::weight | ( | ) | const [inline, virtual] |
Return the weight of the plugin.
The higher the weight the lower it will be displayed in the sidebar. The default implementation returns 0.
Reimplemented from Kontact::Plugin.
Definition at line 58 of file kmail_plugin.h.
QStringList KMailPlugin::invisibleToolbarActions | ( | ) | const [virtual] |
Returns a list of action name which shall be hidden in the main toolbar.
Reimplemented from Kontact::Plugin.
Definition at line 157 of file kmail_plugin.cpp.
bool KMailPlugin::queryClose | ( | ) | const [virtual] |
Reimplement this method if you want to add checks before closing down the main kontact window.
Return true if it's OK to close the window. If any loaded plugin returns false from this method, then the main kontact window will not close.
Reimplemented from Kontact::Plugin.
Definition at line 195 of file kmail_plugin.cpp.
KParts::ReadOnlyPart * KMailPlugin::createPart | ( | ) | [protected, virtual] |
Reimplement and return the part here.
Reimplementing createPart() is mandatory!
Implements Kontact::Plugin.
Definition at line 147 of file kmail_plugin.cpp.
bool KMailPlugin::canDecodeDrag | ( | QMimeSource * | qms | ) | [protected, virtual] |
Return, if the plugin can handle the drag object of the given mime type.
Reimplemented from Kontact::Plugin.
Definition at line 72 of file kmail_plugin.cpp.
void KMailPlugin::processDropEvent | ( | QDropEvent * | de | ) | [protected, virtual] |
Process drop event.
Reimplemented from Kontact::Plugin.
Definition at line 79 of file kmail_plugin.cpp.
The documentation for this class was generated from the following files: