Search for usage in LXR

KontactInterface::Core Class Referenceabstract

#include <core.h>

Inheritance diagram for KontactInterface::Core:


void dayChanged (const QDate &date)

Public Member Functions

 ~Core () override
KParts::PartcreatePart (const char *library)
virtual void partLoaded (Plugin *plugin, KParts::Part *part)=0
virtual QList< KontactInterface::Plugin * > pluginList () const =0
virtual void selectPlugin (const QString &plugin)=0
virtual void selectPlugin (KontactInterface::Plugin *plugin)=0
- Public Member Functions inherited from KParts::MainWindow
 MainWindow (QWidget *parent=nullptr, Qt::WindowFlags f=Qt::WindowFlags())
- Public Member Functions inherited from KParts::PartBase
void setPartObject (QObject *object)

Protected Member Functions

 Core (QWidget *parent=nullptr, Qt::WindowFlags flags={})
QString lastErrorMessage () const

Additional Inherited Members

- Protected Slots inherited from KParts::MainWindow
void createGUI (KParts::Part *part)
void saveNewToolbarConfig () override
void setWindowTitleHandling (bool enabled)
virtual void slotSetStatusBarText (const QString &)

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 26 of file core.h.

Constructor & Destructor Documentation

◆ ~Core()

Core::~Core ( )

Destroys the core object.

◆ Core()

Core::Core ( QWidget * parent = nullptr,
Qt::WindowFlags flags = {} )

Creates a new core object.

parentThe parent widget.
flagsThe window flags.

Definition at line 45 of file core.cpp.

Member Function Documentation

◆ createPart()

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

(for Plugin)

librarythe library to create part from Creates a part from the given library.

Definition at line 58 of file core.cpp.

◆ dayChanged

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

This signal is emitted whenever a new day starts.

dateThe date of the new day

◆ lastErrorMessage()

QString Core::lastErrorMessage ( ) const

Returns the last error message for problems during KParts loading.

Definition at line 107 of file core.cpp.

◆ partLoaded()

virtual void KontactInterface::Core::partLoaded ( Plugin * plugin,
KParts::Part * 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 *)
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 &)
pluginis a pointer to the Kontact Plugin to select.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Fri May 24 2024 11:50:39 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.