kontact
TodoPlugin Class Reference
Inheritance diagram for TodoPlugin:

Detailed Description
Definition at line 34 of file todoplugin.h.
Public Member Functions | |
TodoPlugin (Kontact::Core *core, const char *name, const QStringList &) | |
~TodoPlugin () | |
virtual bool | createDCOPInterface (const QString &serviceType) |
virtual bool | isRunningStandalone () |
int | weight () const |
bool | canDecodeDrag (QMimeSource *) |
void | processDropEvent (QDropEvent *) |
virtual QStringList | invisibleToolbarActions () const |
virtual Kontact::Summary * | createSummaryWidget (QWidget *parent) |
void | select () |
KCalendarIface_stub * | interface () |
Protected Member Functions | |
KParts::ReadOnlyPart * | createPart () |
Member Function Documentation
bool TodoPlugin::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 123 of file todoplugin.cpp.
bool TodoPlugin::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 140 of file todoplugin.cpp.
int TodoPlugin::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 43 of file todoplugin.h.
bool TodoPlugin::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 134 of file todoplugin.cpp.
void TodoPlugin::processDropEvent | ( | QDropEvent * | event | ) | [virtual] |
Process drop event.
Reimplemented from Kontact::Plugin.
Definition at line 145 of file todoplugin.cpp.
QStringList TodoPlugin::invisibleToolbarActions | ( | ) | const [virtual] |
Returns a list of action name which shall be hidden in the main toolbar.
Reimplemented from Kontact::Plugin.
Definition at line 92 of file todoplugin.cpp.
Kontact::Summary * TodoPlugin::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 69 of file todoplugin.cpp.
void TodoPlugin::select | ( | ) | [virtual] |
This function is called when the plugin is selected by the user before the widget of the KPart belonging to the plugin is raised.
Reimplemented from Kontact::Plugin.
Definition at line 87 of file todoplugin.cpp.
KParts::ReadOnlyPart * TodoPlugin::createPart | ( | ) | [protected, virtual] |
Reimplement and return the part here.
Reimplementing createPart() is mandatory!
Implements Kontact::Plugin.
Definition at line 74 of file todoplugin.cpp.
The documentation for this class was generated from the following files: