KDECore
klibloader.cpp
Go to the documentation of this file.
148 return i18n( "The service provides no library, the Library key is missing in the .desktop file." );
KPluginFactory * factory(const QString &libname, QLibrary::LoadHints loadHint=0)
Loads and initializes a library.
Definition: klibloader.cpp:127
KPluginFactory * factory(const char *factoryname=0)
Returns the factory of the library.
Definition: klibrary.cpp:163
KLibrary * library(const QString &libname, QLibrary::LoadHints loadHint=0)
Loads and initializes a library.
Definition: klibloader.cpp:89
Definition: kpluginfactory.h:232
void unloadLibrary(const QString &libname)
Unloads the library with the given name.
Definition: klibloader.cpp:123
static QString findLibrary(const QString &libname, const KComponentData &cData=KGlobal::mainComponent())
Helper method which looks for a library in the standard paths ("module" and "lib" resources).
Definition: klibloader.cpp:84
QString findLibrary(const QString &name, const KComponentData &cData)
Definition: klibrary.cpp:39
QString i18n(const char *text)
Returns a localized version of a string.
Definition: klocalizedstring.h:630
static QString errorString(int componentLoadingError)
Converts a numerical error code into a human-readable error message.
Definition: klibloader.cpp:142
QString lastErrorMessage() const
Returns an error message that can be useful to debug the problem.
Definition: klibloader.cpp:118
#define K_GLOBAL_STATIC(TYPE, NAME)
This macro makes it easy to use non-POD types as global statics.
Definition: kglobal.h:221
Definition: klibloader.h:55
Definition: klibrary.h:38
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Jan 30 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Thu Jan 30 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.