Inherited by MAppletInstallationSourceInterface.
|virtual bool||initialize (const QString &interface)=0|
|virtual QGraphicsWidget *||widget ()|
MApplicationExtensionInterface is the base class for application extension entrypoint classes.
Application developers who want to provide application extension support need to derive their application specific extension interface from this interface if they need some application specific functionality to be implemented by the extensions.
Application extension developers need to implement the interface derived from this interface in their application extension binary and export their implementation from the binary. The host application will maintain an inventory of available extensions and instantiate them using this interface when needed.
|virtual bool MApplicationExtensionInterface::initialize||(||const QString &||interface||)||
This method is called to initialize the application extension.
|interface||the name of the interface being initialized. The extension can but does not need to use this information for anything.|
trueif the initialization succeeded,
|virtual QGraphicsWidget* MApplicationExtensionInterface::widget||(||)||
Returns a widget representing the application extension (if any).
The extension will retain ownership of the widget.