kontact

KOrganizerPlugin Class Reference

Inheritance diagram for KOrganizerPlugin:

Kontact::Plugin List of all members.

Detailed Description

Definition at line 35 of file korganizerplugin.h.


Public Member Functions

 KOrganizerPlugin (Kontact::Core *core, const char *name, const QStringList &)
 ~KOrganizerPlugin ()
virtual bool createDCOPInterface (const QString &serviceType)
virtual bool isRunningStandalone ()
int weight () const
bool canDecodeDrag (QMimeSource *)
void processDropEvent (QDropEvent *)
virtual Kontact::SummarycreateSummaryWidget (QWidget *parent)
virtual QString tipFile () const
virtual QStringList invisibleToolbarActions () const
void select ()
KCalendarIface_stubinterface ()

Protected Member Functions

KParts::ReadOnlyPart * createPart ()

Member Function Documentation

bool KOrganizerPlugin::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 125 of file korganizerplugin.cpp.

bool KOrganizerPlugin::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 136 of file korganizerplugin.cpp.

int KOrganizerPlugin::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 45 of file korganizerplugin.h.

bool KOrganizerPlugin::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 141 of file korganizerplugin.cpp.

void KOrganizerPlugin::processDropEvent ( QDropEvent *  event  )  [virtual]

Process drop event.

Reimplemented from Kontact::Plugin.

Definition at line 147 of file korganizerplugin.cpp.

Kontact::Summary * KOrganizerPlugin::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 71 of file korganizerplugin.cpp.

QString KOrganizerPlugin::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 88 of file korganizerplugin.cpp.

QStringList KOrganizerPlugin::invisibleToolbarActions (  )  const [virtual]

Returns a list of action name which shall be hidden in the main toolbar.

Reimplemented from Kontact::Plugin.

Definition at line 94 of file korganizerplugin.cpp.

void KOrganizerPlugin::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 106 of file korganizerplugin.cpp.

KParts::ReadOnlyPart * KOrganizerPlugin::createPart (  )  [protected, virtual]

Reimplement and return the part here.

Reimplementing createPart() is mandatory!

Implements Kontact::Plugin.

Definition at line 76 of file korganizerplugin.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys