Search for usage in LXR

#include <corebackendmanager.h>

Public Member Functions

CoreBackendbackend ()
QVector< KPluginMetaDatalist () const
bool load (const QString &name)
void unload ()

Static Public Member Functions

static QString defaultBackendName ()
static CoreBackendManagerself ()

Detailed Description

The backend manager class.

This is basically a singleton class to give the application access to the currently selected backend and also to manage the available backend plugins.

Volker Lanz [email protected][email protected]dra.[email protected]de

Definition at line 32 of file corebackendmanager.h.

Member Function Documentation

CoreBackend * CoreBackendManager::backend ( )
a pointer to the currently loaded backend

Definition at line 46 of file corebackendmanager.cpp.

static QString CoreBackendManager::defaultBackendName ( )
the name of the default backend plugin

Definition at line 46 of file corebackendmanager.h.

QVector< KPluginMetaData > CoreBackendManager::list ( ) const
a list of available backend plugins

Definition at line 51 of file corebackendmanager.cpp.

bool CoreBackendManager::load ( const QString name)

Loads the given backend plugin into the application.

namethe name of the plugin to load
true on success

Definition at line 56 of file corebackendmanager.cpp.

CoreBackendManager * CoreBackendManager::self ( )
pointer to ourselves

Definition at line 36 of file corebackendmanager.cpp.

void CoreBackendManager::unload ( )

Unload the current plugin.

Definition at line 82 of file corebackendmanager.cpp.

The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2022 The KDE developers.
Generated on Tue Jan 18 2022 23:10:58 by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.