QServiceContext Class Reference
The QServiceContext class provides context information to services. More...
#include <QServiceContext>
Public Types
enum | ContextType { DisplayContext, ScriptContext, UserDefined } |
Properties
- clientId : QString
- clientName : QString
Public Functions
QServiceContext ( QObject * parent = 0 ) | |
virtual | ~QServiceContext () |
QString | clientId () const |
QString | clientName () const |
virtual void | notify ( ContextType type, const QVariant & data ) = 0 |
void | setClientId ( const QString & id ) |
void | setClientName ( const QString & name ) |
Detailed Description
The QServiceContext class provides context information to services.
A service context is created by clients and passed on to the service. It enables the opportunity to pass additional context information and errors between services, clients and the service framework.
Clients must implement this abstract class to receive context information.