• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepimlibs API Reference
  • KDE Home
  • Contact Us
 

Kontact Plugin Interface Library

  • KontactInterface
  • Core
Signals | Public Member Functions | Protected Member Functions | List of all members
KontactInterface::Core Class Referenceabstract

#include <core.h>

Inherits MainWindow.

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 (KontactInterface::Plugin *plugin)=0
 
virtual void selectPlugin (const QString &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 39 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 
)
explicitprotected

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)

Parameters
librarythe library to create part from 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
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:55 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

Kontact Plugin Interface Library

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

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kioslave
  •   imap4
  •   mbox
  •   nntp
  • kldap
  • kmbox
  • kmime
  • kontactinterface
  • kpimidentities
  • kpimtextedit
  • kpimutils
  • kresources
  • ktnef
  • kxmlrpcclient
  • mailtransport
  • microblog
  • qgpgme
  • syndication
  •   atom
  •   rdf
  •   rss2

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal