QwuiResourceProviderFactory< T > Class Template Reference

A helper class used to instanciate factories for resource providers. Example: More...

#include <qwuiresourceproviderfactory.h>

Inheritance diagram for QwuiResourceProviderFactory< T >:
QwuiAbstractResourceProviderFactory

List of all members.

Public Member Functions

 QwuiResourceProviderFactory ()
virtual ~QwuiResourceProviderFactory ()
virtual
QwuiAbstractResourceProvider
create (const QString &sessionId) const

Detailed Description

template<typename T>
class QwuiResourceProviderFactory< T >

A helper class used to instanciate factories for resource providers. Example:

 QwuiResourceProviderFactory<MyspecificProvider> factory;
 QwuiAbstractResourceProvider* provider = factory.create("sessionId");

Constructor & Destructor Documentation

template<typename T >
QwuiResourceProviderFactory< T >::QwuiResourceProviderFactory (  )  [inline]
template<typename T >
QwuiResourceProviderFactory< T >::~QwuiResourceProviderFactory (  )  [inline, virtual]

Member Function Documentation

template<typename T >
QwuiAbstractResourceProvider * QwuiResourceProviderFactory< T >::create ( const QString &  sessionId  )  const [inline, virtual]
Parameters:
sessionId the session identifier for the resource provider.
Returns:
a new resource provider.

Implements QwuiAbstractResourceProviderFactory.


The documentation for this class was generated from the following file:
Generated on Fri Jun 4 01:18:58 2010 for QtWui : Web User Interfaces for Qt by  doxygen 1.6.3