A helper class used to instanciate factories for resource providers. Example: More...
#include <qwuiresourceproviderfactory.h>
Public Member Functions | |
QwuiResourceProviderFactory () | |
virtual | ~QwuiResourceProviderFactory () |
virtual QwuiAbstractResourceProvider * | create (const QString &sessionId) const |
A helper class used to instanciate factories for resource providers. Example:
QwuiResourceProviderFactory<MyspecificProvider> factory; QwuiAbstractResourceProvider* provider = factory.create("sessionId");
QwuiResourceProviderFactory< T >::QwuiResourceProviderFactory | ( | ) | [inline] |
QwuiResourceProviderFactory< T >::~QwuiResourceProviderFactory | ( | ) | [inline, virtual] |
QwuiAbstractResourceProvider * QwuiResourceProviderFactory< T >::create | ( | const QString & | sessionId | ) | const [inline, virtual] |
sessionId | the session identifier for the resource provider. |
Implements QwuiAbstractResourceProviderFactory.