# class KLibrary | Represents a dynamically loaded library. More...
Definition | `#include <klibloader.h>`
Inherits | QObject (qt) [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- KLibrary ( const QString& libname, const QString& filename, void * handle )
- ~KLibrary ()
- QString name () const
- QString fileName () const
- KLibFactory* factory ()
- void* symbol ( const char* name )

## Detailed Description

KLibrary allows you to look up symbols of the shared library.

KLibrary ( const QString& libname, const QString& filename, void * handle ) | ### KLibrary

Don't create KLibrary objects on your own. Instead use KLibLoader.

~KLibrary () | ### ~KLibrary

Don't destruct KLibrary objects yourself. Instead use KLibLoader::unloadLibrary.

QString name () | ### name

[const]

Returns: The name of the library like "libkspread".

Reimplemented from QObject.

QString fileName () | ### fileName

[const]

Returns: The filename of the library, for example "/opt/kde2&/lib/libkspread.la"

KLibFactory* factory () | ### factory

Returns: The factory of the library if there is any.

void* symbol ( const char* name ) | ### symbol

Looks up a symbol from the library. This is a very low level function that you usually dont want to use.

- Author: Torben Weis <weis@kde.org>
- Generated: root@sparc.ports.openbsd.org on Wed May 2 09:34:58 2001, using kdoc 2.0a53.