Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

QComLibrary Class Reference

#include </home/clem/local/src/opie/qmake/include/private/qcomlibrary_p.h>

Inheritance diagram for QComLibrary:

Inheritance graph
[legend]
Collaboration diagram for QComLibrary:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 QComLibrary (const QString &filename)
 ~QComLibrary ()
bool unload ()
QRESULT queryInterface (const QUuid &iid, QUnknownInterface **iface)
uint qtVersion ()

Private Member Functions

void createInstanceInternal ()

Private Attributes

QUnknownInterfaceentry
QLibraryInterfacelibiface
uint qt_version

Constructor & Destructor Documentation

QComLibrary::QComLibrary const QString filename  ) 
 

Definition at line 57 of file qcomlibrary.cpp.

QComLibrary::~QComLibrary  ) 
 

Definition at line 62 of file qcomlibrary.cpp.

References entry, libiface, QUnknownInterface::release(), and unload().


Member Function Documentation

void QComLibrary::createInstanceInternal  )  [private]
 

Reimplemented from QLibrary.

Definition at line 381 of file qcomlibrary.cpp.

References QValueList< T >::count(), QFile::encodeName(), entry, FALSE, IID_QLibrary, QLibrary::isLoaded(), QFileInfo::lastModified(), libiface, QLibrary::library(), QLibrary::load(), QString::number(), Q_ASSERT, QS_OK, qt_parse_pattern(), qt_verify(), qt_version, QT_VERSION, QUnknownInterface::queryInterface(), qWarning(), QUnknownInterface::release(), QLibrary::resolve(), QSingleCleanupHandler< Type >::set(), TRUE, unload(), and QSettings::Windows.

Referenced by qtVersion(), and queryInterface().

uint QComLibrary::qtVersion  ) 
 

Definition at line 527 of file qcomlibrary.cpp.

References createInstanceInternal(), entry, and qt_version.

Referenced by QGPluginManager::addLibrary(), QGPluginManager::featureList(), and QGPluginManager::library().

QRESULT QComLibrary::queryInterface const QUuid request,
QUnknownInterface **  iface
 

Forwards the query to the component and returns the result. request and iface are propagated to the component's queryInterface implementation.

The library gets loaded if necessary.

Reimplemented from QLibrary.

Definition at line 520 of file qcomlibrary.cpp.

References createInstanceInternal(), entry, QE_NOCOMPONENT, and QUnknownInterface::queryInterface().

Referenced by QGPluginManager::addLibrary(), QComponentFactory::createInstance(), QGPluginManager::queryUnknownInterface(), QComponentFactory::registerServer(), and QComponentFactory::unregisterServer().

bool QComLibrary::unload  ) 
 

Definition at line 72 of file qcomlibrary.cpp.

References QLibraryInterface::canUnload(), QLibraryInterface::cleanup(), FALSE, libiface, QUnknownInterface::release(), and QLibrary::unload().

Referenced by createInstanceInternal(), and ~QComLibrary().


Member Data Documentation

QUnknownInterface* QComLibrary::entry [private]
 

Reimplemented from QLibrary.

Definition at line 71 of file qcomlibrary_p.h.

Referenced by createInstanceInternal(), qtVersion(), queryInterface(), and ~QComLibrary().

QLibraryInterface* QComLibrary::libiface [private]
 

Definition at line 72 of file qcomlibrary_p.h.

Referenced by createInstanceInternal(), unload(), and ~QComLibrary().

uint QComLibrary::qt_version [private]
 

Definition at line 73 of file qcomlibrary_p.h.

Referenced by createInstanceInternal(), and qtVersion().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 17:46:18 2005 for OPIE by  doxygen 1.4.2