#include <klibloader.h>
Public Methods | |
| QString | name () const |
| QString | fileName () const |
| KLibFactory * | factory () |
| void * | symbol (const char *name) const |
| bool | hasSymbol (const char *name) const |
| void | unload () const |
KLibrary allows you to look up symbols of the shared library.
Definition at line 48 of file klibloader.h.
|
|
Returns the factory of the library.
|
|
|
Returns the file name of the library.
|
|
|
Looks up a symbol from the library. This is a very low level function that you usually don't want to use. Unlike symbol(), this method doesn't warn if the symbol doesn't exist, so if the symbol might or might not exist, better use hasSymbol() before symbol().
|
|
|
Returns the name of the library.
|
|
|
Looks up a symbol from the library. This is a very low level function that you usually don't want to use. Usually you should check using hasSymbol() whether the symbol actually exists, otherwise a warning will be printed.
|
|
|
Unloads the library. This typically results in the deletion of this object. You should not reference its pointer after calling this function. |
1.2.18