Home | All Classes | Main Classes | Annotated | Grouped Classes | Functions | ![]() |
The QComponentRegistrationInterface class defines an interface to register and unregister components. More...
#include <qcom.h>
Inherits QUnknownInterface.
This interface defines two functions, registerComponents() and unregisterComponents(), that are used by the QComponentFactory class to register and unregister all components provided by a component server.
See also QComponentFactory, QComponentFactoryInterface and Component Model.
Registers the components in this server in the system component registry and returns TRUE if successful, otherwise returns FALSE. The filepath is the absolute path to the shared library file.
Implementations of this function should use the static functions in QComponentFactory to access the component registry.
Example:
return QComponentFactory::registerComponent( QUuid(DD19964B-A2C8-42AE-AAF9-8ADC509BCA03), filepath, "Test Component" );
Removes the components in this server from the system component registry and returns TRUE if successful, otherwise returns FALSE.
Implementations of this function should use the static functions in QComponentFactory to access the component registry.
return QComponentFactory::unregisterComponent( QUuid(DD19964B-A2C8-42AE-AAF9-8ADC509BCA03) );
This file is part of the Qt toolkit, copyright © 1995-2001 Trolltech, all rights reserved.
Copyright © 2001 Trolltech | Trademarks | Qt version 3.0.0-beta5
|