KDECore
klibrary.cpp
Go to the documentation of this file.
129 kDebug(kLibraryDebugArea()) << "The library" << lib->fileName() << "does not offer a KDE compatible factory.";
145 kDebug(kLibraryDebugArea()) << "The library" << lib->fileName() << "does not offer a qt_plugin_instance function.";
155 kDebug(kLibraryDebugArea()) << "Expected a KPluginFactory, got a" << instance->metaObject()->className();
156 kDebug(kLibraryDebugArea()) << "The library" << lib->fileName() << "does not offer a KDE 4 compatible factory.";
static int registerArea(const QByteArray &areaName, bool enabled=true)
Definition: kdebug.cpp:856
Thin wrapper around QLibrary; you should rarely use this directly, see KPluginLoader for higher-level...
Definition: klibrary.h:39
void * resolveSymbol(const char *name)
Looks up a symbol from the library.
Definition: klibrary.cpp:176
void setFileName(const QString &name, const KComponentData &data=KGlobal::mainComponent())
Definition: klibrary.cpp:195
void_function_ptr resolveFunction(const char *name)
Looks up a symbol from the library.
Definition: klibrary.cpp:181
KPluginFactory * factory(const char *factoryname=0)
Returns the factory of the library.
Definition: klibrary.cpp:163
If you develop a library that is to be loaded dynamically at runtime, then you should return a pointe...
Definition: kpluginfactory.h:233
Definition: ksycocafactory.h:28
#define K_GLOBAL_STATIC(TYPE, NAME)
This macro makes it easy to use non-POD types as global statics.
Definition: kglobal.h:221
QString findLibrary(const QString &name, const KComponentData &cData)
Definition: klibrary.cpp:39
static KPluginFactory * kde3Factory(KLibrary *lib, const QByteArray &factoryname)
Definition: klibrary.cpp:96
QString findLibrary(const QString &name, const KComponentData &cData)
Definition: klibrary.cpp:39
QString findLibraryInternal(const QString &name, const KComponentData &cData)
Definition: kpluginloader.cpp:83
This file is part of the KDE documentation.
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2023 The KDE developers.
Generated on Mon Feb 20 2023 00:00:00 by doxygen 1.9.6 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.