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

void QDBusProxy::setInterface ( const QString &  interface  ) 

Sets the name of the peer interface.

A non-empty interface name is required if the proxy is to be used for method calls. See section Interface 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 interface name matches.

Parameters:
interface the peer's interface to work with
See also:
interface()

setService()

setPath()

Definition at line 120 of file qdbusproxy.cpp.

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


Generated by  Doxygen 1.6.0   Back to index