• Skip to content
  • Skip to link menu
  • KDE API Reference
  • kdepimlibs-4.14.10 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 KParts::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 (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 39 of file core.h.

Constructor & Destructor Documentation

◆ ~Core()

Core::~Core ( )
virtual

Destroys the core object.

Definition at line 65 of file core.cpp.

◆ Core()

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

◆ createPart()

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.

◆ dayChanged

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

This signal is emitted whenever a new day starts.

Parameters
dateThe date of the new day

◆ lastErrorMessage()

QString Core::lastErrorMessage ( ) const
protected

Returns the last error message for problems during KParts loading.

Definition at line 127 of file core.cpp.

◆ partLoaded()

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

(for Plugin)

Tells the kontact core that a part has been loaded.

◆ pluginList()

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

Returns the pointer list of available plugins.

◆ selectPlugin() [1/2]

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.

◆ selectPlugin() [2/2]

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.

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-2022 The KDE developers.
Generated on Thu Jul 21 2022 00:00:00 by doxygen 1.9.5 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-4.14.10 API Reference

Skip menu "kdepimlibs-4.14.10 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
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