• Skip to content
  • Skip to link menu
KDE 4.6 API Reference
  • KDE API Reference
  • KDE-PIM Libraries
  • KDE Home
  • Contact Us
 

Kontact Plugin Interface Library

  • KontactInterface
  • Core
Signals | Public Member Functions | Protected Member Functions

KontactInterface::Core Class Reference

The abstract interface that represents the Kontact core. More...

#include <core.h>

Inherits KParts::MainWindow.

List of all members.

Signals

void dayChanged (const QDate &date)

Public Member Functions

virtual ~Core ()
KParts::ReadOnlyPart * createPart (const char *library)
virtual void partLoaded (Plugin *plugin, KParts::ReadOnlyPart *part)=0
virtual QList
< KontactInterface::Plugin * > 
pluginList () const =0
virtual void selectPlugin (const QString &plugin)=0
virtual void selectPlugin (KontactInterface::Plugin *plugin)=0

Protected Member Functions

 Core (QWidget *parent=0, Qt::WindowFlags flags=KDE_DEFAULT_WINDOWFLAGS)
QString lastErrorMessage () const

Detailed Description

The abstract interface that represents the Kontact core.

This class provides the interface to the Kontact core for the plugins.

Definition at line 40 of file core.h.


Constructor & Destructor Documentation

Core::~Core ( ) [virtual]

Destroys the core object.

Definition at line 65 of file core.cpp.

Core::Core ( QWidget *  parent = 0,
Qt::WindowFlags  flags = KDE_DEFAULT_WINDOWFLAGS 
) [explicit, protected]

Creates a new core object.

Parameters:
parentThe parent widget.
flagsThe window flags.

Definition at line 57 of file core.cpp.


Member Function Documentation

KParts::ReadOnlyPart * Core::createPart ( const char *  library)

(for Plugin)

Creates a part from the given library.

Definition at line 70 of file core.cpp.

void KontactInterface::Core::dayChanged ( const QDate &  date) [signal]

This signal is emitted whenever a new day starts.

Parameters:
dateThe date of the new day
QString Core::lastErrorMessage ( ) const [protected]

Returns the last error message for problems during KParts loading.

Definition at line 127 of file core.cpp.

virtual void KontactInterface::Core::partLoaded ( Plugin *  plugin,
KParts::ReadOnlyPart *  part 
) [pure virtual]

(for Plugin)

Tells the kontact core that a part has been loaded.

virtual QList<KontactInterface::Plugin*> KontactInterface::Core::pluginList ( ) const [pure virtual]

Returns the pointer list of available plugins.

virtual void KontactInterface::Core::selectPlugin ( KontactInterface::Plugin *  plugin) [pure virtual]

Selects the given plugin and raises the associated part.

See also:
selectPlugin(const QString &)
Parameters:
pluginis a pointer to the Kontact Plugin to select.
virtual void KontactInterface::Core::selectPlugin ( const QString &  plugin) [pure virtual]

This is an overloaded member function.

See also:
selectPlugin(KontactInterface::Plugin *)
Parameters:
pluginis the name of the Kontact Plugin select.

The documentation for this class was generated from the following files:
  • core.h
  • core.cpp

Kontact Plugin Interface Library

Skip menu "Kontact Plugin Interface Library"
  • Main Page
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Class Members
  • Related Pages

KDE-PIM Libraries

Skip menu "KDE-PIM Libraries"
  • akonadi
  •   contact
  •   kmime
  • kabc
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  •   richtextbuilders
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2
Generated for KDE-PIM Libraries by doxygen 1.7.3
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal