kontact

JournalPlugin Class Reference

Inheritance diagram for JournalPlugin:

Kontact::Plugin List of all members.

Detailed Description

Definition at line 34 of file journalplugin.h.


Public Member Functions

 JournalPlugin (Kontact::Core *core, const char *name, const QStringList &)
 ~JournalPlugin ()
virtual bool createDCOPInterface (const QString &serviceType)
virtual bool isRunningStandalone ()
int weight () const
virtual QStringList invisibleToolbarActions () const
void select ()
KCalendarIface_stubinterface ()

Protected Member Functions

KParts::ReadOnlyPart * createPart ()

Member Function Documentation

bool JournalPlugin::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 113 of file journalplugin.cpp.

bool JournalPlugin::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 124 of file journalplugin.cpp.

int JournalPlugin::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 journalplugin.h.

QStringList JournalPlugin::invisibleToolbarActions (  )  const [virtual]

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

Reimplemented from Kontact::Plugin.

Definition at line 82 of file journalplugin.cpp.

void JournalPlugin::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 77 of file journalplugin.cpp.

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

Reimplement and return the part here.

Reimplementing createPart() is mandatory!

Implements Kontact::Plugin.

Definition at line 64 of file journalplugin.cpp.


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