269 const char* name = 0);
287 TQObject* parent = 0,
const char* name = 0);
376 TQString
path()
const;
Provides access to a specific D-Bus bus.
Class for accurately representing D-Bus data types.
Class for transporting D-Bus errors.
A message converts and transports data over D-Bus.
void setService(const TQString &service)
Sets the peer's service name.
virtual void handleDBusSignal(const TQT_DBusMessage &message)
Handles D-Bus signals received on the proxy's connection.
void dbusSignal(const TQT_DBusMessage &message)
Signal emitted for D-Bus signals from the peer.
TQT_DBusProxy & operator=(const TQT_DBusProxy &)
bool canSend() const
Returns whether the proxy can be used to send method calls.
TQT_DBusMessage sendWithReply(const TQString &method, const TQValueList< TQT_DBusData > ¶ms, TQT_DBusError *error=0) const
Sends a method call to the peer object and waits for the reply.
TQString interface() const
Returns the name of the peer interface.
TQT_DBusProxy(const TQT_DBusProxy &)
void setInterface(const TQString &interface)
Sets the name of the peer interface.
void setPath(const TQString &path)
Sets the peer's object path.
TQString service() const
Returns the peer's service name.
bool setConnection(const TQT_DBusConnection &connection)
Sets the D-Bus connection to work on.
int sendWithAsyncReply(const TQString &method, const TQValueList< TQT_DBusData > ¶ms)
Sends a method call to the peer object but does not wait for an answer.
bool send(const TQString &method, const TQValueList< TQT_DBusData > ¶ms) const
Sends a method call to the peer object.
virtual void handleAsyncReply(const TQT_DBusMessage &message)
Handles replies to asynchronous method calls.
TQString path() const
Returns the peer's object path.
TQT_DBusProxy(TQObject *parent=0, const char *name=0)
Creates a proxy without binding it to a service or connection.
const TQT_DBusConnection & connection() const
Returns the currently used D-Bus connection.
void asyncReply(int callID, const TQT_DBusMessage &message)
Signal emitted for received replies to asynchronous method calls.
TQT_DBusError lastError() const
Returns the last error seen by the proxy.