Qt Mobility Reference Documentation

QRemoteServiceControl Class Reference

The QRemoteServiceControl class manages instances of remote service objects. More...

 #include <QRemoteServiceControl>

Properties


Public Functions

QRemoteServiceControl ( QObject * parent = 0 )
~QRemoteServiceControl ()
void publishServices ( const QString & ident )
bool quitOnLastInstanceClosed () const
void setQuitOnLastInstanceClosed ( const bool quit )

Signals

void lastInstanceClosed ()

Detailed Description

The QRemoteServiceControl class manages instances of remote service objects.

This class instanciates IPC based service objects which have been registered via QRemoteServiceClassRegister. It owns each created service object instance and ensures that the platform specific IPC mechanism publishes the required service object to other processes in the system.

See also QRemoteServiceClassRegister.


Property Documentation

quitOnLastInstanceClosed : bool

Access functions:

bool quitOnLastInstanceClosed () const
void setQuitOnLastInstanceClosed ( const bool quit )

Member Function Documentation

QRemoteServiceControl::QRemoteServiceControl ( QObject * parent = 0 )

Creates a service control instance with the given parent.

QRemoteServiceControl::~QRemoteServiceControl ()

Destroys the service control instance

void QRemoteServiceControl::lastInstanceClosed () [signal]

void QRemoteServiceControl::publishServices ( const QString & ident )

Publishes every service that has been registered using QRemoteServiceClassRegister::registerType(). ident is the service specific IPC address under which the service can be reached. This address must match the address provided in the services xml descriptor (see <filepath> tag).

X

Thank you for giving your feedback.

Make sure it is related to this specific page. For more general bugs and requests, please use the Qt Bug Tracker.