Qt 4.8
|
#include <qlibrary_p.h>
Public Functions | |
bool | isPlugin (QSettings *settings=0) |
bool | load () |
bool | loadPlugin () |
void | release () |
void * | resolve (const char *) |
bool | unload () |
Static Public Functions | |
static QLibraryPrivate * | findOrCreate (const QString &fileName, const QString &version=QString()) |
Public Variables | |
QString | errorString |
QString | fileName |
QString | fullVersion |
QWeakPointer< QObject > | inst |
QtPluginInstanceFunction | instance |
QString | lastModified |
QLibrary::LoadHints | loadHints |
HINSTANCE | pHnd |
uint | qt_version |
QString | qualifiedFileName |
Private Types | |
enum | { IsAPlugin, IsNotAPlugin, MightBeAPlugin } |
Private Functions | |
bool | load_sys () |
QLibraryPrivate (const QString &canonicalFileName, const QString &version) | |
void * | resolve_sys (const char *) |
bool | unload_sys () |
~QLibraryPrivate () | |
Properties | |
QAtomicInt | libraryRefCount |
QAtomicInt | libraryUnloadCount |
enum QLibraryPrivate:: { ... } | pluginState |
Friends | |
class | QLibraryPrivateHasFriends |
Definition at line 72 of file qlibrary_p.h.
|
private |
Enumerator | |
---|---|
IsAPlugin | |
IsNotAPlugin | |
MightBeAPlugin |
Definition at line 116 of file qlibrary_p.h.
|
explicitprivate |
Definition at line 433 of file qlibrary.cpp.
Referenced by findOrCreate().
|
private |
Definition at line 449 of file qlibrary.cpp.
|
static |
Definition at line 438 of file qlibrary.cpp.
Referenced by QPluginLoader::setFileName(), QLibrary::setFileName(), QLibrary::setFileNameAndVersion(), QLibrary::setLoadHints(), and QFactoryLoader::updateDir().
bool QLibraryPrivate::isPlugin | ( | QSettings * | settings = 0 | ) |
Definition at line 669 of file qlibrary.cpp.
Referenced by QPluginLoader::load(), and QFactoryLoader::updateDir().
bool QLibraryPrivate::load | ( | ) |
Definition at line 467 of file qlibrary.cpp.
Referenced by loadPlugin().
|
private |
Definition at line 83 of file qlibrary_unix.cpp.
Referenced by isPlugin(), and load().
bool QLibraryPrivate::loadPlugin | ( | ) |
Definition at line 517 of file qlibrary.cpp.
Referenced by QFactoryLoader::instance(), QPluginLoader::load(), and QFactoryLoader::updateDir().
void QLibraryPrivate::release | ( | ) |
Definition at line 510 of file qlibrary.cpp.
Referenced by QPluginLoader::setFileName(), QLibrary::setFileName(), QLibrary::setFileNameAndVersion(), QFactoryLoader::updateDir(), QLibrary::~QLibrary(), and QPluginLoader::~QPluginLoader().
void * QLibraryPrivate::resolve | ( | const char * | symbol | ) |
Definition at line 459 of file qlibrary.cpp.
Referenced by isPlugin(), loadPlugin(), and QLibrary::resolve().
|
private |
Definition at line 293 of file qlibrary_unix.cpp.
Referenced by resolve().
bool QLibraryPrivate::unload | ( | ) |
Definition at line 488 of file qlibrary.cpp.
Referenced by QPluginLoader::unload(), and QFactoryLoader::updateDir().
|
private |
Definition at line 270 of file qlibrary_unix.cpp.
Referenced by isPlugin(), and unload().
|
friend |
Definition at line 117 of file qlibrary_p.h.
QString QLibraryPrivate::errorString |
Definition at line 99 of file qlibrary_p.h.
Referenced by QPluginLoader::errorString(), QLibrary::errorString(), isPlugin(), load_sys(), loadPlugin(), resolve_sys(), QPluginLoader::setFileName(), QLibrary::setLoadHints(), QPluginLoader::unload(), unload_sys(), and QFactoryLoader::updateDir().
QString QLibraryPrivate::fileName |
Definition at line 83 of file qlibrary_p.h.
Referenced by isPlugin(), QPluginLoader::load(), load(), load_sys(), loadPlugin(), resolve_sys(), QPluginLoader::setFileName(), QLibrary::setFileName(), unload(), unload_sys(), and ~QLibraryPrivate().
QString QLibraryPrivate::fullVersion |
Definition at line 84 of file qlibrary_p.h.
Referenced by load_sys().
QWeakPointer<QObject> QLibraryPrivate::inst |
Definition at line 94 of file qlibrary_p.h.
Referenced by QPluginLoader::instance(), and unload().
QtPluginInstanceFunction QLibraryPrivate::instance |
Definition at line 95 of file qlibrary_p.h.
Referenced by QPluginLoader::instance(), QFactoryLoader::instance(), QPluginLoader::isLoaded(), QPluginLoader::load(), loadPlugin(), and QFactoryLoader::updateDir().
QString QLibraryPrivate::lastModified |
Definition at line 97 of file qlibrary_p.h.
Referenced by isPlugin(), and QFactoryLoader::updateDir().
|
private |
Definition at line 113 of file qlibrary_p.h.
|
private |
Definition at line 114 of file qlibrary_p.h.
Referenced by load(), loadPlugin(), and unload().
QLibrary::LoadHints QLibraryPrivate::loadHints |
Definition at line 100 of file qlibrary_p.h.
Referenced by load_sys(), QPluginLoader::setFileName(), QLibrary::setFileName(), QLibrary::setFileNameAndVersion(), and QLibrary::setLoadHints().
HINSTANCE QLibraryPrivate::pHnd |
Definition at line 81 of file qlibrary_p.h.
Referenced by QPluginLoader::isLoaded(), isPlugin(), QPluginLoader::load(), load(), load_sys(), resolve(), unload(), and unload_sys().
enum { ... } QLibraryPrivate::pluginState |
Referenced by isPlugin(), load_sys(), and loadPlugin().
uint QLibraryPrivate::qt_version |
Definition at line 96 of file qlibrary_p.h.
Referenced by isPlugin(), and QFactoryLoader::updateDir().
QString QLibraryPrivate::qualifiedFileName |
Definition at line 83 of file qlibrary_p.h.
Referenced by load_sys(), and QLibrary::setFileName().