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

messageviewer

Public Member Functions | Protected Member Functions | List of all members
PluginLoaderBase Class Referenceabstract

#include <pluginloaderbase.h>

Inheritance diagram for PluginLoaderBase:
Inheritance graph
[legend]

Public Member Functions

const PluginMetaData * infoForName (const QString &type) const
 
virtual void scan ()=0
 
QStringList types () const
 

Protected Member Functions

 PluginLoaderBase ()
 
virtual ~PluginLoaderBase ()
 
void doScan (const char *path)
 
KLibrary::void_function_ptr mainFunc (const QString &type, const char *main_func) const
 

Detailed Description

Definition at line 45 of file pluginloaderbase.h.

Constructor & Destructor Documentation

PluginLoaderBase::PluginLoaderBase ( )
protected

Definition at line 36 of file pluginloaderbase.cpp.

PluginLoaderBase::~PluginLoaderBase ( )
protectedvirtual

Definition at line 37 of file pluginloaderbase.cpp.

Member Function Documentation

void PluginLoaderBase::doScan ( const char *  path)
protected

Rescans the plugin directory to find any newly installed plugins.

Extend this method in subclasses to add any builtins. Subclasses must call this explicitly. It's not called for them in the constructor.

Definition at line 52 of file pluginloaderbase.cpp.

const PluginMetaData * PluginLoaderBase::infoForName ( const QString &  type) const

Returns the PluginMetaData structure for a given type.

Definition at line 47 of file pluginloaderbase.cpp.

KLibrary::void_function_ptr PluginLoaderBase::mainFunc ( const QString &  type,
const char *  main_func 
) const
protected

Returns a pointer to symbol main_func in the library that implements the plugin of type type.

Definition at line 97 of file pluginloaderbase.cpp.

virtual void PluginLoaderBase::scan ( )
pure virtual

Overload this method in subclasses to call doScan with the right path argument.

Implemented in PluginLoader< T, T_config >.

QStringList PluginLoaderBase::types ( ) const

Returns a list of all available plugin objects (of kind T)

Definition at line 39 of file pluginloaderbase.cpp.


The documentation for this class was generated from the following files:
  • pluginloaderbase.h
  • pluginloaderbase.cpp
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:55:58 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

messageviewer

Skip menu "messageviewer"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members
  • Related Pages

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

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