Logo Search packages:      
Sourcecode: kdbus version File versions  Download package

void QDBusProxy::setService ( const QString &  service  ) 

Sets the peer's service name.

A non-empty service name is required if the proxy is to be used for method calls. See section Service names for details.

If a string other than QString::null is set, it will be used to filter signals, i.e. a signal received by the proxy will only be emitted if the service name matches.

Parameters:
service the peer's name on the bus
See also:
service()

setPath()

setInterface()

Definition at line 98 of file qdbusproxy.cpp.

{
    d->service = service;
    d->checkCanSend();
}


Generated by  Doxygen 1.6.0   Back to index