kontact
KAddressbookPlugin Class Reference
Inheritance diagram for KAddressbookPlugin:

Detailed Description
Definition at line 45 of file kaddressbook_plugin.h.
Public Member Functions | |
KAddressbookPlugin (Kontact::Core *core, const char *name, const QStringList &) | |
~KAddressbookPlugin () | |
virtual bool | createDCOPInterface (const QString &serviceType) |
virtual bool | isRunningStandalone () |
int | weight () const |
bool | canDecodeDrag (QMimeSource *) |
void | processDropEvent (QDropEvent *) |
virtual QStringList | configModules () const |
virtual QStringList | invisibleToolbarActions () const |
virtual void | configUpdated () |
KAddressBookIface_stub * | interface () |
Protected Member Functions | |
KParts::ReadOnlyPart * | createPart () |
Member Function Documentation
bool KAddressbookPlugin::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 108 of file kaddressbook_plugin.cpp.
bool KAddressbookPlugin::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 122 of file kaddressbook_plugin.cpp.
int KAddressbookPlugin::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 55 of file kaddressbook_plugin.h.
bool KAddressbookPlugin::canDecodeDrag | ( | QMimeSource * | mimeSource | ) | [virtual] |
Return, if the plugin can handle the drag object of the given mime type.
Reimplemented from Kontact::Plugin.
Definition at line 127 of file kaddressbook_plugin.cpp.
void KAddressbookPlugin::processDropEvent | ( | QDropEvent * | event | ) | [virtual] |
Process drop event.
Reimplemented from Kontact::Plugin.
Definition at line 135 of file kaddressbook_plugin.cpp.
QStringList KAddressbookPlugin::invisibleToolbarActions | ( | ) | const [virtual] |
Returns a list of action name which shall be hidden in the main toolbar.
Reimplemented from Kontact::Plugin.
Definition at line 89 of file kaddressbook_plugin.cpp.
void KAddressbookPlugin::configUpdated | ( | ) | [virtual] |
This function is called whenever the config dialog has been closed successfully.
Reimplemented from Kontact::Plugin.
Definition at line 118 of file kaddressbook_plugin.cpp.
KParts::ReadOnlyPart * KAddressbookPlugin::createPart | ( | ) | [protected, virtual] |
Reimplement and return the part here.
Reimplementing createPart() is mandatory!
Implements Kontact::Plugin.
Definition at line 71 of file kaddressbook_plugin.cpp.
The documentation for this class was generated from the following files: